‎2012 May 30 11:22 PM
Hi,
I'm trying to load data into SAP via a BDC recording using t-code SHDB against transaction IW52 on a link/icon that resides in an Action Box. The link was customized in SPRO to create a repair sales order. Behind the link is function module QM06_FM_TASK_RMA_ORDER_CREATE. This function module along with another FM called QM06_RMA_ORDER_CREATE are used to create a repair sales order and update the service notification (quantity, system status, etc) via IW52.
When I run the BDC recording, either in foreground or background, the process terminates prematurely, and no updating occurs. The processing appears to have failed just before the execution of the function module QM06_FM_TASK_RMA_ORDER_CREATE. I know this by setting a break-point inside the FM. The recording does not recognize the clicking of the link or icon; therefore, the function module does not get executed.
I have tried writing a custom program to call the two function modules (above), but that alone will not work since I would have to mimic transaction IW52 which could be very difficult.
Is there a BAPI or FM that can be used for this?
I would appreciate any advice or suggestions on how to fix this problem.
leesap
‎2012 May 30 11:32 PM
Additional info....
The FM (mentioned previously) launches a pop-up window where a user could input data. I'm unable to process the recorded steps relevant to the pop-up screen. The BDC terminates before the pop-up screen comes up.
‎2013 Aug 14 3:19 PM
‎2014 Jan 01 4:41 AM
Hii Pavan,
I am also facing the same problem. Have u solved this prob..? Please Mention the solution so it will be helpful for me as well as others.
Thx & Regards,
Sagar.
‎2014 Jan 01 6:53 AM
Hi Sagar,
BDC did not work on action box.
I had to re-frame the action box logic required at the place where BDC was being written.
Best, Pawan
‎2014 Jan 01 9:17 AM
Hi Pavan,
Actually , I have written 7 bdc for almost 7-8 links in QM02 actionbox BDC .
But as it is not triggering while clicking on Link.
So Kindly Let me know what will be the best suggetion.
Either I have to change my whole code or by config the actionbox i can get solution.
Please share your thought.
Regards,
Sagar
‎2014 Jan 01 10:41 AM
Sagar,
I believe there will be separate Function Modules written for each action item and you would have also added the FM in the configuration?
If you haven't added the function modules in the config it wont trigger the logic on clicking action box link.
Regards, Pawan
‎2014 Jan 01 4:51 AM
Hi,
I guess you can use the BAPI to update the service notification-sales orders!
Please check the couple of links which will help you solve your need! do let me know if you have any special requirements.
BAPIs FOR SERVICE NOTIFICATION - Contributor Corner - SCN Wiki
http://scn.sap.com/thread/1526153
Wish you a happy new year -2014!
I wish you all the best
Rg, Kiran
‎2014 Jan 01 9:21 AM
Hii Kiran,
Actually I am working on Quality Notification . I am using QM01 & QM02 Tcode for this.
Also thx for the greetings & Wish u a very Happy new year.
If You have any solution for the above problem, kindly let us know,
Regards,
Sagar.