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.
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.
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.
Wish you a happy new year -2014!
I wish you all the best