09-17-2008 9:58 AM
Hello,
I have a requirment where i have to pass the screen values for the genral view of the tcode XD01/XD02,
For example : In my report program i get the Name, City, Country, PIN etc.. now my requirement is that the First Screen(Genral view) of the XD01 is pre filled with all the values that are passed from the Program and the user can continue after that.
Please suggest a way to achieve the mentioned functionality .
Regards,
Abhinav
09-17-2008 10:15 AM
Hello Abhinav,
My understanding is that u have a report and when u choose one of the lines of the report, it should take you to XD01 or XD02 transacation. If this is the requirement, use the statements 'set parameter' and 'call transaction'.
Regards
Farzan
09-17-2008 10:33 AM
Other option is create a BDC report to fill the values automatically. Call the transaction and fill the values
09-17-2008 12:42 PM
Thanks
But the screen fields that i have to fill don't have parameter id's ..and i dont want to open the object by access key.
also my requirement is to leave to the transaction with the filled screen field .from the report prog...so when i use BDC i get the OK code , that i want to avoid.
09-17-2008 12:48 PM
custumer name
set parameter-id 'KUN' field kunnr .
for acount group.
set parameter-id 'KGD' field KTOKD
now use
call transaction 'XD01'.
Regards.
Alpesh