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: 

BAPI_REQUISITION_RELEASE not updating FIXKZ (Fixed indicator) in EBAN

Former Member
0 Kudos

I am using the BAPI "BAPI_REQUISITION_RELEASE " to release a Purchase Requisition. However after the excution the field FIXKZ (Fixed indicator) is empty in EBAN.

Cam inputs as to why the fixed indicator is not updated

Thanks

Titu

5 REPLIES 5

venkata_ramisetti
Active Contributor
0 Kudos

Hi Titu,

Please check again after calling BAPI_TRANSACTION_COMMIT.

Please also check the below SE37 documentation.

This method enables you to release (signify approval of) purchase requisitions item by item.

This is necessary if a purchase requisition item satisfies the conditions defined in a release strategy

Example: all purchase requisition items with a value exceeding $10,000 must be released (approved) before they can be issued.

The requisition number and item and the release code must be passed on. The new release status and the new release indicator are returned.

Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.

If you wish to release all the items of a purchase requisition at the same time, use the Release method for the business object PurchaseRequisition.

Check the below sample code from program LMEREPI19

CALL FUNCTION 'BAPI_REQUISITION_RELEASE'

EXPORTING

number = ls_outtab-banfn

rel_code = l_frgab

item = ls_outtab-bnfpo

use_exceptions = space

IMPORTING

rel_status_new = l_frgzu

rel_indicator_new = l_frgkz

TABLES

return = lt_return.

Thanks

Ramakrishna

Former Member
0 Kudos

Does this Bapi set the fixed indicator.

I have done all that you have told

0 Kudos

Hi,

I am not sure about that.

Can you check the function module ME_RELEASE_REQUISITION?

Thanks

Ramakrishna

Former Member
0 Kudos

Thread closed

0 Kudos

Hi,

Can you share the solution please. I want do the same

Thanks,