BAPI to create Delivery and GI

Hello Expert,
I need to create the Delivery and Good Issue ata the same time with the information imported from another system. Do you know if there is a BAPI or RFC to create both documents (Material document and Accounting Document for Delivery) in only one step?
Thanks and Regards,
Pablo

Hi,
Have you tried "BAPI_GOODSMVT_CREATE" (Post goods movements).
If doesn't solve your problem you can create a wrapper BAPI using "BAPI_GOODSMVT_CREATE" and "BAPI_ACC_GOODS_MOVEMENT_POST" (Accounting: Post Goods Movement). Call one after the other.
Regards,
Srilatha.

Similar Messages

  • Need     RFC/BAPI    to create Delivery Order  with respect to  Sales Order

    Hi Gurus ,I'm   new  to  AB AP  Language   to be  working  in company
    so  can anyone  tel  me   FM/BAPI   to create  Delivery  order  with respect to  sales order(va01,vl01n)
    Any  sugg.. will appreciate  u.........
    Thanks in Advance...........

    Hi,
        Try this BAPI
    BAPI_SALESORDER_CONFIRMDELVRY
    Regards
    Bala Krishna

  • Create Delivery and billing in MM

    Hi friends,
    Iam doing the MM flow. now i want to create the delivery with referenece To purchase order. please tell me How to create delivery and billing with reference to PO.
    regards,
    dhanush

    Hi,
    whats the transaction codes for delivery, pgi, billing in MM
    For creating delivery use T.code;Vl04 for foreground, if you want to run in back ground use VL10b,Vl10H,Vl10G
    For PGI use VL02n & do PGI
    For billing in MM as usual use MIRO do invoice.
    Regards
    Ravi Shankar.

  • While creating sales order I am getting  Sanctioned party list blocked  but I am able to create delivery, and PGI

    Dear GTS Experts,
    While creating sales order I am getting  Sanctioned party list blocked, but I am able to create delivery, and PGI.
    Where Is the wrong ?
    Thanks a lot
    Venu gopal

    Dear Venu
    Based on your message shown in the system, can you check the field in Control Settings for System Reaction in the Document type settings via Application Levels in the feeder system. This Field '' System Response in Feeder system if SAP GTS fails'' should be maintained with ''A''. I think in your case it could be 'Blank'' Thats why the system is allowing you to create the subsequent documents accordingly.
    Please let me know if any further inputs required.

  • BAPI to create Delivery from Sales Order posting EIKP data

    Hi All,
    I'm searching for BAPIs to create a Delivery from Sales Order which I can update/insert data into EIKP table because I am receiving data that it must be saved into ZOLLA and ZOLLB fields (Customs Office: Office of Exit/Entry and Destination for Foreign Trade).
    I tried with BAPI_OUTB_DELIVERY_SAVEREPLICA, BAPI_OUTB_DELIVERY_CREATE_SLS and BAPI_DELIVERYPROCESSING_EXEC but I didn't find structures with these fields.
    Please, I need some help to resolve this issue.
    Thanks in advance.

    Hello Manoj what you have to do to create PO from PR is that
    1) Use   BAPISDORDER_GETDETAILEDLIST (pass sales order number in sales_document table) and then get PR (Purchase requisition number from this BAPI.
    2) Use  BAPI_REQUISITION_GETDETAIL to get PR items
    3) Use BAPI_PO_CREATE1 to craete PO from PR then.
    to create goods movement you can use
    BAPI_GOODSMVT_CREATE
    REWARDS IF USEFUL.

  • BAPI for create IR and GR

    Hi All,
    I would like to use the BAPI to create the IR and GR.
    But i don't know which BAPI is use for create the IR and GR . Could you mind give any information about this?
    Regards,
    Luke

    Hi Luke,
    The function module "BAPI_GOODSMVT_CREATE " would perform the task.  Please refer to the following link.
    http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
    Regards.

  • Problem in Creating Delivery  and PGI

    Hi Guru's
           My sales process is  Sales Order-- Delivery( PGI is not done here)- Billing-- (PGI is done after doing Invoicing)
          (1)  My user created one delivery for a quantity of ( say 100 quantity) and forgot to pick and assign batch in the delivery and created an invoice for the delivery. (Usually the system will ensure the delivery quantity and picked quantity is same when doing PGI and since we are not doing PGI before Billing the system allowed to create an invoice)
          While doing PGI the system is not considering this quantity because quantity is assigned and an excess quantity is showing in Stock Overview.how to correct this. and my situation is i cant cancel the invoice and assing the batch and do PGI.
        how to correct this quantity difference ?
      (2) Recently when doing Physical inventory they adjusted the quantity in the system by decreasing the quantity by said 100 quantity but there is a problem in doing new delivery( short of 100 quantity) because the already invoiced delivery is showing a requirement of 100 quantity. In order to do delivery they added that  100 quantity with same batch number.
             I want a solution for this please help me
    regards,
    Ravi Kiran
          I

    Hi Ravi kiran
    As your process is different so you need to go with the new sub-routine and you need to assign that   sub-routine in VTFL .then only the problem can be solved. . But if you are doing order related billing then in VTFA you need to maintain the item category . and also check the feild Overdelivery in 0VLP Then you can change the quantity in the delivery level
    Regards
    Srinath

  • SO created delivery and billing blocked

    Hi sap sd gurus
    I have a problem after creating a sale order , the one line item in sale order showing status of delivery blocked and billing blocked , now i am unable to post delivery and billing when i see in schedule line item order qty and confirmed qty is present.
    Now i want to find why this is blocked and remedy for removing this block .
    Could anyone suggest me in this issue asap
    thanks in advance
    Kanna

    Hi,
    In shcedule lines VOV6 you have maintained  delviery block that might be one of the reason to get item blocked for delviery...
    And also some body might set delivery and billing block manually at item level so please also look at change log of that document...
    Please go to VA02 and there at schedule lines data of item level there u just reomove the deliver block manually and then save the order and also at item level in billing tabage please remove billing block manually...
    Then  try to create delveiry and billing...
    Regards
    sankar
    Edited by: sankar sankar on Jul 9, 2008 3:00 PM
    Edited by: sankar sankar on Jul 9, 2008 3:03 PM

  • Bapi to create delivery for purchase orders

    Hi Expets,
    what is the bapi to create a delivery for purchase orders.urgent.please do the needful
    kiran j

    Hi,
       Check below link.
    Re: BAPI for Inbound delivery
    Re: BAPI_OUTB_DELIVERY_CREATE_STO

  • Argent Help Needed for VL01N(create delivery) and IW51(Create Notification)

    Hello All
         Requirement :
         when create a delivery using VL01N, at the same time, 'Notification creation'(IW51) will automatically being create.
         in short, when i'm creating a delivery and save it at same time 'Notification Creation' will autometically genetare.
         So, i think, change in SAP Standard Program..
         So how to do that or is there any way to do it??
    Thanks All
    Kaushik
    Edited by: The Kaushik on Aug 31, 2011 1:13 PM

    Hello Anjaneya,
    Business requirement is that, we dont want to create notification separately  because of our business sense.
    i have also find out the solution .
    BAPI_ALM_NOTIF_CREATE is the function module, for create notification in background.
    but now question is that,
    where to put this code in transaction VL01N or SAP Standard Program SAPMV50A.
    My Program is like,
    DATA: I_BAPI2080_NOTHDRI TYPE STANDARD TABLE OF BAPI2080_NOTHDRI WITH
    HEADER LINE.
    DATA: I_BAPIRET2 TYPE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE.
    DATA: I_BAPI2080_NOTHDRE TYPE STANDARD TABLE OF BAPI2080_NOTHDRE WITH
    HEADER LINE.
    DATA: I_BAPI2080_NOTFULLTXTI TYPE STANDARD TABLE OF BAPI2080_NOTFULLTXTI
    WITH HEADER LINE.
    I_BAPI2080_NOTHDRI-SERIALNO = 'XXXXXX5885'.    u201Cu can find this is vl01n
    I_BAPI2080_NOTHDRI-MATERIAL = 'XXXXXXXX20111'.  u201Cu can find this is vl01n
    CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'
      EXPORTING
      EXTERNAL_NUMBER          =
        NOTIF_TYPE               = 'S0'
        NOTIFHEADER              = I_BAPI2080_NOTHDRI
      TASK_DETERMINATION       = ' '
      SENDER                   =
      ORDERID                  =
    IMPORTING
        NOTIFHEADER_EXPORT       = I_BAPI2080_NOTHDRE
    TABLES
      NOTITEM                  =
      NOTIFCAUS                =
      NOTIFACTV                =
      NOTIFTASK                =
      NOTIFPARTNR              =
       LONGTEXTS                = I_BAPI2080_NOTFULLTXTI
      KEY_RELATIONSHIPS        =
        RETURN                   = I_BAPIRET2.
    CALL FUNCTION 'BAPI_ALM_NOTIF_SAVE'
      EXPORTING
        NUMBER            = I_BAPI2080_NOTHDRE-NOTIF_NO
    IMPORTING
      NOTIFHEADER       =
    TABLES
      RETURN            =
    u can not geting output here......but if u can run tcode : IW53, U can see that, notification will be created.
    Thanks
    Kaushik

  • Urgent requirement for creating delivery and doing PGI against the PO

    Hi Guyes,
                    I have a requirement where i need to create a delivery and need to do the PGI for STO. Means against the STO we need to do the PGI.Can you please inform me using which process code I can create the delivery and can do the PGI for one STO.

    Can we Use process code DELV to create outbound delivery against the STO and also can we do the the PGI by WMMB or DESA? If any body has any idea please reply me back

  • BAPI to create PO and GR

    Hi,
    Can anybody send me some sample code to handle multiple files in application server. My requirement is to create an interface to create PO and GR from the file residing in Application server. Multiple files will be in application server. No selection screens are there. BAPI used are BAPI_PO_CREATE1 and BAPI_GOODSMVT_CREATE. And If anyone has already created this interface, please give me some idea of how to read multiple files and if possible send some sample code.
    Any help will be greatly appreciated.
    Regards,
    Naveen

    Hi Naveen,
        Go through this link.
    BAPI_PO_CREATE1
    Re: Proble in Creating Multiple Item PO using BAPI_PO_CREATE1
    BAPI_GOODSMVT_CREATE
    http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
    http://www.4ap.de/abap/bapi_goodsmvt_create.php
    Reward Points For the Helpful.
    Regards,
    Harini.S

  • FM/BAPI to creating billi and the use of pos_sa_get_document_st?

    Hi all,
    I can found a function called in one of my reference program, it's purpose is for creating billing. However, I cannot find any any BAPI/FM which is used for creating the billing document, but here is a function named: "pos_sa_get_document_status".
    What's the use of this function?
    and also what function/bapi should I use when I creating the billing record?
    Please Note there will be no Sales Order.
    Regards,
    Mandy

    Have you looked at BAPIACCBILLINGPOST (Please search with this string).
    Thanks,
    Srihari

  • BAPI for create VIP and Group_d for BP

    Hey
    Do you know BAPI for filling fields VIP and Group_d from table BP001 for BP?
    Regards
    Radek

    Hey, thank you, with this BAPI I found bapi BAPI_BUPA_FS_TREASURY_ADD that suit my needs.
    BAPI FS_API_BP001_change is only for changing records, BAPI FS_API_BP001_ADD has some problems (short dump).
    Regards
    Radek

  • Batch not updating while creating delivery using bapi

    Hi
    I have used following bapi to create delivery BAPI_DELIVERYPROCESSING_EXEC and passed the following parameters into bapi
    lt_request-document_type = 'A'.
            lt_request-document_numb = deltab-vbeln.
            lt_request-document_item = deltab-posnr.
            lt_request-batch        = deltab-charg.
            lt_request-material = deltab-matnr.
            lt_request-plant = '3200'.
            lt_request-quantity_base__uom = deltab-kwmeng.
            lt_request-delivery_date = sy-datum.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
    EXPORTING
    DELIVERY_EXTEND =
    TECHN_CONTROL =
          TABLES
          request = lt_request
          createditems = lt_createditems
          return = lt_return.
    here i am able to create delivery successfully but the batch which i passed in bapi is not getting updated in vl02n to do PGI.
    again i need to go to vl02n and give batch and quanitty manually to do PGI.is there anyway that batch gets updated in vl02n also.
    Regards,
    Venkat.

    Hi
    My answer is pure assumption.
    Please check the following OSS notes
    Note 758810 - BAPI_PO_CHANGE vendor batch and batch not visible
    Note 1230268 - Field Vendor Batch never filled for PO BAPIs
    Please take help from BASIS and SAP, before implementing the OSS note
    Regards
    Madhan D

Maybe you are looking for