Transfer the Pur Order Info through BAPI's between SAP R/3 Systems Using XI

How to Create a Purchase Order for the Vendor and transfer this data through BAPI's between SAP R/3 Systems Using "Exchange Infrastructure(XI)".
Please kindly let me know the procedure for creating BAPI's and how to transfer this information between SAP R/3 systems. Please kindly mention the NAVIGATION for this scenario.

Hi Revathi,
If you want to do an IDOC to IDOC scenario, then the Points to be noted are:
1. You don’t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.
2. You import the IDOC and use the same in your mapping.
3. You do not need a sender IDOC adapter, and no sender agreement, but a receiver IDOC adapter and a receiver agreement is needed.
IDOC -> File scenario ref:
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
File -> IDOC ->
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
(It concentrates on XSLT mapping but also gives an idea about the configuration part. Do go thru that, it might help you.)
Apart from this if you need any info on how to configure your ALE, partnet profile,etc  drop me a mail, I have excellent tutors that can help you in the same.
Regards,
Bhavesh

Similar Messages

  • I am in the process of trying to transfer my iTunes library from one computer to another. Some of the music/film info has been edited (by me) in my library (using get info). When put onto new computer the info has gone back to before i edited it.. Help!?

    I am in the process of trying to transfer my iTunes library from one computer to another. Some of the music/film info has been edited (by me) in my library (using get info). When put onto new computer (following apple's instructions- using an external hard drive) the info has gone back to how it was before i edited it.. Help!?

    Hello,
    I would recommend taking a look at the article below for more information about migrating your iTunes library.
    iTunes for Windows: Moving your iTunes Media folder
    http://support.apple.com/kb/ht1364
    -Griff W.

  • How do you transfer the content from an iPhone to a PC? I have to use a PC for a while and don't know how to put my stuff on to there from my phone

    How do you transfer the content from an iPhone to a PC? I have to use a PC for a while and don't know how to put my stuff on to there from my phone

    If you're talking about music and movies an i-device was not designed for unique storage of media. It is not a backup device and media transfer was planned with you maintaining a master copy of your media on a computer which is itself properly backed up against loss. Syncing music and movies is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchases which can be transferred from a device to a computer.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only purchases from iTunes Store
    For transferring other items from an i-device to a computer you will have to use third party commercial software.  See this document by turingtest2: Recovering your iTunes library from your iPod or iOS device - https://discussions.apple.com/docs/DOC-3991

  • Sales order uploading through bapi

    hi
    i want to upload sales order to bapi pls give the code and i also error handling through bapi
    regards
    A.K

    Hi Awadhesh,
    pls look at this link you will get a clear idea and the code.
    http://abaplovers.blogspot.com/2008/02/bapi-sales-order-create-code.html
    Happy to help you.
    Regards,
    Viveks

  • Sales order change through bapi

    iam uploading va02 changes through bapi..but its not changing the sales order
    details in bapi_change function module item number its taking as zero. plz can any one
    say where iam going wrong.this is my code
    *______BAPI STRUCTURES
    data : bapi_header type BAPISDH1 occurs 0 with header line,
           bapi_item type BAPISDITM occurs 0 with header line,
           bapi_header_x like BAPISDH1X occurs 0 with header line,
           bapi_item_x type BAPISDITMX occurs 0 with header line,
         it_return type BAPIRET2 occurs 0 with header line.
    data: v_vbeln like BAPIVBELN-VBELN,
          v_bstkd like bapisdh1-purch_no_c,
          v_zterm like bapisdh1-pmnttrms,
          v_inco1 like bapisdh1-incoterms1,
          v_inco2 like bapisdh1-incoterms2,
          v_arktx like  bapisditm-short_text,
          v_koe1n like  bapisditm-currency.
    *_____ Internal to hold the records in the text file
    DATA : BEGIN OF it_header OCCURS 100,
      VBELN(10) ,
      BSTKD(35) ,
      ZTERM(4) ,
      INCO1(3) ,
      INCO2(28) ,
      POSNR(6) ,
      matnr(18) ,
      ARKTX(40) ,
    END OF it_header.
    *_____ Internal table to hold excel file data
    DATA : it_intern TYPE alsmex_tabline OCCURS 0 WITH HEADER LINE.
    SELECTION-SCREEN BEGIN OF BLOCK scr1 WITH FRAME TITLE text-111.
    PARAMETER : p_file TYPE rlgrap-filename OBLIGATORY .
    *paRAMETERS : p_header TYPE i DEFAULT 0.
    parameters :  p_begcol TYPE i DEFAULT 1 NO-DISPLAY,
                 p_begrow TYPE i DEFAULT 1 NO-DISPLAY,
                 p_endcol TYPE i DEFAULT 100 NO-DISPLAY,
                 p_endrow TYPE i DEFAULT 32000 NO-DISPLAY.
    SELECTION-SCREEN END OF BLOCK scr1.
    ___________START-OF-SELECTION________________
    START-OF-SELECTION.
    PERFORM convert_xls_itab. "to convert excel data into internal table
    ___________END-OF-SELECTION________________
    END-OF-SELECTION.
    *&      Form  convert_xls_itab
          text
    -->  p1        text
    <--  p2        text
    FORM convert_xls_itab .
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
       filename    = p_file
          i_begin_col = p_begcol
          i_begin_row = p_begrow
          i_end_col   = p_endcol
          i_end_row   = p_endrow
        TABLES
          intern      = it_intern.
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 2
      OTHERS                        = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    PERFORM move_data. " to move the data into an internal table
    ENDFORM.                    " convert_xls_itab
    ___________END-OF-SELECTION________________
    END-OF-SELECTION.
    PERFORM upload_so.   "to upload salesorder changes
    *&      Form  upload_so
          text
    -->  p1        text
    <--  p2        text
    *&      Form  move_data
          text
    -->  p1        text
    <--  p2        text
    FORM move_data .
      DATA : lv_index TYPE i.
      FIELD-SYMBOLS <fs>.
      SORT it_intern BY row col.  "Sorting Internal Table
      CLEAR it_intern.
      LOOP AT it_intern.
        MOVE it_intern-col TO lv_index.
        ASSIGN COMPONENT lv_index OF STRUCTURE it_header TO <fs>. " assigning each record to internal table row
        MOVE it_intern-value TO <fs>.
        AT END OF row.
          APPEND it_header.
          CLEAR it_header.
        ENDAT.
      ENDLOOP.
    ENDFORM.                    " MOVE_DATA
                       " move_data
    *&      Form  upload_so
          text
    -->  p1        text
    <--  p2        text
    FORM upload_so .
    LOOP AT it_header.
    Header
       v_vbeln            = it_header-VBELN.
       bapi_header-purch_no_c  = it_header-BSTKD.
       bapi_header-pmnttrms    = it_header-ZTERM.
       bapi_header-incoterms1  = it_header-INCO1.
       bapi_header-incoterms2  = it_header-INCO2.
    APPEND BAPI_header.
        bapi_header_x-updateflag = 'U'.
       bapi_header_x-purch_no_c  = 'X'.
       bapi_header_x-pmnttrms    = 'X'.
       bapi_header_x-incoterms1  = 'X'.
       bapi_header_x-incoterms2  = 'X'.
    APPEND BAPI_header_x.
    item
       REFRESH BAPI_item.
        bapi_item-ITM_NUMBER = it_header-POSNR.
        bapi_item-material =  it_header-matnr.
        bapi_item-short_text = it_header-arktx.
       bapi_item-currency   = it_item-koein.
        APPEND BAPI_item.
    bapi_item_x-updateflag = 'U'.
        bapi_item_x-ITM_NUMBER = it_header-POSNR.
        bapi_item_x-MATERIAL = 'X'.
        bapi_item_x-short_text = 'X'.
       bapi_item_x-currency   = 'X'.
        APPEND  bapi_item_x.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT         = V_VBELN
         IMPORTING
           OUTPUT        = V_VBELN.
    BAPI to change sales order
                       CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
                         EXPORTING
                           SALESDOCUMENT               = v_vbeln
                        ORDER_HEADER_IN             = bapi_header
                           ORDER_HEADER_INX            = bapi_header_x
                         SIMULATION                  =
                         BEHAVE_WHEN_ERROR           = ' '
                         INT_NUMBER_ASSIGNMENT       = ' '
                         LOGIC_SWITCH                =
                         NO_STATUS_BUF_INIT          = ' '
                         TABLES
                           RETURN                      = it_return
                        ORDER_ITEM_IN               = bapi_item
                        ORDER_ITEM_INX              = bapi_item_x
                         PARTNERS                    =
                         PARTNERCHANGES              =
                         PARTNERADDRESSES            =
                         ORDER_CFGS_REF              =
                         ORDER_CFGS_INST             =
                         ORDER_CFGS_PART_OF          =
                         ORDER_CFGS_VALUE            =
                         ORDER_CFGS_BLOB             =
                         ORDER_CFGS_VK               =
                         ORDER_CFGS_REFINST          =
                         SCHEDULE_LINES              =
                         SCHEDULE_LINESX             =
                         ORDER_TEXT                  =
                         ORDER_KEYS                  =
                         CONDITIONS_IN               =
                         CONDITIONS_INX              =
                         EXTENSIONIN                 =
    COMMIT WORK.
    ENDLOOP.
      IF IT_return-type = 'E'.
          WRITE: / 'Error :', IT_return-message, / 'for VBELN:',it_HEADER-VBELN.
        ELSEIF IT_return-type = 'S'.
          WRITE: / 'Successfully CHANGED', it_HEADER-VBELN.
        ENDIF.
    ENDFORM.                    " upload_so
    thanks

    hi
    You can use ORDER_ITEMS_IN. For further details use the documentation of the function module.This must help you in your requirement.
    regards
    Aakash Banga

  • Order confirmation through BAPI

    Dear Gurus,
    I am having a scenarion for heat treatment proces. In a single HT cycle there is a possibility of clubbing the multiple orders. For example I am having 2 orders... one for material A and another for material B. In these two orders operation 30 (in order A) and operation 40 (in order B) are HT operations. I am creating a group order. In this group order I will select the original order number and operation number (i.e. A-30 and B-40). And in this Z transaction I will mention the total activity consumption... this activity consumption will be segregated based on the weight of each order.
    After segregation of activities... I want to trigger the individual operation confirmation. This I am planning with the help of BAPI. I found BAP "". But during the testing (by giving order number, operation number and activity values)... I am receiving message saying that confirmation of order XXXXX saved. But I didn't find this confirmation data in Table. Please let me know ... what could be the reason.
    If you need any further clarification, please let me know.
    Regards,
    Surya.

    Hi Surya,
    Try the BAPI not from Se37, but from a test program. Also call the BAPI_TRANSACTION_COMMIT so that changes are saved permamnatly.

  • NO MATERIALs in the Sales order created through inbound idoc file

    hi,
    i have maintained the customer material number as well the SAP Material number in the tcode VD51,but still the inbound
    idoc type ORDERS03 is posting the application document(Sales order) without the materials.
    for instance,
    I have cust.material as CUSTMAT1 in the idoc file.
    I have maintained the CUSTMAT1 as cust material and 1001 as material no in VD51.
    After posting the inbound idoc file using RSEINB00 prg,the idoc is created and i can see the CUSTMAT1 in the material segment field
    The Sales order is created successfully ,but without the materials.
    i need the application document has to be posted with materialsm,can any one help me to solve this issue.?
    Thanks

    Hi ganesh ram
    In order to determine the Material Number with you custom material then you needs to have some configurations.
    Check with your Functional consultant to add the Access sequence for determining the Material Number with you custom material
    In Sale order processes...
    Thanks
    Ramesh

  • How to send the Sales Order to another user id within SAP

    Gurus,
    I have created a sale order through VA01.  Sales order number is generated.  Now that sales order I want to send it to another user.
    Is is possible, if how.
    I know we can send the reports like FBL3N, by selecting list and send there we can give the user id to whom we have to send.  Like that i want to send the sales order, how.

    Hi,
    For the standard report you can use the sending function from the menu, but sales order is a document, there is not the sending function in the maintenance view with t-code VA01 or VA02. Because the document should be printed out, you can define a condition type and create a condition record in background, let it send out a copy of sales order automatically when document saving.
    Hope it's helpful to you!
    Regards
    Tao

  • The interface between SAP and Banking system

    Hi gurus,
    Now we want to integrate SAP system and Banking system.I have some questions need to ask you.
    First, do we have any PI Content regarding that?I failed to find any content  in service market
    Second,which kind of adapter techniques I can choose to configure?
    Currently I think the possible solution may be as follows:
    1. Create custom ABAP program to generate txt files,then use XI FTP adapter to translate those files to another location,where banking system can dispose accordingly.
    2. The similiar techniques as 1,but to use ABAP proxy on SAP side.Through this way no txt files are generated,so it's more secure.
    3. Using idoc techniques.I'm very interested in that,but can we implement this scenario by using idoc?How?
    Any info or tips regarding banking data integration will be appreciated.

    When it comes to functional view,do you know what kind of data need be tranlated?
    This is again something that only the Bank can answer. There are many standards which are in use with various banks. e.g some banks use EDI for all types of processes. You have to confirm from the bank about the format in any case. It is also possible that the bank uses proprietary format. You may use both file or jdbc adapter.
    it seems XI supports FTPS protocal, right?
    Correct
    But some files may be need to be installed on WAS.
    The public certificate of bank.
    Regards,
    Prateek

  • Can you recommend the best way to do an integration between SAP and Dynamics?

    Hi,
    I have a requirement to develop a integration process between SAP and Dynamics. Both environments will be deployed in Azure, so there isn't any on-premise machine involved.
    I've to implement two different business processes:
    A request is received from SAP and some data is sent to Dynamics
    A request is received from Dynamics and some data is stored in SAP
    My client is requiring me to define a cloud integration architecture that fits to the requirements.
    Doing some research, I have thought three possible architecture models.
    Use BizTalk Server as IAAS: the provision a full BizTalk virtual machine will fit each requirement. The bad thing is that it will have a big cost for the client.
    Use BizTalk Server as PAAS using BAS: other alternative the using BizTalk Services instead of a BizTalk VM. My idea with this model is using BAS to connect with the SAP and use WCF to connect with Dynamics web services. Can you tell me
    if this model is feasible? Should be the SAP machine a Windows machine in order to install BAS?
    Use BizTalk Server as PAAS using SB Queues: other alternative the using BizTalk Services instead of a BizTalk VM. My idea with this model is using
    SB Queues to connect with the SAP and use WCF or other SB Queues to connect with Dynamics. Can you tell me if this model is feasible? Is required a intensve development in both SAP and Dynamics processes to implement the
    communication using SB-Queues?
    Please, if you have other architecture models that fit better to my requirements, I'd be so grateful for this information.
    Many thanks for your help.
    Best regards.

    I have a Mini and since it has BlueTooth,  got Creative Labs' T3150 BlueTooth speakers so I can "send" music across the house to them. The iPod Touch has BlueTooth, and would work for this kind of setup, I think.

  • Regarding Sales order Copy Through BAPI

    HI SAP Gurus,
    My requirement is to create a new SO from existing SO.
    I have tried BAPI_SALESDOCUMENT_COPY by passing SO No. and Doc. Type, It is working fine, but the header details like PO Number, PO Date and Shp.Mode. (In Shipping Tab)are not appearing in the newly created SO.
    Is there any other BAPI to copy an existing SO,
    Please suggest,
    Regards,
    Pavan.

    hi
    You can use ORDER_ITEMS_IN. For further details use the documentation of the function module.This must help you in your requirement.
    regards
    Aakash Banga

  • Sales Order Punching Through Bapi

    Hi Experts, I have got an assignment of doing Salesorder punching in portal and through web dynpro.
    I have used BAPI_SALESORDER_GETLIST through RFC connection. But can you tell me what diffrent Bapi's will be required for my task and where relevant documents can be found so that it may help to insert values in R/#

    answered

  • Function to send fax the attachment of the pur. order when i output control

    Hi friends,
    when i output control purchase order -
    user want to send also the attachment documents when i click on output push button.
    is anyone know how can i do that?
    wich function can send the attachmant to fax?(it could be image, document,excel...etc).
    thanks in advanced,
    Michal.

    Hi,
    Which FAX server software do you use?
    PO output with attachment is standard function in SRM.
    SRM -> PO with attachment via SMTP -> FAX server (attachment conversion) -> FAX protocol -> Vendor
    Regards,
    Masa

  • Production order confirmation through BAPI

    hi all,
    i have an issue regarding the order confirmation 'BAPI_PRODORDCONF_CREATE_TT'. the order is getting confirmed but the confirmed yield is not geeting updated . ihave passed the order number , operation , Activity Currently to be Confirmed, and unit of measure. can anyone please suggest on this . urgent. do i need to pass the quantity if yes where and which parameter and which quantity to pass to the function module.

    Hi , I have the same problem. When I am running BAPI_PRODORDCONF_CREATE_TT , after successful execution it gives msg that ORDER Confirmation saved. But when i check that in CO14, its not showing the update.

  • Changing Rejected Sales Order Items with BAPI?

    Hi Forum,
    I have the following challenge, would be great if someone of you could help me out. Will help me solve some of my performance problems.
    I have sales orders which are temporary and have 'rejected order items'. Now the requirement is that I have to change the 'rejected order items' (quantity and Delivery dates) based on some XYZ criteria. Now using the BAPI_SALESORDER_CHANGE bapi I have to
    1. first get rid of the 'REJECTION REASON'
    2. Change the order item and then reset the above.
    I tried doing it by populating the order_items internal table with two entries but to my surprise it works once and fails twice!!! I get some errors that are totally irrelated and wierd.
    As for now, I've just adjusted the program(dirtily??) and will be calling the BAPI twice for a change !!!(Huh!)
    Now if anybody knows how to deal with the above problem just drop a few lines, will be of good help to me.
    Thanks and regards,
    ZAM

    Hi Srinivas,
    Thanks for the reply. The rejection reason is set manually, when creating the sales order. I do set the update flag to 'U' and also activating all the X structures. But still it did not work.
    Let me put it very simple. Is it possible to change the rejected order items, through BAPI's? If yes, how?
    Regarding the error messages I will have to change the code again to recreate the messages will let you know as soon as I am finished with some things. But however here are some errors
    Field 'WMENG' cannot be changed, VBEPKOM 000100 0001 ready for input
    Field 'WMENG' cannot be changed, VBEPKOM 000100 0001 ready for input
    Sales document 0030000031 was not changed                           
    there are few others which appear now and then indicating a system error !!
    thanks,
    ZAM

Maybe you are looking for