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

BAPI for IM42 / IM52

swapnil_rane
Explorer
0 Likes
1,682

Hello Gurus,

I wanted to distribute budget in Internal Orders using BAPI. In system tcode KO22 is locked through config and only used is IM42/IM52.

I used 'BAPI_EXPENDITUREPROGTREE_CHVAL' for distributing amount in all Positions in Budgeting Program. But it does not distribute at Internal Order level, As Internal Order does not have any Position Id assigned in IMPR table.

Could you please suggest appropriate BAPI for Distributing Budget at Internal Order level.

Thanks in advance,

Swapnil

3 REPLIES 3
Read only

Former Member
0 Likes
1,162

Hi Swapnil,

We are facing the same issue. Did you get solution for this issue?

Regards,

Apurva

Read only

0 Likes
1,162

Hi Folks,

Have not worked on any such requirement but did a quick check in SE37 and got thr following 'FM BUDGET_CHANGE'. Please see if its helpful.

Regards,

Ankit.

Read only

Former Member
0 Likes
1,162

Hi Swapnil,

BAPI_INTERNALORDER_GETDETAIL is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below are the pattern details for this FM showing its interface including any import, export parameters etc and for your convenience any standard documentation available. All this information and more can be viewed if you enter the function module name BAPI_INTERNALORDER_GETDETAIL into the relevant SAP transaction such as SE37 or SE80.

CALL FUNCTION 'BAPI_INTERNALORDER_GETDETAIL' "Display master data, status, and allowed business trans.for internal order

  EXPORTING

  orderid = " bapi2075_2-order           Order Number

* language = " bapi0003_3-langu        Language of Status and Business Transaction Texts

  IMPORTING

  master_data = " bapi2075_2           Structure with Master Data From the Order

  return = " bapireturn                       Structure with Return Information

* TABLES

* system_status = " bapi2075_3        System Status Table

* user_status = " bapi2075_4             User Status/Order Status Table

* allowed_bus_tract = " bapi2075_5    Table of Allowed Business Transactions

  . " BAPI_INTERNALORDER_GETDETAIL

and check the below link. in that you can find all list of BAPI'S.

http://sapbrainsonline.com/bapi-tutorial/sap-bapi-complete-list.html

Cheers,

Sravan