Executinga Structure
Hello,
Actually i am a BASIS person, but i think this time ABAP can make easy my job. I need to check the default printer assigned to the users. the fiield is under a structure. exaclty USDEFAULTS-SPLD. Is there any method to know all the values of this field.
If it was a table i could find out using SE16 and execute. But is there any method for Structure?, Please write back if u know that.
Thanks in Advance.
Bijoy Babu
Hi Bijoy Babu,
i don't know if it helps but table SH_PRIN gives you all the printer customized for a user. That does not give really the name of the default printer that is the MS Windows one.
_________________
Regards,
Tang the ABAPer
Structures don't contain data, so they cannot be used with SE16.
The user default printer is in table USR01.
Ciao, Giulio.
Wondeful Ciao, That works. Can u tell me please how u find out the table name USR01?. Because in the help technical field i am getting only the Structure name.
With regards,
Bijoy Babu
Well, in fact, we just know that USR01 (and all USR*) contain all data from users
_________________
Regards,
Tang the ABAPer
Can u tell me please how u find out the table name USR01?. Because in the help technical field i am getting only the Structure name.
Bijoy Babu
There are several posts that answer this question...
The easyest way is tracing the transaction:
ST05 -> activate trace
then exec your transaction.
ST05 again -> deactivate trace and list trace file... here you'll find all tables accessed by the program.
Other search techniques are available here
.
Someone posted it in the old forum... and I think it's worth reading.
Bye, Giulio
Hey Bye, thought your name was Ciao?
Thanks, Giulio.
The pdf file is really informative.
Once again thanking you.
Bijoy Babu