GR for Purchase Order for Trading Goods
Hi,
I have a query on configuration for accounting entry for purchase orders for Trading goods.
When i do the GR for Purchase order for a trading good, the accounting entries are,
Inventory Dr
GR/IR Cr
and
Purchase Expenses Dr
Purchase Setoff Cr
I understand that i can configure for the first set of posting in BSX and WRX. How do i configure for the Purchase Expenses and Purchase Setoff.
Please advise and correct my understanding.
Thanks in Advance,
Safi
Hi,
The possiblity for this scenario is
First create the Production order in CO01
Create of Account assinged PO in ME21N with Account assigned category as "F" with Production order
Do the MIGO with respect to PO, then system will directly post the Stock to that Production order.
So in the system GR is done for PO & Goods issue is done for Production order.In this way you can acheive this.
rgds
GSC
Similar Messages
-
Goods-Receipt Block for Purchase Order depending on Goods-Receipt Date
Hi,
I want to set up the system so it can block the Goods-Receipt for Purchase Order respectively Scheduling Agreement if the Goods Receipt is about to take place 30 days or more before the Desired Delivery Date.
For Example: If I have a Purchase Order with the desired delivery date 30.09.2008. I want to set up the system so, that it bans (forbids) the Goods Receipt before the 01.09.2008.
If possible I would want to do that without additional programming. Is it possible to set up the system using only customising settings?
Thanks for your help
BogdanHello Marius-Bodgan,
as this question is marked answered I assume you have received an solution for your requirement. Could you please share the solution with me by posting it here? I have the same requirement and did not find any possibility to do this in customizing.
Thanks in advance,
Emanuel
Found the solution in thread Re: Goods Receipt
Edited by: Emanuel Penalver on Jul 15, 2008 11:48 AM -
Auto GR for Purchase order for ext.operation with operation confirmation
Can somebody thow a light on the issue encountered. Need to do the auto goods receipt for the purchase order for external operation with the external operation confirmation in the production order.
Any help is highly appreciated!Not possible in standard system.
-
Release for purchase order for workflow
explain me about the release procedure for purchase order i am comfortable with all steps but for the last step were we will be defining the settings for workflow
It's all fine and dandy that you want to be polite and reply to every reply with a "thanks for your reply", but it isn't very informative. In fact, I'm leaning towards calling it SPAM, but that is perhaps going a bit too far. Such replies do not add one bit of information, they just mark the thread as having contents added since I last visited, and wastes my time as I look at the thread to see what new information has come up.
At the risk of sounding rude, could you please quit your habit and <u>instead</u> mark the question as answered if any of the answers solved your problem (handing out forum points where appropriate)? If none of the replies solved your problem, then please tell us how far they got you and what's stopping you now.
Thank you. -
Define Release Procedure for Purchase Orders
Hi Friends,
We are changing Release procedure for purchase orders for one department from > $ 5000 to > $ 10000.
We defined three characteristics for the class namely Purchasing Order Document, Purchasing Order Type and Ner Order Value which is Currency data type. I Defined Release Procedure for Purchase Orders in configuration master. It's working fine, I mean the Net order Value field is updated in Configuration Client.
After transporting the above change to the Testing Client, the Net Order Value field did not update in testing Client even though I created Characteristics in Testing Client (as characters are not transportable, I created them seperately in Testing Client). I can't update the Net Order Value manually in Testing Client as it says "Client 010 (test) has status 'not modifiable' "
Please tell me how to update that field, as the net order value didn't change even after transport. I can't change manually in testing Client as the status is "not modifiable"Hi,
Yes I have already done that.
In SPRO,
After hitting the following:-
MM --> Purchasing --> Purchase Order --> Release Procedure for Purchase Orders --> Define Release procedre for Purchase Orders
I have to process the objects in the following sequence,
Release Group, Release Code, Release Indicator, Release Strategy & Workflow.
Upto Release Indicator it is fine. After hitting Release Strategy, I should select the release strategy (which I just created) and display. Then 4 buttons will be displayed namely,
Release Prerequisites, Release statuses, Classification, Release simulation.
Upto Release statuses it's fine. Afeter hitting Classification,
the values of Purchase document & Order type are populated, but the Total Net Order Value is Blank. It is supposed to populate the amount & 10,000. But it is not.
Actually that amount will be stored in the field GNETW of table CEKKO. But CEKKO is a Structure not a table. So I can't update the field.
Please advice me...
Thank You,
Nag -
PO 'No goods receipt possible for purchase order'
Hi gurus!
While trying to make Confirmation of a PO in the SRM Portal the user is getting the error 'No goods receipt possible for purchase order'
The scenario used is Classic, so PO is replicated directly to the R/3 system.
Any idea why this is happening?
Thanks a lot!Hi, thanks for the quick reply!
Where i can check the Item category?
I found a field called 'subitem category' but it's blank
with this possible values:
1 Variant
2 Discount in kind: inclusive bonus qty.
3 Empties
4 Discount in kind: exclusive bonus qty.
5 Prepack item
6 Display item
7 Set item
8 Interchangeable items (IBU: A&D)
9 Pre-packing (SLS items)
H GT Bill of Material, Header Relevant
I GT Bill of Material, Item Relevant
About PO type i think it's EC (doc_type?), in R/3 is shown as EBP PO
I checked in backend system, in the item details > Delivery and the 'Goods Receipt' is checked. -
Call BAPI_GOODSMVT_CREATE to create a goods receipt for purchase order
Hi,
I'm calling the bapi BAPI_GOODSMVT_CREATE to create a goods receipt for purchase order, but the following code doesn't work. It doesn't give me any kind of error message but it does nothing as well...
Can anyone help me please?
Thank You
Hugo
Code
DATA: wa_goodsmvt_header LIKE bapi2017_gm_head_01,
wa_goodsmvt_code LIKE bapi2017_gm_code,
wa_bapi2017_gm_head TYPE bapi2017_gm_head_ret-mat_doc.
DATA: it_goodsmvt_item LIKE bapi2017_gm_item_create OCCURS 0 WITH HEADER LINE,
it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
wa_goodsmvt_header-pstng_date = SY-DATUM.
wa_goodsmvt_header-doc_date = SY-DATUM.
wa_goodsmvt_header-ref_doc_no = '4500000020'.
wa_goodsmvt_code-gm_code = '01'. "Goods receipt for purchase Order
it_goodsmvt_item-stge_loc = 'BPF2'.
it_goodsmvt_item-move_type = '101' .
it_goodsmvt_item-entry_qnt = 17.
it_goodsmvt_item-entry_uom = 'KG'.
it_goodsmvt_item-mvt_ind = 'B'.
it_goodsmvt_item-po_number = '4500000020'.
it_goodsmvt_item-po_item = '00010'.
it_goodsmvt_item-material = '50'.
APPEND it_goodsmvt_item.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_goodsmvt_header
goodsmvt_code = wa_goodsmvt_code
IMPORTING
materialdocument = wa_bapi2017_gm_head
TABLES
goodsmvt_item = it_goodsmvt_item
return = it_return.
data: begin of errmsg occurs 10.
include structure bapiret2.
data: end of errmsg.
data: wmenge like iseg-menge,
errflag.
clear errflag.
loop at errmsg.
if errmsg-type eq 'E'.
write:/'Error in function', errmsg-message.
errflag = 'X'.
else.
write:/ errmsg-message.
endif.
endloop.
if errflag is initial.
commit work and wait.
if sy-subrc ne 0.
write:/ 'Error in updating'.
exit.
else.
write:/ 'Ok'.
endif.
endif.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = ' '.Hi,
Thank you for the asnwer! I'm a rookie at ABAP so please forgive my stupid questions
I've changed the code to:
DATA: wa_goodsmvt_header LIKE bapi2017_gm_head_01,
wa_goodsmvt_code LIKE bapi2017_gm_code,
wa_bapi2017_gm_head TYPE bapi2017_gm_head_ret-mat_doc.
DATA: it_goodsmvt_item LIKE bapi2017_gm_item_create OCCURS 0 WITH HEADER LINE,
it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
wa_goodsmvt_header-pstng_date = SY-DATUM.
wa_goodsmvt_header-doc_date = SY-DATUM.
wa_goodsmvt_header-ref_doc_no = '4500000020'.
wa_goodsmvt_code-gm_code = '01'. "Goods receipt for purchase Order
it_goodsmvt_item-plant = 'BP01'.
it_goodsmvt_item-stge_loc = 'BPF2'.
it_goodsmvt_item-move_type = '101' .
it_goodsmvt_item-entry_qnt = 10.
it_goodsmvt_item-entry_uom = 'KG'.
it_goodsmvt_item-mvt_ind = 'B'.
it_goodsmvt_item-po_number = '4500000020'.
it_goodsmvt_item-po_item = '10'.
it_goodsmvt_item-material = '50'.
APPEND it_goodsmvt_item.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_goodsmvt_header
goodsmvt_code = wa_goodsmvt_code
IMPORTING
materialdocument = wa_bapi2017_gm_head
TABLES
goodsmvt_item = it_goodsmvt_item
return = it_return.
write:/ it_return-message.
And the return message is : Material document data and PO data do not match (Material)
Any idea of what might be the problem?
Thanks -
No goods receipt possible for purchase order
Hi Experts,
Received the goods 10 PC from Vendor on one date, then reversing the GRN on another date, So now GRN total quantity is zero. I am getting error u201CERROR - 036No goods receipt possible for purchase order 43086066 00220 " while again i am trying to do GRN. Please help me to solve the problem.
ThanksHi,
Try to do the GR wrt Mat doc # which you have cancelled.
regds,
CB -
No goods receipt possible for purchase order 'PO#" "Lineitem"
Hi gurus,
Please help on below error.
While doing return to vendor transaction using BAPI 'BAPI_GOODSMVT_CREATE' error 'No goods receipt possible for purchase order 'PO#" "Lineitem"' was encountered. As checked, all data are correct including the plant, sloc, PO#, stocks, batch.
Please kindly advice on how to resolve the issue.
Thank you in advance.Hi,
Few things which immediately comes to my mind.
1. Check if the PO is released?
2. Check if the confirmation control is properly set in Confirmations tab of item details of a PO.
3. Check if the Goods Receipt indicator is ticked at item level of PO.
I hope these helps.
Kind Regards,
Prakash -
Goods Receipts for Purchase Order using BAPI_GOODSMVT_CREAT
Hi experts,
I am working on the a program where am generating Goods Receipts for Purchase Order. the BAPI_GOODSMVT_CREAT returns an error saying "Material 6003022 not maintained in plant 1001"
Can any one assist? is there a field I may be missing?
Here is a sample code.
DATA: gm_header TYPE bapi2017_gm_head_01.
DATA: gm_code TYPE bapi2017_gm_code.
DATA: gm_headret TYPE bapi2017_gm_head_ret.
DATA: gm_item TYPE TABLE OF bapi2017_gm_item_create WITH HEADER LINE.
DATA: gm_return TYPE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: gm_retmtd TYPE bapi2017_gm_head_ret-mat_doc.
CLEAR: gm_return, gm_retmtd.
REFRESH gm_return.
Setup BAPI header
"data
gm_header-pstng_date = sy-datum.
gm_header-doc_date = sy-datum.
gm_code-gm_code = '02'.
" MB1A * Write 971 movement to table CLEAR GM_ITEM.
MOVE '101' TO gm_item-move_type .
" MOVE 'Q' TO GM_ITEM-SPEC_STOCK.
MOVE '6003022' TO gm_item-material.
MOVE '10' TO gm_item-entry_qnt.
MOVE 'EA' TO gm_item-entry_uom.
MOVE '1001' TO gm_item-plant.
MOVE '' TO gm_item-stge_loc.
MOVE '0901' TO gm_item-move_reas.
" MOVE '4500006877' TO GM_ITEM-WBS_ELEM.
" MOVE '0020' TO GM_ITEM-VAL_WBS_ELEM.
MOVE '0020' TO gm_item-deliv_numb.
MOVE '4500006881' TO gm_item-po_number.
MOVE '0010' TO gm_item-po_item.
APPEND gm_item.
Call goods movement BAPI
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = gm_header
goodsmvt_code = gm_code
IMPORTING
goodsmvt_headret = gm_headret
materialdocument = gm_retmtd
TABLES
goodsmvt_item = gm_item
return = gm_return.
IF NOT gm_retmtd IS INITIAL.
COMMIT WORK AND WAIT.
CALL FUNCTION 'DEQUEUE_ALL'.
ELSE.
COMMIT WORK AND WAIT.
CALL FUNCTION 'DEQUEUE_ALL'.
ENDIF.>
Spark842 wrote:
> Hi experts,
> I am working on the a program where am generating Goods Receipts for Purchase Order. the BAPI_GOODSMVT_CREAT returns an error saying "Material 6003022 not maintained in plant 1001"
> Can any one assist? is there a field I may be missing?
>
> Here is a sample code.
>
> DATA: gm_header TYPE bapi2017_gm_head_01.
> DATA: gm_code TYPE bapi2017_gm_code.
> DATA: gm_headret TYPE bapi2017_gm_head_ret.
> DATA: gm_item TYPE TABLE OF bapi2017_gm_item_create WITH HEADER LINE.
> DATA: gm_return TYPE bapiret2 OCCURS 0 WITH HEADER LINE.
> DATA: gm_retmtd TYPE bapi2017_gm_head_ret-mat_doc.
> CLEAR: gm_return, gm_retmtd.
> REFRESH gm_return.
> * Setup BAPI header
> "data
> gm_header-pstng_date = sy-datum.
> gm_header-doc_date = sy-datum.
> gm_code-gm_code = '02'.
>
>
> " MB1A * Write 971 movement to table CLEAR GM_ITEM.
> MOVE '101' TO gm_item-move_type .
> " MOVE 'Q' TO GM_ITEM-SPEC_STOCK.
> MOVE '6003022' TO gm_item-material.
> MOVE '10' TO gm_item-entry_qnt.
> MOVE 'EA' TO gm_item-entry_uom.
> MOVE '1001' TO gm_item-plant.
> MOVE '' TO gm_item-stge_loc.
> MOVE '0901' TO gm_item-move_reas.
> " MOVE '4500006877' TO GM_ITEM-WBS_ELEM.
> " MOVE '0020' TO GM_ITEM-VAL_WBS_ELEM.
> MOVE '0020' TO gm_item-deliv_numb.
> MOVE '4500006881' TO gm_item-po_number.
> MOVE '0010' TO gm_item-po_item.
> APPEND gm_item.
>
> * Call goods movement BAPI
>
> CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
> EXPORTING
> goodsmvt_header = gm_header
> goodsmvt_code = gm_code
> IMPORTING
> goodsmvt_headret = gm_headret
> materialdocument = gm_retmtd
> TABLES
> goodsmvt_item = gm_item
> return = gm_return.
>
> IF NOT gm_retmtd IS INITIAL.
>
> COMMIT WORK AND WAIT.
> CALL FUNCTION 'DEQUEUE_ALL'.
> ELSE.
> COMMIT WORK AND WAIT.
>
> CALL FUNCTION 'DEQUEUE_ALL'.
> ENDIF.
My guess, is that this material is not really maintained in the Plant '1001', to be on the safer side, get the exact values from EKPO itself, also check if this material exists in the table MARC for the plant and storage location.
MOVE '1001' TO gm_item-plant. "<< Hard coded
MOVE '' TO gm_item-stge_loc.
Replace the above hardcodes to something like this to get the actual value from EKPO.
select werks lgort into (gm_item-plant, gm_item-stge_loc) from ekpo
where ebeln = gm_item-po_number
and ebelp = gm_item-po_item. -
Is it possible to do goods receipt for purchase order by mb31
Hello friends,
I have created one purchase order.Now i want to do goods receipt for that purchase order.I know that throught migo and movt type 101, i can do this.But guys i have one doubt over here.Can i do the goods receipt for purchase order by Transaction code MB31(Goods Receipt for Order).
When in Transaction code mb31 i put the purchase order number, system gave me the error,"order 44000000298 not found or not permitted for goods movement".Message no. c6001.
So guys what do you think in this matter?is it possible to do goods receipt for purchase order by mb31.If yes than how to resolve this error.
Thanking you guys in advance.MB31 is for doing goods receipt of production order
-
Goods receipt for purchase order is not allowed
Hi,
When I am doing the PO receipt i am facing the error message "Goods receipt for purchase order is not allowed WBS element xxxxxx"
What could be the problem
Thanks
LuckyHi,
Please check the WBS element in CJ03, in Basic Data, System status,
Is the WBS is not released or blocked.
Hope it helps you.
Thanks -
Goods receipt for purchase order not allowed for a particular wbs
hello everybody..
Am creating a good receipt for a purchase order using the T-CODE-: MIGO...
While doing so am getting an error as " goods receipt for purchase order not allowed(wbs element)".
What can be done to rectify this error?
Plz do help me....
Regards,
Deepika
Moderator message: not directly related to ABAP development, please have a look in the appropriate functional forum, study the long text of this error message.
Edited by: Thomas Zloch on Dec 1, 2010 5:52 PMHi Br. Ajay M,
Released the order and Status line as follow
REL AVAC BUDG GMPS
but the error changed while reverse the document
item 0001 Order is invalid.
Many thanks for your kindly reply.
regards,
Steven -
IDoc Error "" No goods receipt possible for purchase order"
Hi All
I am getting IDoc failed with the error massaeg " No goods receipt possible for purchase order I510954-02 00010
Message type :MBGMCR
Basic type : MBGMCR03
Message no. M7036
Status : 51
Please suggest on this
Thanks
AjitHi
Please go through thid link i think it will help you..
No goods receipt possible in PO
Error - E 036 No goods receipt possible for purchase order
No goods receipt possible for purchase order
Regards
Sharada -
Error - E 036 No goods receipt possible for purchase order
Good Day,
Am not able to do the Goods Receipt through BAPI : BAPI_GOODSMVT_CREATE.But am able to create GR through MIGO.Am getting the below error through BAPI:
E 036 No goods receipt possible for purchase order 4500000563 0010.
I gone throug the SDN, but i count not found any solution for this. Please help me in this regard.
Cheers,
sravanHi,
Maybe this example can help you.
http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
Regards,
Harish
Maybe you are looking for
-
Why doesn't my external microphone work?
Yesterday I opened up Garage Band to do a recording. I have been using my Blue SnowBall microphone, and in the past, even as recently as the day before, Garage Band always recognized that mic by name, and would ask me if I wanted to use it. Now the
-
Whats a good hard drive repair program
HI IM HAVING PROBLEMS WITH AN INTEL BASED IMAC. MY PROBLE IS I GET FREEZES AND BLOCKS ON THE SCREEN FROM TIME TO TIME. IS THIS A HARD DRIVE PROBLEM OR WHAT ?PLEASE HELP
-
Google Streetview not working in Safari 5.0.1
Has anyone else had problems with Google Streetview since upgrading to Safari 5.0.1? It's ridiculously slow and I end up spending ages just staring at that little multicoloured spinny thing. I used to be able to 'walk' around the streets, now it take
-
Hi people, if this queston was asked before i appologize in advance, but i can't seem to find anything on this subject. I created this form in Acrobat Pro and i need the filled in form compatible with excel for my client . . . Does anyone have any de
-
Local HTML using Content Image
I have an HTML string which, in my webview I am using NavigateToString to show. I have several images in my project which are marked as content and copy local. I was wondering how I can link to those images? In my xaml they show up in the Image ob