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

MR1M initial popup window?

guillermo_espaa2
Explorer
0 Likes
635

Hi everyone, I hope you all fine! Well, I really need your help because I have a requirement with the transaction MR1M. What I'm doing is a BDC to the MR1M transaction, so if it is the first time that I execute the transaction since I logged on to the R/3 system, a pop up window displays asking for the Company Code, I already have the screen flow for that, so far so good. But if I execute the transaction MR1M again, the popup window does not displays, and that is giving me problems, 'cause the screen flow according to the transaction recording for the BDC, it's supposed to be displayed, so the program does not inserts the data correctly. I already debug the MR1M transaction to see how the transaction detects when to display the popup window and when not to display, but I haven't find how it is doing it. So, if you guys can help me with this, I'll really appreciate it. Regards and thanks for your time, Guillermo.

Hi everyone, I hope you all fine! Well, I really need your help because I have a requirement with the transaction MR1M. What I'm doing is a BDC to the MR1M transaction, so if it is the first time that I execute the transaction since I logged on to the R/3 system, a pop up window displays asking for the Company Code, I already have the screen flow for that, so far so good. But if I execute the transaction MR1M again, the popup window does not displays, and that is giving me problems, 'cause the screen flow according to the transaction recording for the BDC, it's supposed to be displayed, so the program does not inserts the data correctly. I already debug the MR1M transaction to see how the transaction detects when to display the popup window and when not to display, but I haven't find how it is doing it. So, if you guys can help me with this, I'll really appreciate it. Regards and thanks for your time, Guillermo.

2 REPLIES 2
Read only

mvoros
Active Contributor
0 Likes
550

Hi,

usually SAP tries to get a value from parameter. If the prameter is blank then it asks user. So you can try to set company code parameter before calling BDC using ABAP command SET PARAMETER. The parameter ID for company code is BUK.

Cheers

Read only

Former Member
0 Likes
550

Hello,

If the SET PARAMETER ID route does not work try the following.

Call the BDC transaction first just as a dummy call passing only the company code. That will ensure the pop-up is take care of.

Next call the actual BDC that has all the data required to complete MR1M.

Regards,

Minhaj.