2007 Jun 11 7:11 AM
hi guys,
i understood that im_eban here is importing parameter , hence, not subjected to be changed. but still i need to change eban data during creation of PR from CJ20N , can anybody advice on how i can change this badi
Message was edited by:
ester johannes
2007 Jun 11 8:11 AM
Hi,
the documentation for BAPI_REQUSITION_DELETE says it is used for closing purchase requisitions.
BAPI_REQUISITION_DELETE
____________________________________________________
Text
Delete/close purchase requisition
Functionality
This method enables you to delete and/or close purchase requisitions.
Notes
The following authorization objects are checked with activity 02 (Change):
M_BANF_BSA Document type in requisition
M_BANF_EKG Purchasing group in requisition
M_BANF_EKO Purchasing organization in requisition
M_BANF_WRK Plant in requisition
All requisition items for which the deletion indicator and/or the "closed" indicator is to be set are passed on in the table RequisitionItemsToDe. Since this method changes the purchase requisition, change documents are created when you save.
Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.
Parameters
NUMBER
REQUISITION_ITEMS_TO_DELETE
RETURN
<b>*Reward points</b>
Regards
null
hi guys,
i understood that im_eban here is importing parameter , hence, not subjected to be changed. but still i need to change eban data during creation of PR from CJ20N , can anybody advice on how i can change this badi
Message was edited by:
ester johannes
2007 Jun 11 8:11 AM
Hi,
the documentation for BAPI_REQUSITION_DELETE says it is used for closing purchase requisitions.
BAPI_REQUISITION_DELETE
____________________________________________________
Text
Delete/close purchase requisition
Functionality
This method enables you to delete and/or close purchase requisitions.
Notes
The following authorization objects are checked with activity 02 (Change):
M_BANF_BSA Document type in requisition
M_BANF_EKG Purchasing group in requisition
M_BANF_EKO Purchasing organization in requisition
M_BANF_WRK Plant in requisition
All requisition items for which the deletion indicator and/or the "closed" indicator is to be set are passed on in the table RequisitionItemsToDe. Since this method changes the purchase requisition, change documents are created when you save.
Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.
Parameters
NUMBER
REQUISITION_ITEMS_TO_DELETE
RETURN
<b>*Reward points</b>
Regards
null
2007 Jun 11 8:34 AM
hi Skk,
thanks for replying.
I need to change BADI not BAPI, and my requirement needs to be transferred after user saves CJ20N.