on 2005 Nov 18 7:09 PM
Hi,
Previously i asked for creating New fields in VA01 screen.
i got that now i need to create a sales order based on the Inbound IDOC which i get and i will be getting new fields which are created .
And this Fields data is coming from an Extension to the Standard IDOC. Sales order is getting created but the new fields are not getting populated nor stored in VBAK Table.
pls let me know why is this.And provide me with a soultion.
MG.
Request clarification before answering.
Hi,
i had a similar problem in my last assignment .
I think you are using IDOC_INPUT_ORDERS F/M for Posting the IDOC.
Here once you go into the code at line number 116 you can see that they are calling Transaction VA01 for posting the sales order .
If you go into any perform there you would be having the User Exits . Use the exits and you need to process the IDOC in the Foreground so that you can catch the Screen flow and the screen number , as you do in SHDB.
Now you need to make sure that you are getting the new screens there where you have desigined the fields on the screen.
And write the BDC Code with proper OK Codes before the Save ok code SICH is reached .
And make sure that you are writing the code at the header level only as you need to update the VBAK Table.
As this is a single screen you can directly write the BDC code for populating the fields data and at last make sure that the ok-code you are giving is the right one.
Pls let me know if this problem is solved , i need to check the code in which exit i have written . But here it would be the same EXIt i think .
the exit name is EXIT_SAPLVEDA_002 .
Pls check this and let me know.
Regards,
Naidu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As i said previously , use the Exit EXIT_SAPLVEDA_002.
And try to populate the BDCDATA here in this Exit.
Fill all the Fields data here . Before this fill the Additional Data Screen Number and Ok Code .
After all this make sure that the next Ok code is it goes to the Item data.
So you have to basically debug the tranasaction and run the IDOC in foreground.
See when and after what screen its going to Item level data , at this point take a note of the screen and Ok code .
And when you debug the IDOC_INPUT_ORDERS make sure at what point this data is filled and before that you use the exit and fill the BDCDATA with the proper ok codes.
Pls let me know if this would solve the problem.
Regards,
Naidu.
User | Count |
---|---|
77 | |
30 | |
9 | |
8 | |
7 | |
7 | |
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.