Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

call transaction xd01

Former Member
0 Likes
1,160

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".

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,057

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".

6 REPLIES 6
Read only

Former Member
0 Likes
1,058

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

Read only

0 Likes
1,057

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?

Read only

0 Likes
1,057

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

Read only

0 Likes
1,057

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?

Read only

0 Likes
1,057

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?

Read only

0 Likes
1,057

Hi,

No. With BDCDATA you cannot skip first screen.

Instead call transaction with bdcdata in 'N' mode ie background mode.

Regards,

Ankur Parab