Application Development 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: 

Purchase Requisition change using 'BAPI_REQUISITION_CHANGE'

Former Member
0 Kudos

Hello Friends,

I would like to change DISPO (MRP controller) and EKGRP of EBAN using BAPI 'BAPI_REQUISITION_CHANGE'.I can change EKGRP but how to change 'DISPO' which is not there in REQUISITION_ITEMS_NEW of structure BAPIEBANV.Is it possible to change 'DISPO' by using parameter EXTENSIONIN of structure BAPIPAREX.

Could you please advice me regarding this .

Thanks in advance.

Arvind.

3 REPLIES 3

Former Member
0 Kudos

Hi,

use the function module it might help you

call function 'BAPI_REQUISITION_CREATE'

exporting

skip_items_with_error = 'X'

importing

number = h_banfn

tables

requisition_items = req_item

requisition_account_assignment = req_acct

requisition_item_text = req_text

return = return

exceptions

others = 0.

PLEASE CHECK OUT THE LINK BELOW IT MIGHT HELP YOU

http://help.sap.com/saphelp_46c/helpdata/en/7c/3ce3ab65ba11d395fe00a0c94260a5/content.htm

OTHER BAPIS RELATED TO THIS ARE BAPI_REQUISITION_GETDETAIL and BAPI_REQUISTION_CHANGE.

<b>Reward points if useful</b>

Regards

Ashu

0 Kudos

Hi Ashu,

I dont want to create a new PR, for the existing one i need to change but by using

'BAPI_REQUISITION_CREATE' a new PR will be created .So could you please tell me any other way to update Dispo field.

Thanks,

Ak.

0 Kudos

As this post is very old but just adding here for new developers. There is a new BAPI 'BAPI_PR_CHANGE' released by SAP which can change the DISPO (MRP controller) and many more fields.