2010 Dec 22 7:35 PM
Hi Friends ,
Is it possible to substitute a BKPF field in line item level of substitution ? I want to update BKPF-XBLNR_ALT based BSEG-MWSKZ at line item level.When I tried using an exit , I can see that BKPF field value is changing in debugging but finally when the docuemtn is posted it is not getting updated. Can anybody help me ?
Thanks ,
Joby
Hi Friends ,
Is it possible to substitute a BKPF field in line item level of substitution ? I want to update BKPF-XBLNR_ALT based BSEG-MWSKZ at line item level.When I tried using an exit , I can see that BKPF field value is changing in debugging but finally when the docuemtn is posted it is not getting updated. Can anybody help me ?
Thanks ,
Joby
2010 Dec 22 8:11 PM
I had this problem before, so what I did was:
Take all values from this table, place it inside an internal table, and then make the changes you need to make. After wards, clear the imported table and make it equal the internal table.
a quick example:
itab[] = imported_table[].
logic to make changes....
clear imported_table[].
imported_table[] = itab[].
Tell me if that works for you.
Edited by: jotorres1 on Dec 22, 2010 9:14 PM
2010 Dec 22 8:38 PM
No, because if you continue to step through the code past the generated code for the exit back to the substitution calls, you'll see that SAP does a restore to eliminate any improperly changed values. Your best bet is to trace your transaction and determine which BTE's are being called, look them up in FIBF, then implement the appropriate one.
2010 Dec 23 3:02 AM
2010 Dec 24 7:51 AM
Hi Joby,
I am also facing same problem exactly like yours but mine is with header field BKPF-BUDAT, if your problem is solved , please let me know the solution.
thanks in advance for your valuable replies.
Regards,
Sateesh
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |