on 05-17-2017 10:32 AM
I'm using BAPi_ACC_DOCUMENT_POST to post a document in FI.
Also used BAPI_TRANSACTION_COMMIT with wait = 'X'.
My issue is when i execute the program status is "Doc no : "1460000154" posted successfully".
When i check in FB03 the assignment field is not populating with my requirement i.e UTR no.
This is working fine in debugging mode but i execute the program directly BSEG-ZUONR field is not populating.
Kindly help in solving the issue.
Pls someone answer..
Hi Sudhakar,
Check if you are using field ALLOC_NMBR in BAPI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
are you making the exact same posting while debugging/direct execution? Same accounts etc?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
That's very strange. I can think only of two hypothetical reasons:
a) you have a substitution which puts the value of ZUONR to blank
b) you have a setting in OBCY which causes ZUONR to empty itself
Of course, all this is hardly probable, but possible in theory.
Regards,
Eli
P.S. If this is not the case, you have to debug your program, but not only till the moment, where you fill BAPI parameters, but till the update of tables itself. There, you would see if the values somehow are erased and what was the reason for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.