on 04-08-2014 9:43 PM
Hi all,
Since we cannot schedule a background job using transaction CATM, I have created a program calling the CATM transaction through batch-input.
I have done a recording and entered the coding in a Z-program. For a vendor, I have recorded time in CAT2 for multiple purchase orders.
After entering the vendor number in CATM, all the purchase orders showed up. I have clicked 'select all' and posted.
When I run the program in the background, it posts only for one purchase order.
When I run the program in the foreground, using the Select All-button it only proceeds with the first line in my list of PO's.
How to read the whole stack and post the whole stack of purchase orders?
Please help me out with this.
Thanks
Regards
Srinivasan Desingh
408 368 3837
Hi,
When I run the program in the background, it posts only for one purchase order.
When I run the program in the foreground, using the Select All-button it only proceeds with the first line in my list of PO's.
See..it's a Z-program so Its difficult to answer without checking the program. But I think, you should check your BDC again from Debugging, with the help of your abaper. You will find, why its is processing only one entry.
Regards
Shishir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srinivasan,
It seems somewhere it is breaking the flow of data posting.Do one testing, remove the very next PO (the PO next to the posted one PO) from the stack and then post again. If the stack gets posted or a number greater than 1 PO is posted then there is some error (master data,missing field,value etc) in the PO which you have removed from stack earlier.
Please check this way and let me know if it gives some clue.
Regards
Saurabh
Hi Saurabh,
I got your point. There is no issue with the purchase orders.
I have given an example how it works.
I have 3 POs for transfer in the stack. First time it process PO-1 and come out.
Second time when I run, there will be 2 POs in the stack. This time it process PO-2 and come out.
Third time, there will be 1 PO in the stack. This time it process the remaining PO-3 and come out.
Appreciate your help.
Thanks
Regards
Srinivasan Desingh
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.