Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC

Former Member
0 Likes
436

In am creating a BDC for MB10 transaction. This is for material return to vendor.

The scenario of the transaction is as follows.

Against a single PO, multiple goods receipts has been done. This has created multiple material document. For this PO the Invoice has been booked and payment also has been done. After making the payment, a material has to be returned to the vendor, for which a debit memo (here it is credit memo) has been raised against the material document.

When I do MB10, the system automatically displays all the material document one after the other and if it does not finds the material document pertaining to the return delivery, from the internal table, the system throws a error message as “Deficit of PU IR qty, 1.000 EA”. When this error comes, I will click the Cancel button (F12), then it will go to the next material document and this repeats.

The material document is displayed in the field MSEG-LFBNR in the program name SAPMM07M and the screen no 0210.

(The internal table is having one record, whereas there are 5 material documents for different goods receipt.

Can any one guide me as to how to repeat the process by taking care of the error message.

Thanks in advance.

Regards,

Mark K

3 REPLIES 3
Read only

Former Member
0 Likes
394

Hi Mark ,

I am unable to find out Tcode MB10, check the stocks are avail.? in that Sloc which u are taking?

<b>check the stock availabilities before cancelling the Mat.Docs.</b>Regards

Prabhu

Read only

0 Likes
394

Sorry. The transaction code is MB01.

Read only

0 Likes
394

Why no response from any one?

Pls guide me to solve this problem.

Regards,