How SRM decides confirmation transfer via RFC/IDoc?

Hi Experts,
I created single PO for both Goods and Service items in SRM ECS. I cannot confirm both PRODUCT_TYPE items (01 and 02) together in one document, can only be confirmed separately.
To create confirmation, SRM takes PO data from ECC, not from SRM (I guess its standard behavior), so I would like to know which FM separates and groups the Goods and Service items when we are inside CREATE CONFIRMATION page and we will find either Goods OR Service items?
Once confirmation is created, somewhere in the call stack starting from BBP_PD_CONF_TRANSFER, the field I_BE_OBJECT_TYPE gains value BUS2017 if its a Goods confirmation and BUS2091 for Service. According to this system creates IDoc for Goods and transfers confirmation via RFC for Service items.
Thanks!
Regards
Karthik

Hi Karthik,
The key function module here is BBP_PD_CONF_TRANSFER_V2 which gets called in a update task during the transfer.
If you go into this FM as below, you'll find where the system separates GR and SES.
FM BBP_PD_CONF_TRANSFER_V2
FM BBP_PROCDOC_TRANSFER
Form procdoc_transfer
Form transfer_grse
CASE i_be_object_type.
    WHEN c_b_se.
    WHEN c_b_gr.
Hope this could help you with your query.
Regards,
Wendy

Similar Messages

  • Data transfer via Rfcs

    Whenever the material master is created in ECC RFCs are triggered and the data is transferred to GTS via RFCs
    (no idocs are triggered)
    Is there any way out to stop this transfer
    how can can we know the mapping of what fields of ECC are mapped to which fields of the other system
    please advice

    Hi,
    let us say outbound is SAPLID server
    and inbound is SAPLER  server.
    we need to following setting in order to generate idocs. You can see the generated IDOC in WE02 TCode.
    Status code should be 03.
    In SAPLID Server :
    1. In the SALE transaction,
         - Application Link Enabling (ALE) --> Sending and Receiving Systems --> Logical Sysems --> Define Logical Systems
              - Click on 'New Entries'
              - Enter 'Logical System' & 'Name'.
                   SAPLID             Logical System for the server SAPLID
                   SAPLER              Logical System for the server SAPLER
              - Save it.
             - Application Link Enabling (ALE) --> Sending and Receiving Systems --> Logical Sysems --> Assign Client to Logical             System.
              - Client : 800          Sending system
                City : Hyderabad
                Logical System : SAPLID
                Std Currency : INR
                client role : Demo
         - Application Link Enabling (ALE) --> Sending and Receiving Systems --> Systems in Network --> Define Target Systems
           for RFC calls.
              - Select 'R/3 Connections' and click on 'Create' icon.
              - RFC Destination : SAPLER
                Connection type : 3
                Descripiton : RFC for Destination Server SAPLER
                Target host : SAPLER
                System Number : 00
              - Logon/Security
                Language : EN
                Client : 800
                User : USER6
                Password : RGSHYD
              - Click on 'Test Connection'.
              - Click on 'Remorte Logon'.
    2. WE 81 Message type config (DEBMAS - Customer Master)
    3. WE 30 Idoc type (DEBMAS06 - Customer Master data distribution)
    4. WE 82 - Adding Message type to Idoc type.
        DEBMAS ---> DEBMAS06
    5. WE20 Partner Profile
         Partner No : SAPLER
         Par.Type   : LS
         Type         : US
         Agent      : USER6
       OUtbound Parameters :
       Message type    :  DEBMAS
       Receiver Port   :  Zbkpfport
    Transfer Idoc Immediately
       Basic type      :  DEBMAS06
    6. BD64 MOdel View
         - Select 'model view' and click on Create Model View.
         - Technical Name : CUSTMODEL
            - Place the cursor on 'CUSTMODEL' and click on 'Add message type'.
              - Model View : CUSTMODEL
              - Sender : SAPLID
              - Receiver : SAPLER
              - Message type : DEBMAS
         - Save it
         - Environment --> Generate Partner Profile
         - Edit --> Modelview --> Distribute
    7. XD01 Create Customer Master
         - Create Customer Number : 0000000001
    8. BD12 Sending Customer Data
         - Customer : 0000000001
         - OUtput type : DEBMAS
         - Logical System : SAPLER
         - Execute it
    9. WE02 Idoc List
         - Direction : 1
         - Logical Message : DEBMAS
         - Execute it.
    in case if your IDOC is generated with errors (status would be red signal) get back me with status code.
    Regards
    Srikanth

  • Item category B & D, how SRM decides

    Hi all,
    When we create SC and PO goes to backend. It goes with one item category. Which are 3:
    1) Standard orders: Nil
    2) Limit orders: B
    3) Service Orders: D
    I want to know how SRM discriminate between B & D. I know that if you choose items from catalogs it goes as standard orders. Means, on what parameter it is decided that the item in SC will take category B or D in R/3.

    Hi,
    D is service items  : item category is a field in the SC structure.
    If you select item from catalogue, it can be a service or an item and the OCI (open catalogue interface between catalogue and SRM) will transfer the correct information on wether it is a service or a good.
    If non catalogue item (describe requirement) :
    there is a radio button to select manually service or good
    If this is a replicated material or service (from R/3 to SRM), the item contains the inforation (see transaction commpr01).
    For limit items, there is a special transaction and item category B is default one.
    Kind regards,
    Yann

  • WM  how to cancel confirmed Transfer Order

    Hi,
    I am new to WM, can you please tell how to cancel confirme Ttransfer order in WM.
    for example if post goods issues is compleated for delivery then the Transfer order will be created and the Trnasfer order confirmed manually, now  how to reverse or cancel the Transfer order.
    please advice
    Regards
    Kumar

    If the goods receipt is created, for example goods receipt for purchase order.After receiving the goods then we will putaway the stock by confirming transfer order.
    If we want to reverse the goods receipt then how to cancel the To.
    Pls advice
    First you should reverse the GR and then (based on settings in IM-WM interface) a new TR will be created and processing that TR (e.g. from trx LB10) you will create a NEW TO (stock removal TO).
    Regards,
    Csaba

  • MM-WM: Cancelling confirmed transfer order

    Hi Gurus,
    I have created a delivery with wrong quantity for "purchase order" then I packed material into handling units, completed 'putaway' and finally confirmed the "transfer Orders into warehouse but when I try to post goods receipt it raises an error : PU Ordered quantity exceeded by 20000 Message no. M7022.
    So I can't post it or I can't reverse delivery as it is not posted. Also I don't know how to reverse confirmed transfer order. Can any one explain me how to do it?
    Thanks
    Shiv

    Hi,
    You can cancel the confirm transfer order using LT0G, once you cancel it, you can cancel your delivery, and create a fresh delivery with the right quantity....
    Reward, if helpful.....
    Regards,
    Noopur

  • How to decide which adapter to use from IDOC and RFC?

    Hi All,
    When interating XI with an SAP system,
    How to decide which adapter to use from IDOC and RFC?
    Thanks.

    Hi,
    you can also consider to use ABAP Proxy if you are working with Systems based on SAP Web AS 6.40.
    Here some useful links:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/content.htm">ABAP Proxy Runtime</a>
    ABAP Proxies in XI(Client Proxy)
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    ABAP Server Proxies
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    How do you activate ABAP Proxies?
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    XI: Reliable Messaging EOIO in ABAP Proxies
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    More links for proxy:
    proxies and performance...
    Hope this help
    Francesco

  • What authorization required to post idoc from XI via RFC?

    Hi all,
    I need to post idoc to SAP R/3 system from XI. I have done all the steps correctly. While creating RFC in XI system to connect to the R/3 system, intially I gave my R/3 username and password and tested teh connection. Everything was working fine but when I actually ran the scenario, IDOC was not getting posted in the R/3. But there was no error anywhere.
    fianlly after debugging I fould it might be the issue of authorization the the R/3 user i used in the RFC. I then assigned SAP_ALL authorization to my user and posted the iodc again and it started working fine.
    Can anyone please tell me what are th exact authorizations/role i need to assign to the r/3 used to use it in RFC and successfully posting the idoc? I dont want to use SAP_ALL authorization in my production environemnt.
    Please help.
    Regards,
    Yash

    Hi,
    Even i had faced this problem. Whenever I tried to send IDOCs, i used to get an error in SM58, " No authorization to send IDOC of type DEBMDM".
    When i got SAP_ALL it worked. However I raised a note with SAP asking for an alternative and this is the reply gave me.
    You can get good information on this topic in your online help files.
    The following is taken from the document "General Security Measures
    (ALE)":
    Use the transaction SALE to maintain the ALE configuration, to include setting up the distribution model and setting up ALE user authorizations and profiles. Note the following:
    - Be restrictive when assigning the ALE authorizations.
    The authorization profile B_ALE_ALL contains the following
    authorization objects that are needed for ALE:
    Authorizations for ALE
    Authorization Description
    B_ALE_CGRP ALE Customizing Distribution: Group Activities
    B_ALE_LSYS ALE/EDI: Maintaining logical systems
    B_ALE_MAST ALE/EDI: Distributing master data
    B_ALE_MODL ALE/EDI: Maintaining customer distribution model
    B_ALE_RECV ALE/EDI: Receiving IDocs via RFC
    B_ALE_REDU ALE/EDI: Generating messages (ex. reduction)
    S_PROGRAM ABAP: Program run checks
    S_TABU_DIS Table Maintenance (using standard tools such as SM30)
    Protect external users and passwords.
    For example, for a non-SAP system to send IDocs to a SAP System using transactional RFC, it must also send a SAP user ID and password.
    In most cases, the user and password are stored outside of the SAP System. Make sure that this information is not accessible to external systems or programs. (How you can do this is dependent on the system that you have; therefore, you need to refer to the documentation for the system where the information is stored.)
    However, I feel assigining the profile S_IDOC_ALL should also be enough. Just try and see.
    Regards,
    Merrilly

  • Transfer image files via RFC.

    Hi Gurus,
    I have 2 independent ERP systems A and B, they're connected via RFC, in system A there're some (.bmp) images uploaded via transaction SE78.
    My question is, is it possible to transfer image files from system A to system B via RFC? It it's, how?
    Best regards,
    Jack

    Can you please share the solution how did you achieve it?
    Thanks,
    Bhavik

  • Sending IDocs via RFC Adapter

    Hello!
    In an itegration scenario, we need to send (non XML) IDocs via RFC to a remote R/3 system (4.6C). As we don't want to get these IDocs persisted on the target system, it's intended to address the remote functions directly.
    Now the problem:
    - RFC Adapter only works with XML IDocs (so we cannot transfrom back to native IDoc)
    - IDoc-Adapter sends native IDocs, but only to IDOC_INBOUND_ASYNCHRONOUS on target system (and the Idocs will be persisted)
    In a next step, we also tried to implement a workaround with a local ABAP proxy on the XI system. But it seems, that it's not allowed to call a abap proxy locally on the integration engine.
    Has anybody any idea to solve this problem? Maybe I'm thinking too complicated Help is highly appreciated!
    Cheers,
    Matthias

    Hi,
    what kind of document you want to post?
    most (many) IDOCs use BAPIs so you can
    just call the BAPI (RFC) from XI
    >>>But it seems, that it's not allowed to call a abap proxy locally on the integration engine.
    you can call it on another client on the XI
    (which is set as application system in SXMB_ADM)
    Regards,
    michal

  • How do I make payment via wire transfer?

    I'm from Malaysia and I only have AMEX card, but is not accepted to make payment. How do I make payment via wire transfer?
    I am entitled for the promotion: Complete Special Offer for RM1,103/year and I would like to purchase it. Please help.
    Thanks.

    Hello gracepoon,
    one option would be that you use Contact Customer Care = http://helpx.adobe.com/contact.html, by clicking through the headlines.
    If none of the conditions is fulfilled, and if "open" please use chat, I had the best experiences. I quote from Preran: The chat button is activated as soon as there is an agent available to help.
    This contact link is "brandnew", please give it a try: What are my contact options?
    On the other hand you can have a look there: "Telephone numbers of customer service and technical support Adobe worldwide" >>>
    Adobe - Adobe worldwide customer support phone numbers
    Good luck!
    Hans-Günter

  • Problems with sending IDOC via RFC from Unicode to NonUnic

    Hello
    I have following problem, sending an IDOC via RFC from Unicode to Non Unicode System. IDoc is not sent with error: codepage of receiver system cant determined. receiver destination was: Message no. B1999
    I have tried different options in sm59, but it didnt help.
    Any ideas? The recipient system is rather old, version 4.0

    hey,
    I had a similar experience. I was interfacing between 4.6 (RFC), PI and ECC 6.0 (ABAP Proxy). When data was passed from ECC to 4.6, RFC received them incorrectly. So i had to send trimmed strings from ECC and receive them as strings in RFC (esp for CURR and QUAN fields). Also the receiver communication channel in PI (between PI and  RFC) had to be set as Non unicode. This helped a bit. But still I am getting 2 issues, truncation of values and some additional digits !! But the above changes resolved unwanted characters problem like "<" and "#". You can find a related post in my id. Hope this info helps..

  • How to Debug Functional Module called via RFC?

    Hi Experts,
         Please, can someone explain to me how to debug functional module that is called via RFC? Thanks in advance.
      Best Regards,
    Aleksandar

    Hi Laxman,
       First of all thank you very much for giving attention to my post. Ok, I am trying to debug function module in RM-CA (FICA), function module is called by CRM system (via RFC) and in addition all this chain is triggered by WebClient.
         I have user that can login on the CRM as well as on RM-CA (ECC 6.0) system, but those users are different (unfortunately I do not have administration permission so I can’t change profiles of my users but I can ask for it). I can without any problem debug calls that come from WebClient, so setting an external break point in CRM system I can catch whatever I want but when process comes to point where actually call to back-end (RM-CA) takes place I simply can’t get into functional module, that resides on RM-CA side. Actually what happens is that processing continues as was chosen ‘NEXT STEP’ (F6).
         To resume, two systems and two different users. Where XCM user should be created? (on RM-CA system or CRM). Should I change something in Menu option Utilities -> Settings -> ABAP Editor tab -> Debugging tab, in field users?  If you need any additional info please tell me.
      Thanks again for your support.
    Aleksandar

  • How connect FLEX and SAP R3 via RFC

    Hi all
    Can anybody tell me, how to connect the SAP R3 and FLEX via RFC.
    Is this possible or can only be via webservice?
    Regards and thanks,
    morojan

    Well in theory you could build a flex component that uses the RFC library to call SAP (and viceversa) but it sems like a lot of trouble when you can just use the existing HTTP/XML methods already available.
    Cheers
    Graham Robbo

  • How to compare two views/tabels from two systems via RFC

    Hello
    How to compare two views/tabels from two systems via RFC. I know there is a transactio or program but which

    Hi Tina,
    You can use a trnasactions like SCMP, SADJ or SCU0 - all tools to do comparison of customizing objects across clients/systems using RFC.
    Details of these tools, their usage and functionalities are available in the Help Portal -
    [http://help.sap.com/saphelp_47x200/helpdata/en/70/1accb7fab511d18e0f0000e8a48612/frameset.htm]
    Best Regards,
    Rekha

  • So, I am travelling to Italy next week.  I am from the US.  VW's "Trip Planner" suggests my iPhone 5s will not work there.  Then, they suggest (via options below) that I can send Txt for $0.050/txt and Receive for $0.05/txt.  How can I confirm which is tr

    So, I am travelling to Italy next week.  I am from the US.  VW's "Trip Planner" suggests my iPhone 5s will not work there.  Then, they suggest (via options below) that I can send Txt for $0.050/txt and Receive for $0.05/txt.  How can I confirm which is true?

    We are here to help! Where are you traveling to? How long will you be there for? What kind of services are you looking to use?
    KarenC_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for

  • Issue on borderless printing using android HP ePrint app with HP LaserJet Pro 200 color M251nw

    Hi, I am trying to print a pdf document which is of A4 size (11.7 x 8.3 inches without any borders) from android tablet using HP ePrint app along with the printer HP Laserjet Pro 200 color M251nw. When it is printed on A4 sheet, it adds the border on

  • ALV Report with Logo .. Print Out Problem

    Hello Guys.. I am facing and differerent problem , I have created one Report in ALV contain logo of my company and some other details as per selection screen. At the time of taking printoput the logo is not coming in print out only report data is  co

  • Why am I getting different values based on order of input when the task type remains the same?

    I'm having a hard time understanding the results I'm getting when I input task information. Here are the scenarios with different, unlinked fixed work tasks: I estimate a task will take 2 hrs to complete and put this into work. If I add 1 resource, w

  • Changing Mac Address/Static ip

    I recently bought an New iMac and Migrated everything over from my old mac. However I mistakingly migrated the Static IP address or MAC address from the old machine too! This is now giving me problems when trying to connect both machines to my networ

  • Migrating to new Active Directory Domain

    Hey people, I have a OSX Server here at a school which I need to move from an old Active Directory domain to a new one. We are having a restructure of our IT System and 90% of our equipment is PC but have a few macs on site for the specific tasks tha