Creating a PGI.

Hi,
How can I create a PGI using the idoc of message type desadv and and basic type delvry05? I have created the Stock Transport Order and the Oubound Delivery for the same.
Thanks.

I have performed the PGI with this:
Message Type: SHPCON
Basic Idoc Type: DELVRY03
E2EDL20002                    500                              00840331210018
E2EDL18                       500                              CHG
E2EDL18                       500                              PGI
E2EDT13001                    500                              006                        20070430
E2EDL24005                    500                              900001000000000001026379                                                                                12             EA
The 'PGI' in the E1EDL18 segment does do the goods issue.  There are other segments to populate the packing screen, E1EDL37 and E1EDL44, but you will need to use the code 'PIC'.  I'm not sure if you can combine the 'PIC' and the 'PGI' together.
In the 'PGI' IDoc example above, I was unable to change the LIPS-LFIMG qty on the delivery when it is a Goods Receipt of a Return Delivery.  I'm still working on that.

Similar Messages

  • Excise invoice should not get created without PGI

    Hi,
    I have a scenario where the billing document is being generated by the customer without PGI after creation of outbound delivery for exports. (This is as per customer's requirement - Copy control maintained in VTFL for the same - copying requirements 11 )
    This creates a situation - excise invoice can be created without PGI - which creates problems for customer. This should not happen.
    Customer wants a check during the excise invoice creation - excise invoice should not get created if PGI has not been done.
    Kindly advise as to how this can be done.
    Regards,
    T Saravanan

    Dear Saravanan
    Two options are there
    -  in your existing routine itself, you can specify the control in such a way that unless the preceding document is PGId
    -  apply excise user exits like J_1I7_USEREXIT_EXCISE_BEF_SAVE to achieve the requirement.
    thanks
    G. Lakshmipathi

  • Accounting document not created for PGI

    Dear All,
    I have done PGI for Delivery document.
    The movement type is 601 and Special Stock indicator is E (Order 0n Hand).
    While PGI material document has been created but accounting document has not created.
    Waiting for your valuable suggestion
    Thanks & Regards,
    Ratish

    Accounting / Materil Document in PGI:
    These settings are pre configured by the SAP, Accounting document is generated based on the following combination-
    Valuation Class in the Material Master + Account Modifier + Transaction Event = GL Account
    These account modifier is assigned to Movement type settings in Transaction OBYC of Accounting and these Account modifier is determined based on the Movement type availabe in Delivery.
    Material Document is generated based on the number range assigned on the combination of Documen type(WL) + Transaction code.

  • Accouting document not created for PGI

    Dear All,
    I have done PGI for Delivery document.
    The movement type is 601 and Special Stock indicator is E (Order 0n Hand).
    While PGI material document has been created but accounting document has not created.
    Waiting for your valuable suggestion
    Thanks & Regards,
    Ratish

    thanks for the reply.........
    for movement type 601 and without special stock indicator accounting document has been created along with material document.
    but for the MTO Scenario the material which are dispatch with special stock indicator "E" with movement type 601. for this scenario material document has been created without Accounting document.
    Waiting for the reply.................
    Regards,
    Ratish

  • Sales order delivery is created and pgi posted, but stock is still assigned

    Hello,
    sales order is created and delivery and PGi is also created, but still stock is assigned to the order. requirements are still showing in MD04.

    Hello Friend,
    Please check whether that material is activated for QM view in that material master.As sometimes if QM check is not done then even after PGI material shows in MD04.

  • F8 proforma invoice automatically created, after PGI

    After completing PGI, business wants to take a printout of proforma invoice F8 automatically. How to do this?
    The truck driver shall take this invoice to the SH To address. Give him 1 copy and get another signed copy back.
    Please help, thank you in advance!

    From this link, below post is the best answer -
    Proforma Invoice F8 automatic creation
    Two questions -
    1. Is it functional consultant's job or technical consultant / ABAPer's job to do - to setup a Batch job for the Proforma invoice with the Program SDBILLDL in the transaction code SM36?
    2. Below indicates that when delivery is created then - via program running in batch - Proforma shall be created, but my business requirement is upon PGI, how to handle this?
    Thank you!
    Re: Proforma Invoice F8 automatic creation
    Posted: Sep 23, 2009 1:54 PM    in response to: NICKELODEON           Reply
    Hi,
    You need to setup a Batch job for the Proforma invoice with the Program SDBILLDL in the transaction code SM36.
    Goto the Transaction code SM36 and setp a job with the program SDBILLDL , then it will fetch all the Deliveries which are pending for the Billing of proforma.
    And in the Transaction code NACE create a output type and assign the Print program and the smartform to the output type .
    Create the print program in SE38 and the Smartform in the transaction code SMARTFORMS with the help of ABAPers
    Assign this Output to the Output determination procedure .
    Now maintain the condition records for the Pfororma billing document F8 and the sales organisation
    In the condition records maintain the Medium as PRINT OUTPUT
    and the Despatch mode as the 4 ( process the output once the document was saved).
    Now once the Delivery was created, the batch job will fetch the delivery and create the proforma invoice and then the output which was created in the NACE will trigger automatically and process.
    Once it was process, Spool will generate and simltaneously the output request and the invoice will send to the printer maintained in the condition records.
    Please do the above steps and revert back if u find any issue in doing.
    regards,
    santosh
    Edited by: Typewriter on Aug 23, 2011 1:17 AM
    Edited by: Typewriter on Aug 23, 2011 1:25 AM

  • Create STO,Delivery and PGI delivery from an interface

    Hi,
    We are using a third party WMS system to manifest and ship orders froma  distribution center to a store. The only data that is going to come into SAP is the Bill of Lading as to how much has shipped for a material to the store from the DC. This has to drive a Stock transport order cycle of creating an STO, create and PGI delivery. As we are building the interface,  I am a bit confused as to how we can make all this happen from one data feed.  Since there is only one feed and it has to trigger mutliple processes should we trigger multiple idocs (different types) to trigger the STO creation, create the delivery and PGI it (Delivery 03 idoc)?
    Will it be too cumbersome to build all this logic in the interface?
    Another option would be to create the STO using the feed, then run VL10B in a given time interval (Background) to create the delivery.
    However, I am not 100% sure how you can spawn off a PGI job? Even if I were to run the VL02n program in the background how can I populate the pick quantity?
    Any insight would be very useful.
    Thanks..

    My assumption is just you need to adopt delivery qty as pick qty.You are not doing any TR ,TO as your ware house is third party managed.
    you need to define the picking form EKOO to your shipping point type and then the quontity will copy
    You can do it in the difintion of the shipping point, you have to difine send time = 4
    I will explain how need to  set up this automatic picking, and then you can
    work backwards from there. The automatic picking you are experiencing
    is actually related to the output type EK00 assigned to your shipping
    point.
    Consider the following two setup steps which will result is automatic
    picking:
    Set the output type to EKOO, in the print picking list of the shipping
    point in customizing.
    Make sure the parameters below are set:
    Message Language
    Number of Messages
    Send Time <<<<<<<<<<< this must be set to 4 (send immed)!!
    Transmission Medium
    1) you have to set the parameters for EK00 in the shipping-point-
    maintenance in customizing:
    -> Enterprise Structure
    -> Definition
    -> Logistics Execution
    -> Define, copy, delete, check shipping point
    2) as second step you define the shipping-print-parameters in
    customizing:
    -> Logistics Execution
    -> Shipping
    -> Basic Shipping Functions
    -> Output Control
    -> Define print parameters shipping
    -> Shipping (Spec.case)
    Therein there should be an entry for every shipping-point, where
    you like to use the picking-list EK00!
    If you have 1 & 2 setup for a particular shipping point you will
    experience the "automatic" picking of deliveries.
    and finally picking storage  location determined as per storage conditions maintained in material master.

  • Abap Why Delivery no. can't creat batch number when PGI?

    Hello.
    Now I am working on PGI. I use the enhance to create default batch. But the delivery no. batch number can't be created when PGI.
    It only can be created when LV01N creating dn no.
    So can you offer me some help? So bad.....
    Thanks for your help.

    Hi,
    You can follow a different approach. Send the output of the Smartform to the spool.
    You have a Function Module to read the spool and convert it to PDF . Then there is one more function module to attach the PDF and send it as a mail.
    You need to configure SMTP in Tcode : SCOT.
    Search the forum with emailpdfattachment
    You have umpteen postings available.
    Pls reward if useful.
    Regards,
    Laxman Nayak

  • Auto Creation of Delivery with PGI and Billing after creation of Sale Order

    Dear Experts,
    I am having one Req. like...After creation of sales order ..automatic Delivery and Billing should be done.
    Right now i m able to create automatic Delivery but PGI is not happening for that delivery.
    Is there any configuration I have to do ... or by any user exit we can get the solution.
    Can u please provide me solution for this.
    Regards,
    Sanket.

    Hello,
    yes, you can create the PGI Atomatically by BATCH JOB using the program nder the VL23 transaction code.
    Goto the Transaction code SM36 to create a job for the program  SAPMSSY0 which is the program for the AUTO PGI
    create a variant for the Delivery document types and sales organisation combinatioans and add this variant to the bath job created in SM36.
    Set the time of the Job to run after every 5 minutes, so once the job exected it will pcik all the Deliveries which are pending for the PGI.
    After the PGI done you can run SDBILLDL program to create the Billing for all the document which were cleared and due for Billing.
    Hope it is clear for yo, please revert if you need frther clarification .
    santosh

  • Output type not created for outbound delivery while using SHMNT05 idoc type

    Hi Experts,
    Please help me to solve the below issue.
    Problem:- I want to to generate an IDOC(using type SHPMNT06) once the PGI is done for an outbound delivery.
    Already it is working fine when used DESADV.DESADV01 or DESADV.DELVRY07. But now the output type is not getting created when used SHMNT.SHPMNT06. I have created a separate output type ZPJ7 just as a mirror copy of the earlier output type(ZPJ6) used for DESADV.DELVRY07.
    Question:- Is it possible to use idoc SHPMNT06 instead for DESADV01 or DELVRY07? If yes then what are steps to be followed?
    The reason why SHPMNT06 idoc is planned:- We have a scenario to send outbound delivery to 3rd party system via XI. If the outbound delivery is for National(Not for Export) and PGI is completed then send the idoc straight forward to XI otherwise DO NOT generate the idoc, but just create the delivery. Collect all the deliveries in a transport and send it in a shipment. The shipment details can be sent using SHPMNT idoc. Now from XI perspective, if we can utlitze the same SHPMNT idoc for the National delivery(1st case) then perhaps this will require less effort. Hence shipment idoc is required to be generated when the delivery is created and PGI is done.
    Also it would be great if you can advice some better way to solve above mentioned scenario.
    Many Thanks,
    Sanjay

    There could be several reasons. Go to the document and in the extras-output check output determination analysis in the processing log.
    If the output has been created successfully then you need to see your printer determination. Ask basis to check it up. If the problem is that even the print preview is not coming. Check your communication in the output analysis and ensure LOCL is selected. Any other printer will need to be configured.
    If thats done already then check whether you have maintianed the condition record.
    If that too is done then check whether your output type has been assigned to the output procedure and that the output type is listed in the procedure.
    regds
    Jude

  • Difference between accounting document of PGI and billing

    Hi,
    I want to know the basic differences between the accounting document created after PGI and accounting document generated after billing?

    Dear Christino,
    To generate Accounting Document after PGI, following settings need to be done:
    T. Code: OMS2
    For your Plant and Material-Type, "Value Update" must be checked.
    Also, a relevant accounting document is assigned the material document or not.
    In Sales Order, we have condition tpe VPRS, which captures the standard value from material master after costing run.
    When we do pgi we need to do inventory accounting & stock reduction should take place.As a result, the following posting takes place:
    1. T. Code: MMBE - Stock get reduced from the plant/storage loc.
    2. T. Code: MD04: Out bound del. note and the qty. set off in stock requirement list
    Also check, [A/C Doc. for PGI|Account Determination for PGI document]
    Whereas, After Invoice, the Accounting Document generates, as an effect:
    Customer A/C gets Debited and Sales A/C gets Credited.
    For more, refer: [A/c Doc.|Accounting entries and material moment types after PGI]
    Best Regards,
    Amit
    Note: In General,
    A/C Doc. Type after PGI: WL
    A/C Doc. Type after PGI: RV

  • Create Inbound Delivery from Outbound Delivery create

    Hi,
    This is what I am trying to do...
    1. Create PO (me21n)
    2. Create Outbound Delivery based on PO (VL10g)
    3. PGI (this creates a DELVRY03 IDoc)
    (IDoc is created at this step, no issues so far)
    4. Based on the Outbound DELVRY03 IDoc I want to create Inbound Delivery. Inbound IDoc is created, but not posted to Application. It gives me the following error...
    "Item 00000 of purchasing document does not exist".
    Please help me resolve this error message.
    Regards,
    Sneha

    Hello Sneha,
    Outbound delivery cannot be created against the purchase order. In a third party scenario where in we receive the shipping Notification(SN) from the vendor, it comes as Delvry02 IDOC to our system. The IDOC gets posted as Inbound delivery for which Goods Recipt happens against the Purchase order using the transaction MIGO. This updates the vendor confirmation table EKES. If you see the Confirmations tab in purchase order you will see the Inbound delivery number and external delivery number.
    Outbound delivery gets created against the sales order and uses the stock posted by the goods receipt to issue the goods. The ASN signals(DelVRY03) gets created after PGI happens in the Outbound delivery.
    The Process is like
    Purchase Order(ORDERS05) goes to vendor --- > Vendor Manufactures the goods sends back Ship notifcation(SN) -> SN posts the goods Inbound Delvery is created and GR happens.-> Outbound delivery gets created and ASN signals go to the forwarder.
    Do revert to me for any further clarification.

  • During PGI for inbound delivery it is giving an error message in ECC6.0

    I am getting an error message  during processing a serialized production order through one custom transaction. In that program FM BAPI_GOODSMVT_CREATE is used to create inbound delivery . After the inbound delivery is created it is giving  error messages
    'System status ESTO is Active (EQUXXXXXX)'
    'Check the status of the Serial Number XXXXXXX'
    'Serial Number cannot be used here'
    'Termination of goods issue posting of delivery item XXXXX'
    and it does not create the PGI for the delivery.
    I have done the same steps in 4.7 system but did not get any error and posting of goods issue has also done successfully but in ECC6.0 system I am getting this error from BAPI_GOODSMVT_CREATE.
    If anyone have faced this issue in ECC6.0 then please help.....

    ESTO means "in the warehouse".  Looks like you may be trying to receive a serial no. you already have received?

  • Is billing doc generated without PGI

    Dear All,
    Encountered an unique process.
    Is it possible to create a billing doc without creating/doing PGI doc, but picking is done. (Though this is a Basic information to be known)
    Am able to save the billing doc without doing PGI, which is not supposed to be done.
    While creating billing in VF01 itself System should restricts with a warning msg as : "NO Billing Doc Generated" which am not getting for a particular Client, it just takes to the billing overview screen after VF01 and can save the billing document which is not the right method I guess.
    Checked all the Sales & Billing doc type Document Types. How to solve this.
    I/p regding the same will be of great help.
    With regards,
    Vijayashree

    Hi Vijayashree,
                  This will happen with the settings available in the copy controls between Delivery to billing so.
    -->You go to VTFL transaction check is there any Z copy requirement used.
    As per standard at header level copying requirement '003'
    As per standard at item level copying requirement '004'
    -->Even If the system is allowing you create billing document with out PGI with the standard requirements (003 and 004) then you take help from the ABAPer to check why it is happening and If you want you can correct it.
    I hope it will help you
    Regards,
    Murali.

  • To change assignment field (ZUONR) in accounting document when doing PGI

    Hi Gurus,
    I have one requirement. I will create one sales order with the reference of contract and then i will do the delivery and I will do PostGoodsIssue(PGI).In standard at that time it creates an accounting document in background.At that time I need to change that assignment field (ZUONR) value to contract number in that Accounting document.
    I treid with BAPI and Business Transaction Events like (1130,1120,1025) but it is not working.
    So please help me in this issue.
    Thansks & Regards,
    R.P.Sastry.

    The substitution logics run before delivery number generated, so how can we achieve this?
    No, it doesn't.  The substitution is triggered at the time the accounting document is created during PGI which is WAY after the delivery is created.
    The substitution suggestion is valid.  If you can't use a direct substitution, then use a substitution exit.  BTE's will work as well.

Maybe you are looking for

  • Class, interface, or enum expected?

    Ok I keep getting that error. Here is my java file that it is in. package server.main.project12.skills; import java.io.*; import server.main.project12.*; public class fireMaking { public int xpgained = 1;//Change this and the fire xp will be times by

  • MSS BW Reporting [Beginner]

    Hello all, I'm looking into implementing BW (3.5) Reporting on our EP (7.0)'s MSS Business Package. And I don't have any idea on how to configure the MSS to show the reports in the reporting workset. Any guides or how-to's that you can share for this

  • Implicit Fact key for 2 facts in one subject area

    Hi All, We have 2 Facts(F1,F2) which are connected to conformed dimensions (D1,D2,D3) and F1 is connected to another Dimension (D4) which does not have any connection with F2. Also D1,D2,D3 is conformed dimension to facts F3,F4,F5 In this scenario ho

  • Creating an JButton that implements EventListener

    Hi all im at university and have a question that was in one of my java books. Im learning about event handling and adding EventListeners to components. But there was a one part of my book that talked about defining a new class of JButton that extends

  • Can a previous iOS be installed on iPod Touch?

    I have an iPod Touch, Gen 5, that has iOS 8.3 running.  I updated the OS last month and since then I am unable to use my Bose MiniLink Bluetooth Speaker using Bluetooth.  Prior to the update the Bose system was easily detected so, after finding that