Copy To / Copy Fom for Goods Receipt PO
Hi,
Im using SAP B1 2007A PL 46 with B1DE 2.0
Via code I need to create an AP Invoice based on a Goods Receipt PO. I can't seem to find a way to set the Base Document of the AP Invoice so that it is linked to the existing Goods Receipt PO.
The SAP B1 front end has Copy From and Copy To functionality that does just this.
How is done via the DI api? ( I DO NOT WANT TO USE THE UI API)
Regards,
Ben
Hi Ben,
There is no method in the DI API that can generate a target document from a base document so you have to code it yourself. There are 2 options:
1) Export the base document as an XML string and then use XSLT to transform it to get the XML for the target document.
2) Create an instance of a PO object and another for the Goods Receipt. You can then copy the header properties from the PO to the Goods Receipt and loop through the lines child object of the PO to add rows to the goods receipt. If you use text or subtotal lines then you need to check for these as well on the PO and add then to the GRPO as needed.
In either case, you need to set the BaseType, BaseEntry and BaseLine properties of the goods receipt lines to link back to the correct line from the PO.
Kind Regards,
Owen
Similar Messages
-
Hello Gurus,
There is a Business requirement to have a separate print forms for every Inventory transactions like Goods Receipt, Goods Issue, Stock Transfer, Sub-Contracting Transfer Posting, Consignment Transfer Posting, etc.
We need to use the Transaction MB90 to print all the Inventory documents.
While checking the Output types, we find that basically WE03 is for Goods Receipt (Collective Slips) & WA03 is for Goods Issue / Transfer postings (Collective Slip)
I would like to know that inorder to assign a different Smart Form & Program (One for each of the transactions listed above) to the output types, is there a way around to work with these 2 Output types & have the 5 different Smart Forms - Programs assigned to these 2 Output types or do I need to create a copy of these output types & use them instead, one output type for each Smart form - Print program combination
Regards,
Zafar.First, you can maintain <B>PRINT ID</B> in the IMG for each movement type<BR>
Second, you can create multiple <B>OUTPUT TYPE</B> - one for each.
Third, in MN21, create ouotput records using a combination of <B>OUTPUT TYPE</B> and <B>PRINT ID</B>
<br>
Example:
GR movement types 101, 105, etc, you can have <B>PRINT ID</B> 1 and <B>OUTPUT TYPE</B> Z001
GI movmeent types 201,261, etc. you can have <B>PRINT ID</B> 2 and <B>OUTPUT TYPE</B> Z002
<BR>
Configure <B>PRINT ID</B>: IMG path: <I>Materials Management > Inventory Management and Physical Inventory > Print Control</I><BR><BR>
Configure <B>OUTPUT TYPE</B>: IMG path: <I>Materials Management > Inventory Management and Physical Inventory > Output Determination</I> -
Standard smartform for Goods receipt slip version 3
Hi all,
I need to copy and modify a smartform for Goods receipt slip.
How do we find out the main program(driver program) for a smartform.
<b>In my case the smartform name is /SMB11/MMGR3_A</b>
Regards,
KaushalI used /SMB11/BL_MMGR1_L in my choice and I then searched programs using /SMB11* until I found something that looked like a match in it's text.
I can only tell you that after configuring via tcode NACE application ME and output type WE03 (because again the text matched what I was wanting to do) with program /SMB40/M07DR it did give me the results I wanted. This is a specific answer and NOT the more general answer you might have really wanted. There is much discussion in forum for that more general question. Personally until SAP sees the wisdom of maintaining a table to make a more direct search key more possible rather than a full SAPSCRIPT, SMARTFORM, PDF search we have some agony to endure.
Now if can you tell me where (table & fields) number of containers found on tabstrip Quantity of tcode MIGO is stored and we can call this even.
GOITEM-ANZGEB is NOT the answer I want to hear as structure names do not count and it is not defined in any structures of the global settings.
Good Luck!!! -
Report for vendor no., vendor name for good receipt documents on KSB1
Hello,
My client needs vendors on KSB1 report. I told them about offseting account, but it doesn't show vendor for good receipt documents.
Is there any place else they can view vendor, vendor name for those good receipt documents .
Any MM report or AP report .
Thanks,
T.GHi,
Please go to FBL1N, In Dynamic Selection give document as "WE", this will give and enable Purchase Order Number
This will give you Vendor Name, Purchase Order and FI Document number or u can try MB51, there you will not get Vendor Name, but you will get Vendor Code, Material Document Number and Purchase Order Number
Br,Vivek
Edited by: View_taurian on Oct 22, 2011 12:01 AM -
Create Automatic Reservation for Goods receipt of FG
When an order is created, the components from the store are reserved automatically. It implies automatic reservation for good issue.
What about AUTOMATIC reservation for goods receipt of finished product? Is it possible to make automatic reservation in PP for goods receipt of finished product, when finished product is ready?
I know that manual reservation for goods receipt of finished product can be done by using MB21 (521).
Thanks in advance.Your requirement is a little bit confusing...
If you have production order, why do you need GR-reservation for the to-be produced material? The production order itself is a GR-MRP element nad you can post the GR agains it.
If you don't have production order, I understand you need something to plan the GR.
But it seems you want to have both the PrdOrd and the GR-reservation --> you will have the same thing twice in your system. -
BAPI needed for Goods Receipt Purchase Order(Transaction : MIGO)
Hi all,
We have a requirement where in we need to post the documents throuh BAPI for Goods receipt Purchase order(Transaction: MIGO).
Any inputs on this..is highly appreciable...
thanks in advance...
regards..
prathima.Hi,
use 'BAPI_GOODSMVT_CREATE'
Check this sample.
code
REPORT ZRICH_0001 .
Structures for BAPI
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 = '04'. " MB1A
Write 971 movement to table
CLEAR GM_ITEM.
MOVE '412' TO GM_ITEM-MOVE_TYPE .
MOVE 'Q' TO GM_ITEM-SPEC_STOCK.
MOVE '3800533484' TO GM_ITEM-MATERIAL.
MOVE '1' TO GM_ITEM-ENTRY_QNT.
*MOVE 'PC' TO GM_ITEM-ENTRY_UOM.
MOVE '1060' TO GM_ITEM-PLANT.
MOVE '0007' TO GM_ITEM-STGE_LOC.
*MOVE '0901' TO GM_ITEM-MOVE_REAS.
MOVE 'P203601001' TO GM_ITEM-WBS_ELEM.
MOVE 'P203601001' TO GM_ITEM-VAL_WBS_ELEM.
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.
WRITE:/ GM_RETMTD.
LOOP AT GM_RETURN.
WRITE:/ GM_RETURN.
ENDLOOP.
[/code]
Also check the Bapis
BAPI_PO_CREATE --> To create Purchase Order
BAPI_PO_CHANGE --> To change Purchase Order
BAPI_PO_GETDETAIL --> Todisplay Purchase Order
Regards,
Raj. -
Cant able to do UD for Goods Receipt Inspection against Purchase Order
Hi Experts,
I am facing problem while doing UD for Goods Receipt Inspection against Purchase Order.
The Problem is,
"Selected set code does not exist, or data entered is incomplete
Message no. QV121
Diagnosis
Code in code group * (selected set 1000 in plant ) does not exist.
Procedure
Enter a valid combination or complete combination, or make sure that the combination is available in the selected set."
And the Result Recording for Inspection lot is completed.
kindly suggest..
Thanks in Advance,
NaveenHi Naveen,
1. Go to QCC0 > Quality inspection > Inspection lot creation > Maintain Inspection Types > Select 01 (or the type which you are using) and double click on it.
2. Check what code is maintained in UD Selected Set
3. Create the same code in QS51 for your plant.
Regards,
Anand Rao -
Menu path - for goods receipt for purchase order (MB01)
Hi
What is the menu path for Goods receipt for purchase order (MB01) - ECC6.0hi
the path is too deep
plz just log in ur system and find MB01
Materials Management > Purchasing > Master Data > Subsequent Settlement > Vendor Rebate Arrangements > Environment > Condition/Arrangement > Environment >Pricing > Environment Value assignment > Inventory management > Goods receipt >For purchase order > MB01 - PO number known
regards
KI -
Transfer Requirement for Goods Receipt Item
Hi All,
We are trying to create Transfer Order for Goods Receipt items using an ITS mobile application.We are using the function module L_TO_CREATE_TR to create Transfer Order by passing the Transfer Requirement from the Goods Receipt as an input to the function module. Our requirement is to create one Transfer Orde per Goods Receipt item. We need to create Transfer Order for the items simulatneously from different terminals.Since we have only one Transfer Requirement for the entire Goods Receipt document, we are not able to create Transfer Orders simultaneously because of the system lock (Transfer Requirement is locked).
Is it possible to create separate Transfer Rquirement for the individual items in the Goods Receipt via customizing/User exit.
Your guidance in this regard will be great help for us.
Regards,
ShajuHi Dirk,
Thank you for your reply.
Our enduser will be using handheld device for Transfer Order creation. The user will pick the GR item material from one storage type (902) and the Transfer Requirement will be locked at this moment.Later while placing the SU in destination bin the user will scan the destination bin and the Transfer Order will be created at the time of scanning. Till the completion of the entire process the Transfer Requirement will be locked and no one else can pick the materials of the same GR from 902 storage type.
We are trying to create Transfer Requirements for each Goods Receipt Item and we are not able to find any user exit in Goods Receipt Creation or any customizing option.
Can you please check and help us to resolve the same.
Regards,
Shaju
Edited by: shaju tv on Apr 5, 2010 11:40 AM -
Define Number Assignment for Goods Receipt/Issue Slips
Hi Experts,
please can you help in the creation of manual creation of transport request for the customizing activity "Define Number Assignment for Goods Receipt/Issue Slips": settings for assigning goods receipt/issue slip numbers upon goods movements (MM) or deliveries (LE-SHP)?
Customizing for this functionality is composed by the following points:
1. functionality activation at plant level
2. number range group/interval code assignment
3. Groups and intervals creation
4. Plant / Storage Location / Movement type combination assignment to number range group.
Customizing request is automatically created for points 1, 2, 4, but NOT for point 3 where you have to create Groups, Intervas and assing each others.
You receive a message from SAP that you have to insert the relevant object manually into transport request.
Please can you tell me exactly what I have to put into transport request as object:
- Program ID (I think R3TR)
- Object Type
- Object name
and any other relevant information with all the details.
Thank you very much
Kind Regards
Andrea.Hi
You need to create the transport request by selecting the required number & clicking on the trnsaport icon, then a prompt for transport request will be displayed, there you can create the request & move it to production.
Reward points if usefu;
Thanks & Rgards
Kishore -
Hi Gurus, I want to hav create report for Goods receipt which has to show mat description, quantity Received, Date of GR, Rate, vendor name etc. Is there any standard report available? If not which tables I hav 2 use to create querry?
ThanksHi,
Reports are.
1. MB59 / MB51- Material Document List.
2. ME80FN-General Analysis.
You can try above reports.
Rgds,
Rajesh -
Determination of a door for goods receipt via MIGO without inboud delivery
All,
Has anyone set up configuration to determine a warehouse management door for goods receipt when there is no inbound delivery? I wish to utilize door to assist in queue determination and I am unable to find the right settings for door determination on goods receipt.
Thank you,
SandyFor making the Inbound delivery as required for processing a goods recipt, you need to use the confirmation control key in the PO.
The ASN from the Vendor vvia EDI will post as an Inbound delivery in the PO.
In the configuartion of the confirmation control key maintain the Confirmation sequence with Inbound Delivery and mark it as GR relevant and GR assignment.
SPRO - IMG - MM- Purchasing - Confimrations - Set up confimrmation control.
This setting will ensure that GR does not happen without an IBD -
Block Vendor for Goods Receipt without QM
Dear Experts,
We have a specific requirement to set a purchasing block in a vendor (XK05), which must necessarily include a block in goods receipt.
As far as I know, and according to SAP Note 64440 - MMIM: Block vendor for goods receipt, this is only possible activating QM for the material.
However, our client cannot do it for all the materials so we need to find out an alternative solution. Does anyone have any idea how can we do it?
Thanks in advance.
Best Regards,
AndreiaHi guys,
Thank you very much for your quick replies!
Jürgen L, you are right. The requirement is not to block the GR forever, but just during a period of time, in specific situations.
AKTP MM, we will check the BADI: MB_MIGO_BADI, as suggested. I will come back with feedback, as soon as possible.
If you have more suggestions please feel free to share!
Thank you.
Best Regards,
Andreia -
Conversion for goods receipt includes inventory
Conversion for goods receipt includes inventory uploading with and without batch management,, How can i do this
Hi,
You can use separate G/L account for Factory Output Account for Goods Receipt on Finished Goods Inventory and Variances.
goto OBYC T.code do the following settings.
GBB-->AUA-assign gl account
PRD-->PRD-assign gl account.
one question from my side.
If you are using same account for both entries, where do you assing GL accounts in OBYC?
Thanks,
Rau -
Standard Work Flow for Goods Receipt
Hi All,
I am working on Work flow is there any standard work flow for Goods Receipt?
If so please help me in this regard.
I found a BO BUS2017. Is this right one?
Thanks.
Ranganadh.hi,
Refer to the link.
Automatic mail sending for goods receipt
Regards
Sumit Agarwal
Maybe you are looking for
-
Poor 2D-Performance in Angband with X11 and radeon [SOLVED]
Hello, I switched from catalyst to the open source radeon driver with kernel 3.11 the first time, having an HD 6950. When I tryed to play Angband (which I really like) the performance was very poor and laggy. So I edited my /etc/X11/xorg.conf.d/20-ra
-
Is there a way to work with the touch screen on photoshop?
i have a laptop and i want to use the touch screen to draw in photoshop. can anybody help me? thanks!
-
10.1.2.0.2 install fails with Out of memory error
Hi All, I see the following error when installing BPEL PM 10.1.2.0.2 with OID, the OID configuration fails with OutofMemory error. Running the failed task from the command line also throws the same error. Any suggestions ? Thanks, Ravikiran. ankur.go
-
Fetch GLPCA-SPRCTR instead of csks-PRCTR - Urgent
Hi All, i have a report which dispalys a column profit center (CSKS-PRCTR). My functional wants to replace this field (CSKS-PRCTR) with GLPCA-SPRCTR. I tried with various option but not successful. Any help would be highly appreciated. Thanks, Senthi
-
App Server 8.1 cluster not all members starting up.
Hi, Solaris 10. Two instances of app servers, each in a separate zone, on same machine. App servers were just configured with the configure-ha-cluster command to operate in HA mode. When restarting the cluster with two members, only one of them comes