‎2008 Feb 28 5:57 AM
Hi,
My requirement is to change the budget value for a particular investment program and WBS element. I am facing problem with BDC. Is there any other way? Please help me to solve this problem.
Thanks&Regards,
Ganga Bhavani.
‎2008 Feb 28 6:02 AM
‎2008 Feb 28 6:11 AM
Hi,
I have checked that FM .Its used to change the program id definition.But my requirement is to change the budget value based on program id and WBS Element.
Please help.
Regards
Ganga Bhavani
‎2014 Aug 18 12:34 AM
I have same problema, who knows what is the BAPI FOR BUDGET DISTRIBUTION?, from IM position to WBS element (IM52)
Thanks for your help!!!
‎2014 Nov 14 11:51 AM
Hi all.
One way can be...
1.- Get the data in the same sequence that into the IM42/IM52 screen:
Make a copy of the FM "AIP1_GET_INVPROG" to get all rows that you can see in IM42/IM52 screen.
1.1.- Adapt your new FM.
The necessary data is stored into the internal table "pos".
Make a new deep structure/table type (of the same type of the internal table "pos") to declare an output (export) table in your FM interface.
For get the right values to execute your FM, first analyse the value parameters passed to the standar FM and the output.
1.1.1 Put a break-point at the begining and one more at end of the FM "AIP1_GET_INVPROG", Run the transaction IM42 or IM52. Check the values passed to the FM. (the input parameter I_AKTYP should be 'A' (display))
2.- Now, we can determine the exact row to use in our BDC data to use with CALL TRANSACTION. Make you own logic to fill your BDC data internal table.
Recomendation: Use OPTIONS FROM ctu_params in your CALL TRANSACTION WITH defsize = 'X'
Good luck!
Best regards!