‎2006 Sep 06 5:42 AM
Hai,
Requirement:
I have to isuue goods to a subcontractor with movement type '541' with refercence to purchase order.
Problem:
So i used Goods movement code '01' and i mentioned only purchase order & item & movement indicator 'B'and quantity.I am getting the following error
"Goods movement not possible with mvmt type 541"
How to solve this.
Thanks for your replies in advance,
Regards,
Umasankar
‎2006 Sep 06 6:50 AM
Hi !
I think I got your problem now...
The button "To purchse order" is only a selection "help" that makes the selection of the items of the PO easier.
That won't work in the BAPI.
You'll have to select the items per program from the EKKO-EKPO tables and fill the material-data of the items you'd like to post in the bapi into the "ITEMS" tables of the BAPI.
Besides move-type 101 ther's no selection-feature by giving it a PO number...
Hope that helps you now...
‎2006 Sep 06 5:45 AM
Hi !
Try the GM-Code 06 ... It's assigned to the MB11 and should work.
Regards
Rainer
Some points would be nice if that helped...
‎2006 Sep 06 5:51 AM
Hai Rainer,
Thanks for your immediate reply.
If i use Goods movement code 06, Its giving the following error "No goods receipt possible for purchase order".
i HAVE TO ISUUE TO GOODS IMILAR TO TRANSACTION 'mb1b'.
REGARDS,
UMASANKAR
‎2006 Sep 06 5:58 AM
‎2006 Sep 06 6:01 AM
1.first try to place manual entry then check thru BAPI.
2.Check the Gm_code which are taking
1. GM_Code 01: Goods receipt for purchase order
2. GM_Code 02: Goods receipt for production order
3. GM_Code 03: Goods issue
4. GM_Code 04: Transfer posting
5. GM_Code 05: Other goods receipts
6. GM_Code 06: Reversal of goods movements
7. GM_Code 07: Subsequent adjustment to a subcontract orderRegards
Prabhu
‎2006 Sep 06 6:16 AM
Hi !
The code 06 is the right one - im pretty sure...
MB1B and MB11 are functually similar but the MB11 can handle ALL movement-types >= 201.
541 does usually not have a reference to purchase orders.
So in standard the fields may be not allowd.
So you can do two things:
Check the 541 in dialog MB11.
If the fields are missing there you should go to the customizng of the movement-typs and "open" the field for purchase-order there.
Then try MB11 again...
If it's working there then the BAPI will work to...
Regards
Rainer
‎2006 Sep 06 6:29 AM
Hai,
I tried to create manually in bothe the transaction 'MB1B' & 'MB11' its succesfully creationg the document.
But in BAPI i am not able to create.
Regards,
Umasankar
‎2006 Sep 06 6:31 AM
Hi !
Can you descirbe the steps and fields you're filling in the MB11 ?!?
Besides that... I've just had a closer look to your error-message...
Are you shure that GRs are allowed in your purchase order ?!?
If the error-message is correct - the purchase order does not allow GRs...
Regards
Rainer
‎2006 Sep 06 6:36 AM
Ha,
1. Movement type = 541
2. To purchase order : order number & item number
3. I saved it asked for storage location
4. I gave storage location & saved it.
5. Document is created.
The above are the steps i used 'MB11'.
I am not able to understand why the same thing is not working with BAPI.
Regards,
Umasankar
‎2006 Sep 06 6:38 AM
Hai,
It is allowed for the purchase order i am using because I used the same purchase order while creating manually.
It created successfully.
Regards,
Umasankar
‎2006 Sep 06 6:50 AM
Hi !
I think I got your problem now...
The button "To purchse order" is only a selection "help" that makes the selection of the items of the PO easier.
That won't work in the BAPI.
You'll have to select the items per program from the EKKO-EKPO tables and fill the material-data of the items you'd like to post in the bapi into the "ITEMS" tables of the BAPI.
Besides move-type 101 ther's no selection-feature by giving it a PO number...
Hope that helps you now...