2007 May 22 9:12 PM
Hi Everybody
Who can tell me how can I update the MKPF table with a BAPI or with a diferent method without using a direct update??
I wrote the code like this
UPDATE BKPF SET BKTXT = ITEM_TEXT2
WHERE BUKRS = I_MSEG-BUKRS AND
BELNR = BKPF-BELNR AND
GJAHR = I_MKPF-MJAHR.
But they want a updating with a BAPI or other thing , but not a direct update
Thanks
2007 May 22 10:00 PM
Since you are just updating BKTXT field of MKPF (your text says BKPF which I think was a typo), just do a simple BDC. This is one of those rare cases where BDC is the best option. MB02 is the transaction.
Since you are just updating BKTXT field of MKPF (your text says BKPF which I think was a typo), just do a simple BDC. This is one of those rare cases where BDC is the best option. MB02 is the transaction.
2007 May 22 9:16 PM
Hi,
Please check this FM MB_CHANGE_DOCUMENT.
Regards,
Ferry Lianto
2007 May 22 9:23 PM
2007 May 22 9:31 PM
Hi,
Which SAP version are you using now?
The above FM is available from 4.7 onward.
Otherwise you may need to do BDC programming.
Regards,
Ferry Lianto
2007 May 22 9:36 PM
Hi
The version es netweaver 4.
I don't know why I can not see that FM , the name is MB_DOCUMENT_UPDATE????
I found out TB_COVR_FI_DOCUMENT_UPDATE, but it doesn't chnage the field that I want
2007 May 22 10:00 PM
Since you are just updating BKTXT field of MKPF (your text says BKPF which I think was a typo), just do a simple BDC. This is one of those rare cases where BDC is the best option. MB02 is the transaction.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |