Application Development 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: 

Going to a particular view in a transaction..

Former Member
0 Kudos

Hello All,

I am using call transaction 'XD03' using t_bdc mode 'N'.

In the internal table I am passing values inorder to go directly to the partner function view in sales area.

Even though sy-subrc eq 0, the program is not returning any output, but the same is working when I am using mode 'A'. I am unable to track the problem.

Please give me suggestions if there is any other option to go directly to a particular view in a transaction.

Thanks in advance..

Regards,

Suman Varma

1 ACCEPTED SOLUTION

Former Member
0 Kudos

XD03 is a <b>display</b> transaction and you are writing a BDC to go to this transaction in <b>no display</b> mode. Isn't that incorrect?

13 REPLIES 13

Former Member
0 Kudos

XD03 is a <b>display</b> transaction and you are writing a BDC to go to this transaction in <b>no display</b> mode. Isn't that incorrect?

0 Kudos

I never thought about it. I will consider that one.

Is there any other way to go to a particular view in a display transaction.

0 Kudos

I never thought about it. I will consider that one.

Is there any other way to go to a particular view in a display transaction.

0 Kudos

Not in 'N'o Display mode.

Customer display is not like material master display where you have a bunch of checkboxes to choose from and decide which view you want to go. Also, XD03 is central customer master transaction. Instead, use VD03 and FD03 to go to sales views and accounting/company code views directly. But even there, you cannot go directly to the partners screen unless that is configured that way. You will have to go through the sceens by navigating.

What is your requirement?

Srinivas

0 Kudos

My requirement is to go to partner view when the user clicks a button on the 'ALV' Grid. I need to transfer the data to 'XD03' and show the user partner view of the customer user has selected.

0 Kudos

One option is to prepare the BDCDATA upto the partners screen and stop. Then do a call transaction using BDCDATA in E(rror) mode. Then it will stop in the partners screen.

Hope this is clear,

Srinivas

0 Kudos

Did you use this option or something else? Sharing that info might help others in similar situation. You closed it but didn't indicate what the solution was or if the solution provided was the one that solved your problem.

Srinivas

0 Kudos

I have tried that one in 'E(rror)' mode also but with no success.

Is there any way other than call transaction to perform the same.

0 Kudos

This should work. What is happening in your case when you say 'with no success'?

0 Kudos

You basically record XD03 from the initial screen till the partner screen(just going through the screens) and then call the transaction with E mode. Is that what you are doing?

0 Kudos

yes, that is what I was doing..

I am recording from SHDB transaction and going to the partner screen and then using the call transaction in 'E' mode.

When I say no success means it is not stopping there but coming back to the program ( skipping the screen).

0 Kudos

Can you post the piece of code where you fill the BDC for the partner screen? I think when you are doing the recording, you must have used the 'BACK' or 'EXIT' button and that must have got registered in your SHDB also. Don't give any OKCODE for the partner screen.

Also, please post your CALL TRANSACTION statement.

Srinivas

0 Kudos

Hello Srinivas,

I was late to respond. The issue is closed. I have recorded the transaction once again and called the transaction in E(rror) mode. Now it is stopping at the place where we intend to..