BAPI For PGI against sales order

Dear all,
             I want BAPI for PGI(Post Goods Issue) against sales order.Can anybody suggest BAPI for this?

Hi,
Please check the link given below:
bapi for PGI
Hope it will help you.
Thanks & Regards,
Sarita singh Rathour

Similar Messages

  • BAPI for PGI against delivery order

    Hi Guys:
               In my program, I'd like to use a BAPI to DO PGI, I try to use WS_DELIVERY_UPDATE, but I find it can't return material document number of PGI.
               Is there any BAPI can do BAPI and also return material document number?
               Thanks.
    Stephen

    Hi Tao,
    Please try to see the below code, it may be helpfull for you to create PGI with the belwo FM.
    DATA:
      L_VBELN LIKE LIKP-VBELN,
      L_VBKOK LIKE VBKOK,
      L_PROTT LIKE PROTT OCCURS 0 WITH HEADER LINE.
    * carry out goods issue
      L_VBKOK-VBELN_VL = L_VBELN.<-- fill this field with your delivery number
      L_VBKOK-WABUC = 'X'.
      CALL FUNCTION 'WS_DELIVERY_UPDATE'
      EXPORTING
      VBKOK_WA = L_VBKOK
      SYNCHRON = 'X'
      NO_MESSAGES_UPDATE = ' '
      UPDATE_PICKING = 'X'
      COMMIT = ' '
      DELIVERY = L_VBELN
      NICHT_SPERREN = 'X'
      TABLES
      PROT = L_PROTT
      EXCEPTIONS
      OTHERS = 0.
      COMMIT WORK AND WAIT.
    do an additional SELECT by delivery number to find the Material documents from VBFA table. pass the delivery number  and get data from VBFA.
    Regards,
    Prasenjit

  • BAPI for PGI against Delivery

    Hi all,
    I want BAPI for PGI against Delivery or any Function Module ,which Give All Error Message before PGI Posting.
    Thanks & Regards.

    Hi chaitanya,
    Can u please tell me what are the parameters that need to be passed in the BAPI "WS_DELIVERY_UPDATE" to get the PGI done.
    Thanks & Regards,
    Santhosh

  • Rework Order after QC Rejection......for Production against Sales Order

    Hi All,
    Can you help me in the following issue.........?
    I have Make to Order production scenario. After Production Order is confirmed material goes for QC inspection and some quantity get rejected ( need rework).
    Since I have confirmed total quantity in order confirmation, if I create a rework order with reference to the sales order that will increase the production qty by the rework qty. But I need a rework order to rework on the rejected quantity.
    Let me know how to resolve the issue.
    Thanks and Regards,
    Samar

    Hi!,
    From your mail it seems that you are doing quality inspection on GR (inspection type 04). Please carry out following steps:
    1) At the time of quantity posting on usage decision please put rejected quantity in field against retuen to vendor (i.e. carry out 122 movement for the rejected material). By doing this you will find the delivered quanity on prod order reduced by the rejected quantity.
    2) Now create a production order without material (CO07) for the rejected quantity and put the original order as cost receiver in the settlement rule so that all the cost incurred during rework will be settled on original order.
    3. Confirm the origianl order / Final operation again for the reworked quantity and make the GR again. This will again create a new inspection lot.
    4. Carry out the result recording and UD for this new inspection lot.

  • Interface for  BAPI for creation of Sales Order.

    hai,
    what does meant by creating interface for BAPI to create sales order. and how to create the interface for BAPI to create sales order.

    Check Transaction BDFG and BDBG.
    BDBG is to create an interface for the BAPI
    http://help.sap.com/saphelp_nw04/helpdata/en/43/b46c4b53c111d395fa00a0c94260a5/frameset.htm
    BDFG is to create an interface for the FM (non BAPI).
    http://help.sap.com/saphelp_nw04/helpdata/en/00/a814b5d05b11d6b2ca00508b6b8b11/frameset.htm
    Regards,
    Naimesh Patel

  • MRP AGAINST SALES ORDER

    Dear All,
               when i am using MD50 for MRP of Sales Order, i am getting the message sales order is blocked for single item planning, though this t code is used for Multilevel planning. My sales order bom has 3 levels.
    Regards,
    Anil

    hi anil,
    check for reason for rejection against sale order line item in thse sale order.  There should not be any reason for rej in that field.
    check this out.
    reg
    Kiki
    Award points if this helps.

  • BAPI For PGI for sales order

    Dear all,
    I want BAPI for PGI(Post Goods Issue) against sales order.Can anybody suggest BAPI for this?

    Hi,
    For delivey, we can use BAPI_OUTB_DELIVERY_CREATE_SLS also, along with those mentioned above bapis.
    Even i too had the same requirement earlier, that is, a BAPI for PGI, but dint find any. Finally we did BDC for the PGI part of the sales cycle.
    Regards
    Kalyani

  • TCODE for Process order creation against Sales order

    Hi gurus,
    Pls tell me what is the TCODE for Process order creation against Sales order
    Eg. CO07 is for production order from sales orde

    Typically, in MTO scenario after the sales order is created you run MRP which will create planned order and then you convert that into production order using MD04.
    Or if you have SD settings correctly directly from the release of Sales Order it will create planned order or production order.
    please check and revert back.

  • Report for Sold to Party code against Sales order number

    Hi,
            Is there any standard report to take out the Sold to Party code against Sales order number as i have the sales order number.
    I don't want to use Tables ,so pls tell standard report if any.

    Dear   Monty garg.
    You can use u201CVA05Nu201D to find the sales orders which have been created against for the particular customer/sold to party.
    Please let me know if any further clarifications pertinent to this.
    Thanks&Regards
    Raghu.k

  • Cancel Billing ,Material Document(PGI),Delivery,Sales order

    hi experts,
    pls help me Cancel Billing ,Material Document(PGI),Delivery,Sales order.
    so when ever given to billing number cancel to all the document
    plz send to me code and suggestions.
    plz it is urgent.
    advanced thanking you.

    you can do that from VF02 - application menu - billing document - cancel.
    if you want to do that from program use standard bapi's to cancel BAPI_BILLINGDOC_CANCEL1... also please reffer to transaction code BAPI for more bapis to reverse pgi - or you can write a BDC to reverse pgi - tcode is vl09.
    i dont think you cancel  order but you can delete depending on your config. check out in application menu on va02. use bapi BAPI_SALESORDER_CHANGE to reject the items in sales order.

  • STOCK RESERVATION AGAINST SALES ORDER IN MAKE TO STOCK SCEANRIO

    Presently in our system stock is get blocked or reserved against Sales order in MAKE TO STOCK sceanrio.
    Now we required to remove the stock resrvation against sales order,where we have to make the changes in SPRO?
    Please specify.
    regards,
    NITIN

    Hi Nitin
    Try with MB1B movement type 411 E
    This will pull back from the sales order reserved stocks back to unrestricted
    I dont understand your comments of how the MAKE to STOCK process is getting reserved for sales orders automatically
    somebody has to make atleast a sales order to reserve ?is it so?
    Or somebody is saving a sales order and saving delivery too without PGI?
    In OVZ9 for your combination (checking rule A and checking group pf your material as maintained in MMR) you can remove the tick from the check box of  include sales requirements
    Regards
    Raja

  • Reg.Purchase against sale order

    Dear Friends
    Anybody have idea regarding purchase material against sale order and that will be kept as stock.
    As and when it is used according to the requirement. The procurement should be posted to stock account in purchase order itself. how to do it. pls help me.
    Thanks
    Rajakumar.K

    Dear ,
    i thinck ur company using trading business
    based on sales order u can create PO with account assignment E Sales order , system will asl sales order number in account assignment data at item detail level.
    the process will be
    Pre-shipment Shipment Procedure :
    1) create a sales order
    2) create PO with account assignment E where system will ask for sales order number
    3)delivery with vl10n
    3) preshipment invoice-VF01
    POST-SHIPMENT Procedure:
    1) do the GR the stock will be invetorized for ur sales order
    2)invoice verification MIRO
    3)Final Delivery: vl02 u have to change the intial delivery
    4)Final (Post-Shipment) Invoice: VF01
    work with ur FI consultant for G/L accounts
    Regards
    venu gopal
    Edited by: venu kk on May 19, 2009 6:36 AM

  • Reg.Stock keeping against sale order

    Dear Gurus
    how to purchase and keep stock against one sale order.pls explain,more over in our concern the material goes to consumption account with account assignment category E, but should not keep blank the AAC field in PO,I tried in my level best but no gain.

    Dear
    If you wnat to block a stock for the particular sales order then you can convert the unrestricted stock to the sales order stock.
    but you need to also customize for the requirement type that is determied so that it can take the sales order stock
    i think the movement type 412 E can be used for moving from normal stock to sales order stock
    thanks
    Virandr

  • Account Assignment Error When Posting GI Against Sales Order

    Hello SAP Experts,
    We are currently experiencing a problem during goods issueance against sales order (VL02N). The system terminates the issueance and gives error:
    "Account XXXXXX requires an assignment to a CO object".
    We have tried maintaining the GL account in OKB9 and assign a default profit center there but i didn't work. The material master also contains the profit center. We were only able to post the transaction if we try to default the a cost center in FS00. However we dont want to assign a default cost center as cost centers differ by plant. We are wondering why it asks the cost center considering that it already contains the sales order assignment. We checked the field selection of the GL account, movement type and even the posting key and all showed that the cost center is not required. We are now in a dead end situation here. Please please help us.
    Thanks in advance!

    Hello Praveen,
    Thank you for your immediate response.
    What confuses me is the fact that it asks for a CO element when in fact it is already assigned to one (it is goods issuance against sales order). Do you know why is the system behaving that way?
    Thanks!.

  • How to use the BAPI_GOODSMVT_CREATE for Transfer posting Sales order

    Hi Friends,
    How to use the Bapi BAPI_GOODSMVT_CREATE for transfer posting sales order to sales order.
    pls, send the list of parameteres to pass to the bapi, if program avail please send it to me.
    Thanks in advance
    Shankar

    You have to pass Header and GM code as the INput parameters for uing this BAPI....GM code would be structure.
    Also you have to pass the INternal table Item for the goods mvt cxreate which will contains
          BATCH.
          MOVE_TYPE.
          ENTRY_QNT.
          MOVE_PLANT.
          MOVE_STLOC.
          MOVE_BATCH.
          MOVE_REAS
    these parameters.
    Regards,
    Sushil.

Maybe you are looking for

  • How to go from full subscription to Photographers package?

    Hi all, I have a quick question. I recently got into photography and subscribed to the full Creative Cloud subscription - but I only use PS and Lightroom. I don't have any previous versions of PS or LR - in that light, how do I get the photographers

  • How can I get the name of a output module template

    Hey guys,      SDK newbie here.      How can I get the name of every output module template?      Thanks Zhiqiang Li

  • Trouble using sound effect samples in Logic 7.2.3

    I'm using a Mac book Pro (10.4.11) and I've got these samples of sound effects (aiff format) that I want to triger with the Ultrabeat plug in. the built in samples that come with Logic (in the loop browser) work just fine. but when I try to load a th

  • Oracle 11gR2 in RHEL6

    Hello, Can I install Oracle 11gR2 in RHEL6 UK? Thanks. Suli

  • Firefox program is extremely SLOW.

    I have used Firefox for a long time. I don't know what happened lately, but my Firefox is extremely SLOW. Takes minutes to change or to move to another item or chose another TAB. For awhile the screen would get weak and fad almost blank. When logging