2008 Dec 22 7:08 AM
Hello all,
I need a to Change Purchase Requistion account assignment category from U to K.
It can be done manually with T-code ME51N. But this is a njoy transaction so its BDc is not recommended.
So i have to do it by using a Function Module.
Please suggest me a function module by which i can do it.
Thanks.
Hello all,
I need a to Change Purchase Requistion account assignment category from U to K.
It can be done manually with T-code ME51N. But this is a njoy transaction so its BDc is not recommended.
So i have to do it by using a Function Module.
Please suggest me a function module by which i can do it.
Thanks.
2008 Dec 22 7:12 AM
2008 Dec 22 7:20 AM
Hi Sonal,
Try this Bapi:
BAPI_REQUISITION_CHANGE to Change Purchase Requisition.
Hope it helps.
Regards,
Rahul
2008 Dec 22 9:07 AM
Thanks for Replying.
But i need to change the Account Assignment category but with this BAPI we cant change the account assignment category.
So please suggest me something else.
Thanks
2008 Dec 22 9:41 AM
2008 Dec 22 10:10 AM
2008 Dec 22 9:58 AM
CALL FUNCTION 'BAPI_REQUISITION_CHANGE'
EXPORTING
NUMBER = EC_MDUA-BANFN
TABLES
REQUISITION_ITEMS_OLD = EC_BAPI_OLD
REQUISITION_ITEMS_NEW = EC_BAPI_NEW
REQUISITION_ACCOUNT_OLD = EC_BAPIEBKNO
REQUISITION_ACCOUNT_NEW = EC_BAPIEBKNN
REQUISITION_TEXT_OLD =
REQUISITION_TEXT_NEW =
RETURN = EC_BAPIRETURN
EXCEPTIONS
OTHERS = 1.
hope this will help u
2008 Dec 22 10:22 AM
goto ome9 t.code ...
select the account assignment cat 'U' and choose details....
there check weather account assignment is changeable r not (a checkbox is provided there see that)..
if that is checked then it can be changed from U to K......
2008 Dec 22 11:38 AM
hello shan,
Thanks for replying.
But i have checked in the transaction and it is for good receipt but i want to do it in me52.
thanks
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |