Inbound scenario using tRFC - serialization

Hi Guys,
I have the following scenario:
An external System is communicating with SAP using tRFC queue.
So from the SAP perspective this is an inbound scenario.
I am wondering if the sequence of the IDocs that are attached to the tRFC queue by that external system
is kept while they get processed on the SAP side.
To say it in other words: Will SAP process the IDOcs in the same sequence as they were attached to the RFC queue before?
So if there is a communication error will be the sequence kept after communication is established again?
Or do I have to build the timestamp serialization - what I want to avoid as the ALE input function module doesn't provide this.
Thanks a lot.
Achim

Hi Dheeraj,
the challenge with the "map the TLOG and create WPUUMS Idoc" is that inside the TLOG you are getting receipt based data. But for the WPUUMS IDOC you'd be expecting to see aggregated information.
The better and recommended way to integrate SAP POS with SAP Retail is to use the delivered standard integration with the following two data streams:
1. SAP Retail master data (e.g. articels, prices, promotions) to SAP PI to SAP POS
2. SAP POS - Transnet - SAP PI - SAP POS DM - SAP BW/SAP Retail
The advantage would be that aggregation is handled in POS DM and you have all the detail available in SAP BW and that you will be able to utilize the data collected for other processes as well.
Please check the Wiki for POS Integration which will give you a good overview about the integration and covered scenarios:
https://wiki.sdn.sap.com/wiki/display/CK/ExchangeInfrastructure-SAPPOS+Integration
For SAP POS DM you will find a wiki here:
https://wiki.sdn.sap.com/wiki/display/Retail/SAPPOSDM%28SAPPoint-of-SaleDataManagement%29
Additionally there are two courses focussing on this topics:
Integration: W26TGI
POS Data Management: W26POS
Kind regards,
Stefan

Similar Messages

  • SAP POS to R3 Inbound Scenario using XI

    Hi All
    This is the first time i am doing the SAP POS scenario so please explain in detail.
    I have to do SAP POS to SAP R3 Scenario.
    From SAP POS person i got one sales file which look like this.
    M 019800000000000000009073016191502710001000807103250                 00000000 00000000000                    0
    M 0198000000000000000090730162346027200010008071080                   00000000 00000000000                    0
    M 0198000000000000000090804124852027300010008071080                   00000000 00000000000                    0
    M 0198000000000000000090807152304027400010008071080                   00000000 00000000000                    0
    M 019800000000000000009080715392402750001000807103244                 00000000 00000000000                    0
    M 019800100222200222209073016592203670001000807103499                 00000000 00000000000                    0
    M 0198001002222002222090730165922036700020008071370                   00000000 00000000000                    0
    M 0198001000000000000090807153940036800010008071080                   00000000 00000000000                    0
    ST0198001000000000000090807153940036800020008071000905V9.5.10Build542009-7program     7001010000002097151129861619700101
    M 0198001000000000000090807153940036800030008071370                   00000000 00000000000                    0
    M 019800100000000000009080715402403690001000807103246                 00000000 00000000000                    1
    M 019800100000000000009080715402603690002000807103246                 30586568 00000000000                    0
    ST0198001000000000000090807154026036900030008071000905V9.5.10Build542009-7program     7001010000002097151129859619700101
    I have to post it to R3 using IDOC WPUUMS
    Sender side i have to use File adapter as i have to pic up a file from FTP.
    Receiver side i have to use IDOC adapter a i have to post it to R3.
    What are the things i have to do with respect to IS-Retail fundamentals, please explain in detail.
    What kind of mapping i have to use.
    Regards
    Dheeraj Kumar
    Edited by: Dheeraj Kumar on Oct 1, 2009 10:23 AM

    Hi Dheeraj,
    the challenge with the "map the TLOG and create WPUUMS Idoc" is that inside the TLOG you are getting receipt based data. But for the WPUUMS IDOC you'd be expecting to see aggregated information.
    The better and recommended way to integrate SAP POS with SAP Retail is to use the delivered standard integration with the following two data streams:
    1. SAP Retail master data (e.g. articels, prices, promotions) to SAP PI to SAP POS
    2. SAP POS - Transnet - SAP PI - SAP POS DM - SAP BW/SAP Retail
    The advantage would be that aggregation is handled in POS DM and you have all the detail available in SAP BW and that you will be able to utilize the data collected for other processes as well.
    Please check the Wiki for POS Integration which will give you a good overview about the integration and covered scenarios:
    https://wiki.sdn.sap.com/wiki/display/CK/ExchangeInfrastructure-SAPPOS+Integration
    For SAP POS DM you will find a wiki here:
    https://wiki.sdn.sap.com/wiki/display/Retail/SAPPOSDM%28SAPPoint-of-SaleDataManagement%29
    Additionally there are two courses focussing on this topics:
    Integration: W26TGI
    POS Data Management: W26POS
    Kind regards,
    Stefan

  • File -- IDOC scenario using XI 3.0

    Hi
       I tried out a simple flat file to IDOC scenario using XI as the middleware and tried to post documents of type CREMAS03 on the backend R/3 system.
    Now, I see that there is an IDOC number generated in the XI layer by the IDOC adapter. This IDOC number is seen under <SAP:DOCNUM>XXXXXXXXXX</SAP:DOCNUM>in the
    Response-->IDOCOUTBOUND section of the pipeline in SXMB_MONI
    According to SAP documentation :
    <b>To enable you to select IDocs in the target system later on, the system transfers the message GUID and the IDoc number in the ARCKEY field of the IDoc control record.</b>
    Now, I do find the XI msgid given as arckey in the control record of the Inbound in the target R/3 backend system. But I cannot find the XI IDOC number being cross referenced in the control record of the IDOC in the R/3 backend.
    1.Is there a way to cross reference the IDOC number in XI with the IDOC number in the R/3 backend ( we have two different IDOC numbers, right ) i.e a IDOC number to IDOC number cross referencing in this File-->IDOC inbound into the R/3 system scenario involving XI
    2. In the XI box, do we get as a part of async.reponse from the R3 system, the IDOC number that is created within the R3 system ? This would serve directly as a cross reference. Or do we have to indirectly query EDIDC table in the R/3 backend with the arckey value = msgid in XI - to retrieve the IDOC number created in the R3 backend ?
    Thank you in advance for your time.

    Hi,
    Pls look into following link about Acknowledgement.
    http://help.sap.com/saphelp_nw04/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm
    Pls note that , you can't get/receive the Acknowledgement for Sender File Adapter. Because File System acts as an Async system. But you can get the Idoc response and you can write it into another file. For this you need to use BPM.
    Hope this helps..
    Regards,
    Moorthy

  • Inbound Interface using Idoc

    Hi sir,
    I am working on an inbound scenario for goods movements from ABC system to SAP thru WPUWBW01 IDOC
    I have to do two things:
    Step 1: SAP read flat file from ABC sysem & Convert data from flat file into IDOC structure according to the agreed data mapping
    Step 2: Process IDOC  to create goods movement.
    I have very less idea on inbound scenarios. I know for outbound we used to write code in User exits.
    What about inbound one? where to write code.
    Please suggest.
    Regards
    Krishan

    Hi!
    1. By giving different parameters to the BAPIs. Check out transaction MIGO. You'll see A01 operation is for material income and R01 reference document is for purchase order. These fields can be located in the top left corner.
    2. Mostly standards are giving the basic, but you always have to copy it to your needs. Then enter your function module in WE42 transaction to the given process
    3. Of course you have to
    4. You have to separate them with an IF statement maybe. Don't forget to set statuses for the IDoc and for correct processing, use BAPI_TRANSACTION_COMMIT statement also.
    5. Pass
    Regards
    Tamá

  • RFC Scenario using BPM

    I did whatever mentioned in that blog(/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit). Also I do have some experience in BPM.
    After testing I don't see the file inthe outbound directory. So I started analysing from all sides.
    1. First checked the message in my sxi_monitor, it black and white flag showed that the message processed successfully.
    2. I opened the message and saw the message from CENTRAL Client passed to PE ADAPTER Client with tooltip showing "Transfer to Process engine".
    1. First I checked whether my BPM is correct by pressing F7. There is no syntax error.
    2. I checked in sx_cache, the ReturnCode was 0.
    3. In smq2 I saw a message stuck in the PE queue. I double clicked the queue and saw the status text as "Permanent error in BPE inbound processing".  So I kept debugging by pressing F8 and after that the message got disappeared.
    4. I opened the message in sxi_monitor, and after the CENTRAL Client the message passed to PE ADAPTER, which measn the meesage has got transferred to process engine. But i'm not seeing any change in the file.
    5. Also what I      did was use transaction SXMB_MONI and chose process radio button and execute. Located my message but there is no task value which starts with 'WS..' in Process def column.
    Can you please pinpoint where i went wrong and anything else?
    One more thing, everytime i test the new file the file goes and gets stuck in the queue and I have got to follow the item 3 mentioned above.
    Thanks,

    Hi Kishore,  The second block is a synchronous send block in the BPM triggers the call to RFC.  I've done it as per the blog.  There is no transformation step in the BPM.  Anyway I fixed the issue. In the receive block whatever container value I used should be used in the send block also. Earlier I was getting some warning. Now my BPM is clean and it worked.
    Lesson learnt: Ensure there is no warning in the BPM. Thanks again Kishore.
    Thanks,
    Edited by: XISearch on Apr 29, 2011 5:20 AM
    Edited by: XISearch on Apr 29, 2011 5:24 AM
    Edited by: XISearch on Apr 29, 2011 5:24 AM
    Edited by: XISearch on Apr 29, 2011 5:25 AM

  • Invoking a scenario using web service

    Hi Experts,
    Could anyone pls suggest how to pass variables from SOAP to ODI 11g(11.1.1.6.3)
    Here we are using wsdl utility to invoke a scenario using web service and trying to pass a variable like the below
    The scenario is triggered successfully without passing a parameter.
    But when i try to pass a variable like the below,am getting error
    Variables name='PROJECT_CODE'
    Variables value='JI-2015'
    In ODI 11g, i have generated a scenario with a variable PROJECT_CODE as a declare variable and tried triggering from both the environments
    From ODI 11g:
    When I try to trigger the scenario from wsdl, in that variable step(in operator), I got error as ODI-17546: Specified variable not found in the Repository
    But in the work repository SNP_VAR table I could still see the variable name under VAR_NAME column.
    From ODI 10g:
    When i try to do the same from odi 10g, the scenario execution is success.
    But the variable had taken only NULL value instead of taking the value which i passed from wsdl.
    Could you pls advise where am going wrong

    variable should be passed in the soap message by adding variables elements. Refer to Note ID [1499852.1]
    <Variables>
    <Name>Project.Variable1</Name>
    <Value>Variable1Value</Value>
    </Variables>
    <Variables>
    <Name>Project.Variable2</Name>
    <Value>Variable2Value</Value>
    </Variables>
    <Variables>
    <Name>Project.Variable3</Name>
    <Value>Variable3Value</Value>
    </Variables>

  • Inbound IDOC using  XML

    Hi,
    I need to create an Inbound IDOC using Function modules using an XML file as Input.
    I am using mySAP ERP 2004(WAS 6.4).
    IDOC type : HRMD_A05
    Message Type : HRMD.
    I am using the FM's in an ABAP report for testing, reading the data from the XML File using the FM GUI_UPLOAD .
    I tried using the FM <b>IDOC_INBOUND_XML_VIA_HTTP</b>,with import parameters XML_STREAM, CONTENT_LENGTH, CONTENT_TYPE, REMOTE_ADDR.(ALL Type Strings)
    This FM creates the IDOC successfully but i do not get the status record for the IDOC as there are no export parameters or tables where i can get the value.
    I am trying using the FM <b>IDOC_INBOUND_XML_SOAP_HTTP</b>,with import Parameters as <b>XML_STREAM type XSTRING</b>,and there is the export parameter ASSIGN ,type IDOC_ASSIGN_TAB and i was wondering if this could return the status.
    I used the same XML and used the FM "SCMS_STRING_TO_XSTRING", to convert the file input string into XSTRING.
    On executing this i get the exception,"NO DATA RECEIVED" .
    Can anybody Please Tell me
    1)How to get the status of an IDOC if i use the FM IDOC_INBOUND_XML_VIA_HTTP ?
    2)How to use the FM IDOC_INBOUND_XML_SOAP_HTTP ?
    3)Is there any other way to create an IDOC with XML input?
    Thanks,
    regards,
    Siddhartha Jain

    HI Nagarajan,
    I had checked the first link mentioned by you and activated the required service from Transacttion SICF,but still it didn't help.
    The second link points to the IDOC Adaptor for XI,guess it won't help as i'm not using XI.
    I want to pass XML data read from file and call a FM which creates and posts and IDOC into R/3 and returns the IDOC Number and Status.
    For this i found the FM's IDOC_INBOUND_XML_SOAP_HTTP and IDOC_INBOUND_XML_VIA_HTTP.
    The FM IDOC_INBOUND_XML_VIA_HTTP accepts xml as string and posts IDOC succesully,but i do not get the status and IDOC Number.
    The IDOC_INBOUND_XML_SOAP_HTTP accepts xml as xstring,so i used the FM SCMS_STRING_TO_XSTRING to convert the same xml string to xstring and pass it to the FM.But it gives an error 'NO DATA RECEIVED'.
    If i make few changes to the XML doc,to include SOAP envelope ,like
    <?xml version="1.0" encoding="UTF-8"?><HRMD_A05>.......</HRMD_A05>
    to
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><IDOC BEGIN="1">.......</IDOC></soap-env:Body></soap-env:Envelope>
    I get the error,the tag <IDOC BEGIN="1"> not found ,the IDOC XML should be of format <IDOC BEGIN="1"> <IDOC>.
    Can anybody please help on what to do/how to proceed.
    Thanks,
    Regards,
    Siddhartha

  • File to File scenario using Transport Protocol FTP  Problem

    Hi,
    my scenario is a file to file scenario using Transport Protocol FTP
    there are 3 systems involved
    a. computer 1 ( My system-source)
    b. computer 2 (XI server)
    c. computer 3 (Target system)
    I want XI to pick file from computer 1 and post it to computer 3
    I am logging on to XI server from computer 1(thro SAP GUI),
    <u><b>Sender communication  channel :</b></u>
    Transport protocol:FTP
    Messsage protocol: file
    <u><b>In FTP connection Parameters:</b></u>
    Server: computer 1 IP address
    port:21
    User name and PW---> I have given computer 1 Username and password.
    Connection mode: permanently
    Transfer mode: Binary
    Folder: C:\ftproot\output
    filename : given
    <u><b>In Receiver Communication Channel</b></u>
    Transport protocol:FTP
    Message protocol: file
    <u><b>In FTP connection Parameters:</b></u>
    Server: computer 3 IP address
    port:21
    User name and PW---> I have given computer 3 Username and password.
    Connection mode: permanently
    Transfer mode: Binary
    Put File: Use Temporary File
    Folder:
    eccserver\saploc\tmp
    filename scheme: given
    When I activate the scenario file is not getting picked from the source
    In Adapter Framework: Message says up and running No message processing now
    How to check FTP server is up and running on computer 1 (source system)and Computer 2 (XI server)?
    What could be the problem ?
    Thanks
    dushanth

    Hi
    Consider that I dont have FTP installed on my computer. According to this blog
    /people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang
    I have configured.
    In sender comm channel I have given Ipaddress of computer 1 (which has a file to be picked)
    In Receiver Comm channel I have given IP address of computer 3 (in which file to be posted)
    and computer 2 is the XI server
    Computer 1 has FTP installed
    1. XI server should have FTP installed or not ? IF yes is it FTP client  or FTP server   or Guild FTP (according to the blog is enough)
    2. Computer 3 should have FTP installed or not ?
    Please help me I am really confused.
    Thanks
    dushanth

  • Change inbound delivery using /SPE/IDOC_INPUT_DESADV1

    Hello -
    We are creating an inbound delivery using the idoc function module /SPE/IDOC_INPUT_DESADV1.  I have need to be able to change an existing delivery via idoc processing, so we are populating and mapping an E1EDL18 segment with the qualifier 'CHG'.  However, in /SPE/IDOC_INPUT_DESADV1, it does not appear to handle CHG.  I have debugged down into the code and in method PARSE_AND_HANDLE_IDOC_DELVRY03, when the segment is E1EDL18, there is a case statement that looks at the qualifier, and CHG is not dealt with. 
    Any ideas how to handle this?  Or is this a legitimate bug I should report to SAP?
    Thanks for any help!
    Sharon McClure

    Sharon McClure wrote:
    Or is this a legitimate bug I should report to SAP?
    Hard to say. Why not just report it? The worst they can do is say it's a consulting issue.
    Rob

  • File to SOAP Scenario Using BPM

    Hi,
    I am doing File to SOAP scenario using BPM.
    while doing Integration Process in IR, i got the following error message
    "Expression of simple type xsd:string expected"
    But i have given xsd:string in the correlation element as well as in Data types.
    I dont know why it is getting the error.
    could you anyone please help me to sort out?
    Regards,
    Sai Ch.

    Hey,
    Check in the correlation editor, where you define the condition.
    Whether the data type of the XPath is string and whether it matches with the data type of the messages that you have selected.also make sure the type of the correlation variable is string.
    regards,
       Milan

  • End to end scenario using Webservic and SAP XI

    Hi Experts,
                       I have read many blogs regarding Integrating XI using WebService, SOAP, HTTP  for many scenarios but I am still confused and no blogs were clearly saying about the end to end scenario what happens where and how?
    My question is could any one please please please explain me why we are using Webservice if you explain me with an CREDIT CHECK scenario using XI and Webservice that would be very fare.
    Thanks in advance,
    Cheers!!!!

    Hi
    Did you get to check this article,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9030d1ca-cf07-2b10-8b9c-f027fbc91ffd
    regards
    Sameer

  • XI scenarios using Sender RFC Adapter

    Hi Forum,
    I am eager to know what kind of XI scenarios use sender RFC Adapter, can u give an example,
    does this mean........executing a RFC in a R/3 system and the result of the execution goes to XI.....or,
    does this means, like a sender JDBC Adpter, from XI, triggering execution of a RFC on a R/3, and getting back the result into XI............
    can i have a step by step blog to create such a scenario....
    thanks and regards

    Hi Sudeep,
    Sorry for late reply.
    Yes the 2nd reply was for receiver RFC.
    1. As i mentioned To configure Sender RFC you need TCP\IP connection. in that connection you will use the option registered server program and will mention a program ID there.
    2. Sudeep just remember, please configure RFC sender on XI side first and give a Program ID there, gateway service, host and login of your R3 system. Program id can be any string your name also. and please dont forget to activate the channel before going to R3 side.
    3. Then configure RFC in R3 side, and mention that same program id. mention your gateway host as R3 name or IP and you can get the gateway service from Tcode smgw. it must be something like smgw<xx>.
    and for ur information the program id is nothing but an identity on which basis the R3 system will search that which server object is active using that program id.
    4. when you will write a report to execute that RFC in background,  use Commit work as last statement.
    Please let me know if you want any further information.
    Rewrds if found helpful,
    Regrds,
    Alok

  • File to RFC scenario using BPM : a synchronous one

    Hi All
    I am doing File>RFC>File scenario using BPM with help of the blog
    RFC Scenario using BPM --Starter Kit
    here everything is explained but i am getting error while the processing of BPM part
    Input file is being picked (this part is success) but rest BPM and response i am not getting back in .
    interface names
    filereq_MI >Filetoabstract_MI>Sync_MI>RFCtoabstract_MI>Fileres_MI
    (abstract means its an abstract interface)
    i have configuered the Integration process as follows
    Start>Recieve>synch_send>send>end
    step :  Recieve
    mode : asynch
    message:Filetoabstract_MI
    step :  synch_send
    mode : synch
    synch interface : synch_send
    req message:Filetoabstract_MI
    res message : RFCtoabstract_MI
    step :  send
    mode : asynch
    message:RFCtoabstract_MI
    and i have given interface mapping during second (synch_send) step but here mapping is giving problem its showing exception error during mapping
    error is there
    1) Integration process ---> file
    2) Integration process-->R/3 system

    Hi,
    Configure the Integration Engine According to this Blog and Trigger the Process again
    Configuration of a Central Integration Server
    Regards
    Seshagiri

  • File to IDOC Scenario using BPM

    Hi Experts,
        I am working on file-Bapi-Idoc scenario using BPM.
        I have two conditions
    1. If the Sonumber is populated then need trigger an Bapi_change
    2.If the Sonumber is not populated from the file then need to trigger a Bapi_Createfromdat to create the sales order and receive the salesorder number as response from Bapi
    and the response of these BAPIs should be validated whether the Bapi is successful or not.
    If it is successful message then need to trigger IDOC or else should throw an alert message.
    let me know the steps involved in this scenario.
    can i send alert message to other email IDs or can i send it to only XI admin?
    Please let me know u r inputs.
    Thanks in advance
    Praveen

    Hey,
    You need to have a BPM for this.
    BPM design.
    Recieve step(abstract asynchronous) for file structure
    Switch Case(condition whether sonumber is populated or not) 
    if populated
    Branch 1(of switch)
        transforamtion step:- mapping between File and Bapi_Change(Request structure)
      Send step(abstract syncronous) To send the BAPI_change
    Branch 2(of switch)
    transformation step:-mapping between file and BApi_Create
    Send step(abstract synchronous) To send the BAPI_Create
    Block step(which will include the Switch step)
        trigger an Execption in case of an error(in any of the two branches) through the block
        The Exception will trigger an alert.
    Now after the Block step there will be a transformation step(which will have the mapping between RFC response and Idoc)
    Next is the send step(abstract asynchronous) for the idoc
    In case if there is no exception the Idoc will be triggered or the exception branch will trigger the alert
    rewards points if useful
    regards,
          Milan

  • What are the business scenarios used in plastic industry

    Hi Experts,
    Could you guys please tell me what are the business scenarios (in sap sd) i should use while implementing in plastic industry (as if someone already worked on implementation project at plastic industry).....
    As per my knowledge i would use:
    MTS
    Batch management
    Third party etc....
    but in addition to these (if anyone already worked on the implementation project in plastic industry...then what are the business scenario used for......please suggest.....)
    If have any idea please suggest........ would be a great help.......
    Thank you in advance...........

    it depends which part of the value chain you are working at e.g. your company is B2B, supplying ingredients to Plastic industry manufacturer or you sell to wholesellers.
    Below are the processes you - may - do in Plastic industry -
    - Inter-company stock transfer
    - Subcontracting
    - Contracts
    - QM inspection during delivery process
    If you require business scenario descriptions (in brief) for the above processes, then please convey.
    Edited by: Typewriter on Jul 11, 2011 11:30 AM

Maybe you are looking for

  • SOLUTION to your HP printer going offline and/or constantly disconnecting from the network

    If you are having a problem printing, scanning or faxing with any HP Printer because of it going offline and constantly disconnecting from the network, here is the fix! I figured this all out after many unsuccessful attempts with HP Support, my Inter

  • My 20 minute video in Pro will not export

    When I try to export my around 20 minute trip video it will begin to encode the video but will stay at 0% - I have let it load for 2 days now and no progress has been made. I have restarted it many times and it does the same thing. When I try to canc

  • Can't get duplex on Officejet 6480 to work with Mac OS 10.6.4

    Recently purchased Macbook Pro 13 which makes me a new user. I have updated the OS to 10.6.4. Have installed Officejet J6480 and using wirelessly. Single page printing works fine. Can't get duplex printing to work. Checked options on printer in Syste

  • Steps to Enhance 0VENDOR_ATTR

    Hi SDN, Can someone please give me steps to enhancing 0VENDOR_ATTR matser data? I was able to get the data till the extractor and I can see that filed is populated in RSA3. I need to know the next steps in BW side icluding the dataloads. Thanks Priya

  • Jcontrol.exe won't start - NW2004s

    Hi All,   I have deployed the NW2004s 'Developer Workplace' on my machine. Once the installation completed successfully, the Server was up and running fine. But i'm not able to restart the server (jcontrol.exe stays yellow). Dispatcher is up and runn