on 02-14-2006 8:33 AM
Hi,
I have a report, which is selecting material data from table LQUA (transaction ls24).
After that I´m building a batchinput to call transaction mb1a and book all found data from lqua.
Normally, I have pressed the menu-button "to order..." and then I filled in the found data, like material and amount, and book it with the save-button.
The problem is, when I do it that way, I got the charge-numbers automatically from the SAP-System (and the input field for the charge is grey, so I can´t enter anything).
When I build my batchinput, the entries are often in an different order. So it´s distorted, when it fills in the data on mb1a.
After that, I tried to book the values about batchinput for mb1a in a different way. I pressed enter on the first screen, and then I could enter the whole lines (also the charge numbers), but when I book it then, it is not deleting the reservation data for the material...
So can anybody tell me, how I can build up the batch input for mb1a, that the data is in the right order, and the material/amount values fit to the right charge?
I hope, it´s possible to understand my problem.
Cheers
Message was edited by: Arne Hein
HI,
Do the following if you haven't done already.
Do a SHDB recording for MB1a Transaction and generate the code using create program option in
the SHDB transaction.
Declare an internal table with all the fields that are to be entered in the transaction.
Fill the bdcdata atable and call the transaction.
Hope i understood your problem correctly.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the fast answer!
The problem is, I have to compare the values in the charge field, SAP gives me, with the values in my internal table and fill in the right data for the right charge. How can I do that?
Do I have to read it while building my bdc? The problem is, I have to sort the internal table in the right order, that my material and amount values fit to the right charge in mb1a.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.