Bapi for Inbound EDI Processing

Hi All,
There is a BAPI for creating Goods Movement BAPI_GOODSMVT_CREATE. I want to use this BAPI for triggering Inbound Processing. I need help configuring the interface for creating goods movement using BAPI.
I have successfully configured the inbound processing using process code WMMB, which triggers function module L_IDOC_INPUT_WMMBXY. But this FM or rather the idoc type WMMBID02 does not have any fields for Catch weight items and I do not want to create any extensions on this IDOC type.
So was wondering if the BAPI BAPI_GOODSMVT_CREATE can be configured for EDI Inbound Processing.

hi,
try to use message type MBGMCR, it calls function module IDOC_INPUT_MBGMCR and
then BAPI_GOODSMVT_CREATE...
regards,darek

Similar Messages

  • Finding BAPI for  inbound Delivery change(VL32N)

    HI,
    Plz help me For finding BAPI for  inbound Delivery change(VL32N).
    I have to pass delivery no as input parameter and should able to change shipment heder information
    like Special processing indicator.
    REGARDS,
    Sunil Sahoo.

    hi ,
    there are three  BAPI  your requirment
    1) BAPI_INB_DELIVERY_CONFIRM_DEC
    2) BAPI_INB_DELIVERY_SAVEREPLICA
    3) BAPI_INB_DELIVERY_CHANGE
    but for requirment
    The third BAPI
    BAPI_INB_DELIVERY_CHANGE
    will Sound promising. try this out
    regards
    Prashant

  • Function Module / BAPI for Inbound Delivery from Purchase Order

    Hi,
    I need to create an inbound delivery from Purchase Order items and am looking out for some Function Module or BAPI for the same.
    The requirement is that i should be able to specify selected line items from PO for delivery.
    I tried the BDC method for VL31N , but the particular item selection is problem, since by default it shows all the items of PO and i want only selected items.
    Do reply.
    Thanks in advance.

    check these and their documentations.
    BAPI_INB_DELIVERY_CHANGE       Change inbound delivery
    BAPI_INB_DELIVERY_CONFIRM_DEC  BAPI for inbound delivery verification from a decentralized system
    BAPI_INB_DELIVERY_SAVEREPLICA  BAPI Function Module for Replication of Inbound Deliveries
    Regards
    Prabhu

  • BAPI For Inbound Delivery using Purchase Order Number

    Hi All,
    Is there any BAPI for posting Inbound Delivery (VL31N) using Purchase Order as reference.
    thanks
    bobby

    Not sure what it has to do with enhancements and modifications, but there is no such BAPI:
    http://tech.groups.yahoo.com/group/ABAP/message/38307
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/bapi-for-inbound-delivery-creation-and-update-vl31n-1201265
    FYI all BAPIs may be viewed in BAPI transaction.

  • Bapi for inbound delivery using PO

    Hi experts,
    I want to create a bapi for inbound delivery using PO.
    which bapi or FM should i use and can you send me the code for that.
    Thanks,
    Rajiv

    Hi Rajiv,
    Please check this FM --> BAPI_DELIVERYPROCESSING_EXEC
    Please check these threads
    Bapi to create inbound delivery
    BAPI to create inbound delivery
    Hope this would help you.
    Good luck
    Narin

  • Using BAPI for outbound delivery processing "BAPI_DELIVERYPROCESSING_EXEC"

    Hi all,
    I am using this bapi "BAPI_DELIVERYPROCESSING_EXEC" for Outound delivery processing. But How can I use this BAPI for Batch Split functionality. Because Here we have to enter batch also while processing outbound delivery with reference to Sales Order. Please reply anyone on high priority
    Regards,
    Venkat
    Ph: 9990417848

    Hi,
    When u r using BAPI then include in it this batch Split fnality like do the recording in SHDB and transfer recording and in this recording record the batch split.
    Also what u can do is create a BDC and include the std bapi with this batch split in it.
    Regards
    Krishna

  • Mapping fields for REMADV EDI process

    Does anybody know the fields we would need to map in our idoc that would allow us to have reference key 1, reference key 2, and the text field populated with data in the payment advice after running our bd87 for our REMADV edi process? Currently we have the other fields necessary filled in to get most data to our payment advice, but our users are asking that these 3 fields are updated as well from our idoc.

    Hi Tony,
    - The part that is painfully slow is when you need to
    map the fields of the aggregated attribute to the DB
    fields. It takes 30 seconds to open a drop-down box
    for the DB field selection. Sometimes freezes
    altogether (or maybe I was not patient enough)This is definitely not good and I haven't seen this problem before. It would be great if we could fix this before the final 10.1.3 release. Could you send me your project at [email protected] ? I shouldn't need the class files, just all of the workbench xml files. You can just send the 9.0.4.5 project if that is easier.
    One additional thought. When I was recreating my
    project in 9.0.4.5 it complained untill I have
    included all of the jar files into my project
    classpath. 10.1.3 was less demanding in that respect.
    Could it me that those unresolved references were
    slowing the mapping?What exactly do you mean by it complaining? Do you mean that it wouldn't let you generate deployment xml? In 10.1.3 there is no longer a requirement to have class files on the classpath when generating deployment xml. You will only need them to import or refresh classes.
    Karen Moore

  • BAPI for inbound delevery (VL31N)

    Hi Gurus,
    I want to create inbound delevery (VL31N). I am getting an inbound IDOC containing ASN details.
    Is there any BAPI which can create inbound delevery?
    Thanks in advance.
    Srimanta

    Hi,
    Refer the link
    BAPI for VL31N:Create Inbound Delivery
    DATA: IS_INB_DELIVERY_HEADER LIKE BBP_INBD_L.
    IS_INB_DELIVERY_HEADER-DELIV_EXT = 12121
    IS_INB_DELIVERY_HEADER-DELIV_DATE = 08/16/2006
    DATA: T_DETAIL LIKE LIKE BBP_INBD_D OCCURS 0 WITH HEADER LINE.
    T_DETAIL-MATERIAL = 'xxx'.
    T_DETAIL-DELIV_QTY = '10.000'.
    T_DETAIL-UNIT = 'EA'.
    T_DETAIL-PO_NUMBER = '45XXXXXX.
    T_DETAIL-PO_ITEM = '000010'.
    APPEND T_DETAIL.
    DATA: T_RETURN LIKE BAPIRETURN OCCURS 0 WITH HEADER LINE.
    DATA: V_VBELN TYPE VBELN_VL.
    CALL FUNCTION 'BBP_INB_DELIVERY_CREATE'
    EXPORTING
    is_inb_delivery_header = is_inb_delivery_header
    IMPORTING
    EF_DELIVERY = V_VBELN
    tables
    it_inb_delivery_detail = T_DETAIL
    return = T_RETURN
    Hope it helps
    Regards
    Sumana

  • BAPI for Inbound Delivery(IBD - VL31N)

    Hi all,
    I need to create an inbound delivery with reference to PO  using bapi which is retreived by an IDoc. I cannot use standard Process code to Create it because i need to do validations and convert UOM etc).  In that i need to use Container No E1EDL37-EXIDV2(Idoc field).
    May i know which bapi which suits for this requirement.
    Thanks & regards
    sreehari p

    Hi Rajiv,
    Please check this FM --> BAPI_DELIVERYPROCESSING_EXEC
    Please check these threads
    Bapi to create inbound delivery
    BAPI to create inbound delivery
    Hope this would help you.
    Good luck
    Narin

  • ATP check for inbound EDI order

    Hi Friends,
    When I am creating outbound sales order then ATP check is getting executed properly & multiple schedule lines are getting creating in IDOC also (depending on the avaibility of stock).
    But When I am trying to create the inbound sales order via EDI/IDOC there is no ATP check performed & multiple schedule lines are not getting created in sales order(as per the avaibility of stock which I am checkin thro So09 tcode).
    ANy1 has faced smilier problem in past. If yes then please let me know how to solve this problem of ATP check.
    PLease let me know as soon as possible.
    Many thanks in advance
    Br, Prashant

    HI Frndz,
    problem is solved by using following customizing settings
    Customizing:
    SD/function/requirement availability/availability check/default (OVZJ)
    Change the field "Rule availability" to the required value. You receive a list of the possible values using the possible entries pushbutton. Rescheduling is regarded as background processing. If you want to allow partial deliveries, choose the value 'E'.

  • BAPI for inbound delivery creation

    Hi,
    I have to create and modify inbound deliveries from a code, so I'm wondering if exists any BAPI (or function module) to create or modify inbound delivery.
    Thanks in advance

    This is an example of BAPI_INB_DELIVERY_CHANGE. It is in the documentation of the function
    I hope it helps you...
    Example
    If you want to change the quantity for a distributed quantity, then following entries are required for the transfer to the connected system:
    In the header data of inbound delivery parameter (HEADER_DATA)
    The delivery number (DELIV_NUMB)
    In parameter item data of inbound delivery (ITEM_DATA)
    The delivery number (DELIV_NUMB)
    The delivery item (DELIV_ITEM)
    The delivery quantity in sales unit (DLV_QTY)
    The actual delivery quantity in base UoM (DLV_QTY_IMUNIT)
    The sales unit (SALES_UNIT)
    The ISO code for the sales unit (SALES_UNIT_ISO)
    The base unit of measure (BASE_UOM)
    The ISO code for the base unit of measure (BASE_UOM_ISO)
    In the control of the inbound delivery at item level parameter (ITEM_CONTROL)
    The delivery number (DELIV_NUMB)
    The delivery item (DELIV_ITEM)
    The Change Delivery Quantity indicator(CHG_DELQTY)

  • Port values for inbound IDoc processing

    We're using GIS to send IDocs into SAP, and are switching over to using file-based rather than tRFC due to some file size issues.
    Can someone clarify for me why EDI_DATA_INCOMING needs a file port for loading (makes sense to me), but the receiver port (RCVPOR) value in the IDoc control record has to be SAP<sid> for the IDoc to load properly?  I would expect that having a receiver port equal to the file port that we're receiving files via would be correct.
    Thanks,
    James

    Hi James,
    Why does EDI_DATA_INCOMING need a file port for loading?
    The file port is used to determine the file type of the  input file whether is flat or XML file.
    If the file type is XML, then FM EDI_DATA_INCOMING will call FM IDOC_XML_FROM_FILE to process inbound IDoc file. Otherwise, it will call FM IDOC_INBOUND_FROM_FILE for processing the IDoc input flat file.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Program for inbound idoc processing

    Hi,
    Can anyone provide a sample program structure to process inbound idocs to create delivery and change BOM? Appreciate any help
    Thanks,
    Michael

    Hi gaurav,
    thanks for you reply.
    Can you give an example
    thanks & regards

  • Need BAPI for COR1(Create process Order)

    Hi Gurus,
    I need a BAPI or Function module for create process order (Tcode - COR1)
    for which i am passing Plant, storage location,produced material number, quantity to produce,
    received material,quantity to recived.
    Regards,
    Vijay Mekala

    Hi,
    is there any other BAPI or function module for COR1...
    Regards,
    Mekala Vijay

  • BAPI for Inbound delivery

    Hi,
    I am interested knowing, if there is any BAPI available for doing Inbound Delivery in SAP.
    I have a requirement to do partial inbound delivery which I cant do with VL31n or VL30. even if can do with these transactions,
    I will not be able to run them in background.
    Any help in this regard is highly appreciated.

    Hi all, was working with similar problem.
    I used GN_DELIVERY_CREATE and wrapped it up into method.
    May be will be useful.
    It creates inbound delivery by PO/STO
    Method signature :
    I_EBELN     Importing  Type     EBELN Purchasing Document Number
    I_COMMIT Importing Type     ANY Commit database changes
    I_LFDAT     Importing    Type LFDAT SY-DATUM
    E_VBELN     Exporting    Type VBELN_VL Delivery
    ET_LIPS       Exporting  Type /SAPSLL/LIPS_R3_T
    ET_RETURN Exporting  Type BAPIRET2_T
    E_RC       Changing   Type SYSUBRC
    E_MESSAGE Changing   Type ANY
    Method itself:
    method create_inb_dlvr_by_po.
    *-- Logic for current method was extracted from
    *-- source code of VL31N dialog transaction
      data l_sd_doc_category type vbtyp value 'V'.
      data l_ibtyp type t163d-ibtyp value '2'.
      data l_func(1) value '1'.
      constants c_error(1) value 'E'.
      field-symbols <wa_xkomdlgn> type komdlgn.
      data lt_lips      type table of lips.
      data wa_lips      type lips.
      data lt_errors    type table of wuebs.
      data wa_errors    type wuebs.
      data wa_return    type bapiret2.
      data lt_wueb      type table of wueb.
      data wa_wueb      type wueb.
      data vbsk_i       type vbsk.
      data l_no_commit  type char01.
      data lt_xkomdlgn  type table of komdlgn.
      data lt_xvbfs     type table of vbfs.
      data lt_xvbls     type table of vbls.
      data vbsk_e       type vbsk.
      data lt_splitprot type vlikp_t_splitprot.
      data wa_tvlk      type tvlk.
      data wa_likp      type likp.
      clear: e_rc, e_message.
    *-- Prepare data for delivery creation
      wa_wueb-ebeln = i_ebeln.
      append wa_wueb to lt_wueb.
    *-- Get delivery type
      call function 'ME_CONFIRMATION_DELIVERY_TYPE'
           exporting
                i_func              = l_func
           changing
                c_ibtyp             = l_ibtyp
                c_lfart             = wa_likp-lfart
           exceptions
                function_not_valid  = 01
                param_value_missing = 02
                no_item_found       = 03
                error_message       = 04.
      if not sy-subrc is initial.
        e_rc = sy-subrc.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 into e_message.
        exit.
      endif.
    *-- Get default order type
      select single daart into wa_tvlk-daart
                          from tvlk
                          where lfart eq wa_likp-lfart.
      if not sy-subrc is initial.
        e_rc = sy-subrc.
        e_message = 'Delivery type not found'(001).
        exit.
      endif.
    *-- Fill communiaction table from PO data
      call function 'ME_CONFIRMATION_READ_AVIS'
           exporting
                ldate         = sy-datum
           tables
                t_kom         = lt_xkomdlgn
                t_wueb        = lt_wueb
                errors        = lt_errors
           exceptions
                error_message = 99.
      if et_return is supplied.
        clear wa_return.
        loop at lt_errors into wa_errors.
          wa_return-id         = wa_errors-msgid.
          wa_return-type       = wa_errors-msgty.
          wa_return-number     = wa_errors-msgno.
          wa_return-message_v1 = wa_errors-msgv1.
          wa_return-message_v2 = wa_errors-msgv2.
          wa_return-message_v3 = wa_errors-msgv3.
          wa_return-message_v4 = wa_errors-msgv4.
          append wa_return to et_return.
        endloop.
      endif.
      loop at lt_errors into wa_errors where msgty = c_error.
        message id wa_errors-msgid
           type wa_errors-msgty
           number wa_errors-msgno
           with wa_errors-msgv1 wa_errors-msgv2
                wa_errors-msgv3 wa_errors-msgv4
           into e_message.
        e_rc = 8.
        exit.
      endloop.
      check e_rc is initial.
    *-- Set delivery date
      wa_likp-lfdat = i_lfdat.
    *-- Prepare General Delivery Interface data
      loop at lt_xkomdlgn assigning <wa_xkomdlgn>.
        <wa_xkomdlgn>-lfart = wa_likp-lfart.
        <wa_xkomdlgn>-auart = wa_tvlk-daart.
        <wa_xkomdlgn>-vgtyp = l_sd_doc_category.
        <wa_xkomdlgn>-lfdat = wa_likp-lfdat.
        <wa_xkomdlgn>-lfuhr = wa_likp-lfuhr.
        <wa_xkomdlgn>-bolnr = wa_likp-bolnr.
        <wa_xkomdlgn>-verur = wa_likp-verur.
        <wa_xkomdlgn>-lifex = wa_likp-verur.
        <wa_xkomdlgn>-traty = wa_likp-traty.
        <wa_xkomdlgn>-traid = wa_likp-traid.
        <wa_xkomdlgn>-kzazu = charx.
      endloop.
      if i_commit is initial.
        l_no_commit = charx.
      else.
        clear l_no_commit.
      endif.
    *-- Create delivery
      call function 'GN_DELIVERY_CREATE'
           exporting
                vbsk_i        = vbsk_i
                no_commit     = charx
           importing
                vbsk_e        = vbsk_e
                et_splitprot  = lt_splitprot
           tables
                xkomdlgn      = lt_xkomdlgn
                xxlips        = lt_lips
                xvbfs         = lt_xvbfs
                xvbls         = lt_xvbls
           exceptions
                error_message = 99.
      if not sy-subrc is initial.
        e_rc = 8.
        message e398(00) with 'DELIVERY'(003) 'CREATION FAILED'(002)
          into e_message.
        exit.
      endif.
      if lt_lips[] is initial.
        e_rc = 8.
        message e398(00) with 'DELIVERY'(003) 'CREATION FAILED'(002)
          into e_message.
        exit.
      endif.
      loop at lt_lips into wa_lips.
        exit.
      endloop.
      et_lips = lt_lips.
      delete lt_lips where lfimg <> 0.
      if not sy-subrc is initial.
        e_rc = 8.
        message e398(00) with 'DELIVERY'(003) wa_lips-vbeln
                              'WITH 0 QTY. NOT SAVED!'(005)
          into e_message.
        rollback work.
        exit.
      endif.
      if l_no_commit is initial.
        commit work and wait.
        select single vbeln into e_vbeln from lips
               where  vbeln  = wa_lips-vbeln.
        if not sy-subrc is initial.
          e_rc = 8.
          message e398(00) with 'DELIVERY'(003) 'CREATION FAILED'(002)
             into e_message.
          exit.
        else.
          message s398(00) with 'DELIVERY'(003) wa_lips-vbeln
                                'CREATED'(004)
               into e_message.
        endif.
      else.
        rollback work.
        message s398(00) with 'DELIVERY'(003) wa_lips-vbeln
                              'CREATED'(004)
             into e_message.
      endif.
      e_vbeln = wa_lips-vbeln.
    endmethod.

Maybe you are looking for

  • How to set values of a parameterized message in ADF Faces?

    Hi all, i've got the following problem: I want to set the values of a parameterized message before i add the message to the FacesContext. Contents of the message resource bundle: testPage.successMsg.create=The device {0} was created successfully! Cod

  • Sync spots not working in 5.3

    Spot syncing with "no" spots is not working in Lr5.3 (did not work in 5.2 either) If I reset the spotting on a source photo and sync the "NON" spotting to a target photo that has spotting, the spotting is not cleared as it should be on the target pho

  • Can I download IOS 6 to my ipod touch o 3rd generation?

    I can't download IOS 6 to my ipod 3rd generation... and so many aplications needs of this system... anybody knows if I can download IOS 6 to my IPOD TOUCH 3rd generation?

  • Issues printing on shared Windows printer

    I'm trying to print on an HP LaserJet 1020 shared by a Windows XP computer. I shared the printer on XP, found it on the Mac, and added it as my default printer. (using the generic Postscript driver) When I hit Print on TextEdit, the document chugs fo

  • How can if find the most repeated character and number ???

    Hi, I have a question. For instance, if we have a text file which contains: aaabbbhhhhhhtttttsjs12366 How can i find the most repeated character and number. I have to add this code to the following program: I will aprreciate if you can help. Regards,