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: 

How to update some fields of EBAN in ABAP code

Former Member
0 Kudos
3,185

Hi, all

In my ABAP program, I have to update two fields of EBAN .

But I could not find any function or BAPI about it.

Would anyone out there be able to help.

Many thanks

Aysenur

1 ACCEPTED SOLUTION

Former Member
0 Kudos
1,170

Check if MASS_CHANGE_PURCHASE_REQ will be of any help.

hith

Sunil Achyut

7 REPLIES 7

Former Member
0 Kudos
1,170

Use BAPI_REQUISITION_GETDETAIL to get the requisition details and use BAPI_REQUISITION_CHANGE to update. Look at all BAPI_REQUISITION* function modules for more options.

0 Kudos
1,170

hii srinivas can you send me the code for it if its possible.

Former Member
0 Kudos
1,170

Hello,

Try with these FM.

Function group Function group short text

Name of function module Short text for function module

MEWF BAPIs for Release of Requisition/PO

BAPI_REQUISITION_RELEASE Release Purchase Requisition Item by Item

BAPI_REQUISITION_RELEASE_GEN Release Entire Purchase Requisition

BAPI_REQUISITION_RESET_RELEASE Cancel Release of Purchase Requisition Items

BAPI_REQUISITION_RESET_REL_GEN Cancel Overall Release of Purchase Requisitions

MEWQ BAPIs Requirement Coverage Request

BAPI_REQUISITION_CHANGE Change Purchase Requisition

BAPI_REQUISITION_CREATE Create Purchase Requisition

BAPI_REQUISITION_DELETE Delete/close purchase requisition

BAPI_REQUISITION_GETDETAIL Display Purchase Requisition Details

BAPI_REQUISITION_GETITEMS Read Purchase Requisition Item

BAPI_REQUISITION_GETITEMSREL List Purchase Requisitions Awaiting Release

BAPI_REQUISITION_GETRELINFO Display Detailed Release (Approval) Information on Purchase Requisitio

If useful reward points.

Vasanth

Former Member
0 Kudos
1,171

Check if MASS_CHANGE_PURCHASE_REQ will be of any help.

hith

Sunil Achyut

ferry_lianto
Active Contributor
0 Kudos
1,170

Hi Aysenur,

Welcome to SDN.

You can use FM <b>ME_UPDATE_REQUISITION</b> to update EBAN.

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.

rshr51bs9399
Explorer
0 Kudos
1,170

hii if you complete it can you send me the code for it if its possible.

Kartehiik
Explorer
0 Kudos
95

Please follow the enhancement for updating fixed indicator to 'X' when Purchase requisition is released from ME55n

 

Kartehiik_0-1745333757812.pngKartehiik_1-1745333860797.png