11-13-2006 5:30 PM
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
11-13-2006 5:38 PM
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
11-13-2006 9:23 PM
Does this Bapi set the fixed indicator.
I have done all that you have told
11-13-2006 9:43 PM
Hi,
I am not sure about that.
Can you check the function module ME_RELEASE_REQUISITION?
Thanks
Ramakrishna
11-27-2006 6:35 PM
06-22-2012 10:32 AM