2009 Jul 13 1:38 PM
hello,
is it possible to affect in which tab I go in the transaction XD01 when I use the syntax call transaction?
For example I want that he open the tab "gerneral data".
2009 Jul 13 2:02 PM
Hi,
Yes it is possible.
You will have to make use of the table BDCDATA.
Pass the details in it just like a BDC till the general tab is reached.
Regards,
Ankur Parab
Edited by: Ankur Parab on Jul 13, 2009 6:32 PM
hello,
is it possible to affect in which tab I go in the transaction XD01 when I use the syntax call transaction?
For example I want that he open the tab "gerneral data".
2009 Jul 13 2:02 PM
Hi,
Yes it is possible.
You will have to make use of the table BDCDATA.
Pass the details in it just like a BDC till the general tab is reached.
Regards,
Ankur Parab
Edited by: Ankur Parab on Jul 13, 2009 6:32 PM
2009 Jul 13 2:09 PM
hello ankur,
I use the following synta:
SET PARAMETER ID 'RKN' FIELD .....
SET PARAMETER ID 'RBU' FIELD .....
so when i call after this the transaction xd01 i get the view of company code, but how shall i have to go to the tab general data as the fields of general data are automatically filled by the set parameter id syntax?
2009 Jul 13 2:22 PM
Hi,
Do a recording of XD01.
Pass the details such as company code, Sales Organization, Distribution Channel, Division etc which you need to pass.
Then press enter to go to the general data.
Save this recording.
Use this recording to fill the table BDCDATA in your program.
CALL TRANSACTION 'XD01' USING bdcdata_tab
Do F1 help on call transaction and read the documentation.
Regards,
Ankur Parab
2009 Jul 13 2:25 PM
hello ankur,
sorry for the inconvenience but I think that I didn't explain it clearly.
I have a program in which I fill the data of xd01 with the syntax set parameter id as a want to create the customer with using the reference fields. so when I use a reference customer I get automatically the company code view.
Can I also use call transaction and skip first screen with bdcdata?
2009 Jul 13 2:43 PM
No you can't. CALL TRANSACTION 'XD01' USING ... allows you to fill automatically fields, so why using set parameter ...? But maybe you have another issue?
2009 Jul 13 3:08 PM
Hi,
No. With BDCDATA you cannot skip first screen.
Instead call transaction with bdcdata in 'N' mode ie background mode.
Regards,
Ankur Parab