on 01-06-2010 10:01 AM
Hi Techies
When using BAPI "BAPI_REQUISITION_CHANGE" for AFS for changing the purchase requistion, the changes are getting affected only in the purchase request line item level. whereas the schedule line (AFS size Breakup) is not getting changed.
______________________________
CALL FUNCTION 'BAPI_REQUISITION_CHANGE'
EXPORTING
number = va_prno
TABLES
requisition_items_old = it_itmold
requisition_items_new = it_itmnew
REQUISITION_ACCOUNT_OLD =
REQUISITION_ACCOUNT_NEW =
REQUISITION_TEXT_OLD =
REQUISITION_TEXT_NEW =
return = it_return
requisition_afs_data_old = it_liold
requisition_afs_data_new = it_linew.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
CLEAR: flg.
ENDIF.
_______________________________
please suggest.
Regards,
PRASAD.
Hi
I really don't understand hw you passed (requisition_afs_data_old = it_liold, requisition_afs_data_new = it_linew.)
as there is no such parameter exists in that function module.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.