‎2012 Feb 09 2:24 PM
Hi experts,
Is there any BAPI/FM to create commitment item????
I can use BDC but problem is that it can't be roll back. In my requirement i want to roll back based on condition.
i am creating GL and commitment item, if GL creation is failed commitment item should be roll back.
Is there way to solve this issue ? please help me.
Thanks in advance.
Regards.
‎2012 Feb 10 5:54 AM
Hi ,
There is no fm for commitment item, In BDC what you can do is create two recording with 'SAVE' button clicked & not clicked. For test run use the recording where save button is not clicked and for actual run the other.
You can also have a look into the program RFFMMDBI85 where the function FM_COM_ITEM_NO_SCREEN_CREATE is used. In that particular fm you have a parameter callsed i_flg_test
Edited by: Keshav.T on Feb 10, 2012 11:56 AM
‎2012 Feb 10 5:54 AM
Hi ,
There is no fm for commitment item, In BDC what you can do is create two recording with 'SAVE' button clicked & not clicked. For test run use the recording where save button is not clicked and for actual run the other.
You can also have a look into the program RFFMMDBI85 where the function FM_COM_ITEM_NO_SCREEN_CREATE is used. In that particular fm you have a parameter callsed i_flg_test
Edited by: Keshav.T on Feb 10, 2012 11:56 AM
‎2012 Feb 10 12:40 PM
Hi Keshav,
Thanks for your reply and valuable inputs.
As you given FM for create commitment item is there any FM for change also??
Best Regards.