File- XI- POSDM Interface

Hi all,
We have a scenario where there will be to two files in a directory one with header data and one with line data.
We need to pass the data to function module /POSDW/create_transactions_ext. If its a normale sale the FM needs to be called once whern it is crdedit sale  it need to be called twice.
The data in the line file needs to be mapped to the header file how can we do that because it is two different files?
Anyone dealt with that FM before or any help will be appreciated?
Regards

Hi,
you will need to use BPM for this scenario..........in your BPM, you will have two recieve steps to get the two files data by file adapters.....then you can have a transformation step to map the header to line data.......then you will have a fork step and it will branch in two steps parallely.........the condition of the fork step will be the field value deciding your RFC calling.......one step will have one synch send step to call the RFC once and the other step will have two synch steps to call the RFC twice.................then you can have a send step to send the RFC response to file adpater to output RFC response in a file....
Regards,
Rajeev Gupta

Similar Messages

  • Error while testing File-PI-SOAP interface

    Dear All,
    We are working on File-PI-SOAP interface in which we have exposed a functional module from ECC server as receiver webservice. When we are testing the the interface we are getting following error :
    Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 407 Proxy Authentication Required.
    In the receiver SOAP communication channel we have provided the required ECC login & proxy authentication credentials and also we are able to open the URL from PI server. Kindly let us know what more settings are required o make this interface running.
    Regards,
    NJ

    Hi,
    This is a synchronous interface and I want to send the output from webservice as a file to third party system.
    We are just working on a demo interface, so we have created a webservice of a function module of ECC and also our interface is File-PI-SOAP.
    We have also given the login credentials for proxy authentication but still we are getting the error the
    SOAP: error occured: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/PLAIN; HTTP 407 Proxy Authentication Required
    Kindly let us know, how can we resolve this error.
    Regards,
    NJ

  • Getting error while reading file from /data/interface

    HI Experts,
    while i am executing the job MPU* in ECC it write error file in /data/interface/sidclntxxx/IN/MPU742. now for the tcode ZMM_MPU_ANALYSIS it ask that error file, it is reflecting "error reading log file /data/interface...". now i am not getting the email also that supposed to get. please help
    Edited by: stiw382 on Dec 1, 2011 1:17 PM

    > while i am executing the job MPU* in ECC it write error file in /data/interface/sidclntxxx/IN/MPU742. now for the tcode ZMM_MPU_ANALYSIS it ask that error file, it is reflecting "error reading log file /data/interface...". now i am not getting the email also that supposed to get. please help
    is that file accessible on the operating system? Is the filesystem mounted?
    Z-transaction codes are customer developments, since nobody here knows, what this program does I suggest you contact the developer of that transaction.
    Markus

  • ERROR: MyService.jws:715:There are two or more operations with the same schema-element 'ns0:MyNameSpace' on the input message in a web service file or callback interface.

    I have two web service operations that have the same complex type as their input
    parameter. I want to map this type to an existing schema. I can successfully
    do this with the first operation using XQuery but when I attempt to do this with
    the second operation I get the following error:
    ERROR: MyService.jws:715:There are two or more operations with the same schema-element
    'ns0:MyNamespace' on the input message in a web service file or callback interface.
    ERROR:      SUGGESTION: Use different schema-element values for each of those operations.
    How can I use different schema-element values? The input parameters are to be
    mapped to the same schema and same element since they are the same for both operations....

    I am having the same problem. How did you resolve this..?? could you please tell me the solution??
    Thanks
    Shari

  • File-PI-SOAP Interface error

    Dear All,
    We are trying a interface in which we wanted to do Post Goods Issue in SAP from a file. We have exposed our Z-RFC which will do PGI as webservice and has imported its WSDL in PI.
    Then, we have created a File-PI-SOAP interface. Now, when we are testing the interface we are getting success message in SXMB_MONI but in RWB, message for picking the file is success and when I am opening the message details its showing
    " 500 Internal Server Error" ""Application error occurred during the request procession."
    Details: "The WebApplicationException log ID is [001A64D0A1FC005F0000004600002E4800CEA8DA2043BF9A]."
    Same error is showing for the receiver message but at payload I am able to see the correct values.
    Kindly let us know, if any configurations are to be required to remove thsi error.
    Regards,
    NJ

    Hi,
    >500 Internal Server Error
    does mean the server does not understand the request. I your case: You want to make use of a service which assumedly no exist. May be you have to release or activate it or to do something in SOAMANAGER. Please check your service first with SOAP UI.
    Regards,
    Udo

  • Count of no.of files passed for interface

    Hi friends,
    Can we have a Count of no.of files passed for interface per day..I need it to be an automated process like the no of files interface has processed has to be updated in the daily report.. Can we have it as automated other than manual check.. Is this possible?

    Hi Mahesh,
    Here are the tables where the message will be stored in tables.
    Transaction Codes - (SE11, SE 16)
    SXMSPMAS XI Messages - Master
    SXMSPHIST XI Messages - Master History table
    SXMSPEMAS Integration Engine: Enhanced Message Queue (Master)
    SXMSPVERS Integration Engine: Message Version
    SXMSPERROR XML Message Broker: Message Queue (Incorrect Entries)
    SMPPMAP3 Mapping Runtime: Mapping
    SMPPREL3 Mapping Runtime: Mapping Relation
    SMPPSPLIT XI Mapping: Merge and Split
    SXMSPFRAWH Integration Engine - Header Table for Raw Data for Performance Evaluation
    SXMSPFRAWD Integration Engine: Data Table for Raw Data for Performance
    Adapter Engine Tables -
    Schema Name - SAPSR3DB
    XI_AF_MSG AF XI Message
    XI_AF_MSG_AUDIT audit log entries
    If runing on PI 7.1, table names are as follows -
    BC_MSG AF PI 7.1 Message
    BC_MSG_AUDIT PI 7.1 audit log entries (**)
    Thanks,

  • CS5 error message - file-format module interface

    First post - sorry if it's not in the best place.  CS5 has suddenly fallen over with the following error message when trying to open a raw file (.CR2 / 5DII), which it could open previously:
    "Could not complete request because of a problem with the file-format module interface".
    Googling has not produced much at all on this topic, and none of it helpful.
    Any thoughts on this please?

    Thanks for getting back to me.  I've made a little progress.  It seems that my usual identity is corrupted, or is being affected by PS crashes, which are crashing the DDE server window and also preventing some other applications (such as Adobe Acrobat Pro 9 and even Internet Explorer) from running in that identity too.  If I close and restart that identity, it's fine again as long as I don't even open PS.
    So I created a new identity just to see if PS would run OK there, and it did, for about 4 hours, but then errors started to recur, such as 'PS has encountered an expected problem and needs to close....' when opening raw files.  As I'm trying to finish off editing a set of wedding photos, this is a pain.
    I'll try reinstalling PS, but I suspect the problems I'm seeing may be due to a lack of resources.  So, reluctantly, I'm thinking it may be time to replace my faithful and carefully maintained Pentium 4 running XP, and enter the dizzy world of 64-bit.  One issue may be installing CS5 on a new machine, since I only have an upgrade disk, having migrated all the way from a full copy of PS6, via a CS2 upgrade.  I understand that it would be wise to go for Windows 7 Pro, which contains an emulation of XP and therefore allows older 32-bit software to be installed.  Any other points to consider?
    By the way, your suggested search for the file 'camera raw.8bi' turned up two versions - the CS5 one, and the older CS2 file.

  • "quoted string not properly terminated" error in File to Oracle interface

    We have an interface at our site that is a simple file to Oracle interface. We used the sqlldr LKM and the SQL Control Append IKM. The interface bombs out when one of the unmapped Oracle fields has this for a string literal in it: '--A'. It's a size 3 varchar field in Oracle. We can put in other literals fine in it, but using the '--A' one brings back this error in the Insert portion of the interface:
    1756 : 42000 : java.sql.SQLException: ORA-01756: quoted string not properly terminated
    java.sql.SQLException: ORA-01756: quoted string not properly terminated
    I ran the sql query that ODI bombs out on and the record inserts fine inside sql developer.
    Anybody else experience this and if so what was the solution to get past this?
    We're using ODI 10.1.3.5.5.

    Hi A,
    I tried this but it didn't work. I am puzzled as to why OBIEE prints any special character after a % twice. For example %& becomes %&& or %' become %'' . I guess it is the Evaluate function that is fiddling with the % .
    Thanks.
    Edited by: 900740 on Feb 9, 2012 9:22 AM

  • Deliver the file to the interface server destination.

    Hi,
        How do i deliver file to the interface server destination.Can anyone please give me the code.
    thanks,
    venkatesh.

    interface server destination???
    what is ur interface server destination.... windows based system or application server or ftp
    if its a windows based server or an ftp you need to make sure if you have the RFC destination pointing to that server.
    if its a application server you need to use open dataset statement and write file to application server..
    a SDN search will help more on this key words FTP files , OPEN dataset

  • Servlet for reading lotus notes nsf-file via corba-interface

    Hello,
    we have written a servlet for reading lotus notes nsf-file via corba-interface.
    So we can read lotus notes-files in a portal url-iview.
    Are you interested?
    Best regards
    Oliver Prodinger

    If you check out the thread from my question (524480), we found
    that we had to enable the IIOP task on the domino server as we
    were not running it, this cured the problem I think you are
    encountering.
    This has not solved all our problems as I only see Notes data in
    the Inbox Portlet Preview mode, this problem is refered by other
    contributors as the collapsing Portlet problem (496625) and I do
    not know whether there is a solution to this problem yet.
    Hope this helps.

  • Generate XSL for File to mail interface

    HI there,
    Can somebody please tell me how to write xsl for the file to mail interface.
    I am getting only payload in the file and I want to convert that payload into xml so that I can map in PI.
    I tried with FCC but it doesn't work so the only option is via XSL mapping or JAVA mapping but unfortunately I don't know any of them, so can somebody please help me and write XSL for me if possible.
    Source File
    ACK3|24052010095354|4BC8612A7A530073E100800024590A61|1005241738SPBC8612A7A5000|D0000018|SXI|75130|(INFO) File Sent|PAYMENTS
    and I want the target file
    <ns0:ContentContainer xmlns:ns0="http://s.com/xi/10/lite">
       <payload>ACK3|24052010095354|4BC8612A7A530073E100800024590A61|1005241738SPBC8612A7A5000|D0000018|SXI|75130|(INFO) File Sent|PAYMENTS</payload>
    </ns0:ContentContainer>
    Thanks,
    Iqbal

    Hi Iqbal,
    The below mentioned do not seems to be difficult using FCC.
    In FCC mention following parameters. And provide required structure as message type in content conversion paramter.
    Recordset Structure :  row,*
    row.fieldNames:   payload
    row.fieldSeparator: 'nl'
    row.endSeparator: 'nl'

  • Error while executing File to Oracle interface.

    Hello All,
    I am a started in ODI. I have created an interface using File & Oracle Technology Data servers. I am using LKM File to Oracle (SQLLDR) and IKM Oracle Incremental Update(MERGE) with CKM for Oracle.
    The interface is simple one to one where data is to be loaded in one table. I am getting error at step "Call sqlldr via jython". Pasting the description ----
    import os
    if os.system(r"sqlldr control=E:/Repository/Work/TestDataStore.ctl log=E:/Repository/Work/TestDataStore.log userid=system/<@=snpRef.getInfo("DEST_PASS") @>@ORCL > E:/Repository/Work/TestDataStore.out") <> 0 :
         raise "OS command has signalled errors"
    Pasting the error ----
    org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last):
    File "<string>", line 3, in ?
    OS command has signalled errors
         at org.apache.bsf.engines.jython.JythonEngine.exec(Unknown Source)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    I have no clue as to what is wrong. can anybody help me out here please?
    Thanks,
    Dipal

    Cezar,
    I was able to solve the issue. Apparently, bigger columns didnt matter since I was not inserting the data from that column. I already had sql loader installed. The issue was the ORACLE_HOME for database was not the first one in the list.
    This are the steps I went through for troubleshooting.
    - Ran Jython.bat from bin
    - Executed the code from "Call sqllder via jython" replacing <@=snpRef.getInfo("DEST_PASS") @>
    - Got error - "The procedure entry point snlinAddrLocalhost could not be located in the dynamic link library oranl10.dll"
    Hope this helps anybody facing similar issue.
    Thanks for your help.
    Dipal

  • How can I generate IDOC(WPUUMS) from XML file in POSDM or in SAP Retail

    Hallo Retail expert,
                                I have following scenario,
    I have Retail Store who send me their daily sales report through Wincor Nixdorf Point of sale. There i am using standard POSLOG2 to SEEBURGER(its a middleware which act as Converter) xml format and then i post that data first in POSDM and then with BAPI i transfer or book that data to SAP Retail.
    Above is the one scenario which is working.
    This is the Second scenario.......
    I have some external Retail store, they dont have Wincor Nixdorf POS, so they send me their Sales Report through SEEBURGER(its a middle Hardware which act as Converter) and SEEBURGER Convert that Sales data to XML format. My question is....
    How can i upload or Convert a XML File into IDOC (WPUUMS)in SAP or in POSDM?
    any new suggestion are welcome.
    Thank you all in advance.
    regards,
    Niel

    Hi,
    1. To get the required XML Schema, use transaction code WE60 to go to the IDoc documentation -> enter the IDoc type you want to use (WPUUMS01). Flag control and data record. Then display the XSD by choosing Documentation -> XML Schema from the menue bar. Now you can donwload the XSD for usage in Seeburger.
    2. Create your mapping from the POS format into the IDoc XML format in Seeburger.
    3. Create an XML File Port in ERP or POS DM using transaction code WE21.
    3. To inbound the XML file from Seeburger into POS DM or SAP Retail Seeburger should trigger the function module EDI_DATA_INCOMING. Parameters for this FM are the Pathname to the XML file and the Portname you just created. Based on the port name the FM can derive the port type xml and the data will be handled as XML data.
    Regards Carsten

  • How to use RECNUM special field in a file bulk load interface (sqlldr)

    Hi,
    I'm trying to load an ordered set of full text lines from a flat file using Sql Loader 11.2 with ODI 11.1.1 bulk LKM (LKM File to Oracle - SQLLDR).
    I have to keep track of each line number in a separate target table column NUM_SEQ and feed it with sqlldr RECNUM special field.
    I haven't found any other way to do that but to tweak manually the generated sqlldr .ctl control file (bad but it works) :
    NUM_SEQ RECNUM,
    FULL_LINE CHAR(4000)
    I've tried to map "RECNUM" as an expression in the map tab of the loading interface but the column itself gets discarded at .ctl generation.
    I haven't found any mention of RECNUM in the whole ODI documentation, neither on this forum nor the Web.
    Using an internal Oracle sequence in the subsequent steps of the ETL breaks the garantee of ordered lines.
    Any hint ?

    You will have to enhance the KM so that this clause gets added to the CTL file each time.
    Add an Option to the KM in which you can specify name of the column that you want to act as line_number.
    And then in the KM, change the "Generate CTL File" step and add
    *<%=odiRef.getOption("RECNUM") %> RECNUM*
    after the call to the <%=odiRef.getColList(" ") %> API
    So, this will add the RECNUM column to the list of the columns generated.

  • File attachment in XML file of inbound interface

    Hi friends
    Working in ERP EHP6.0 and SRM7.0
    I attached DMS file in PR document at ERP and transferred to SRM using interface PurchaseRequestERPSourcingRequest_out.
    But PR generated XML in ERP does not have the attachment file eventhough they have attachment folder.
    How to debug this ? which Func module attach the file to interface generated XML file?
    Trying to use CPPR and transfering PR via BADI ME_REQ_Source_Cust.
    I tried using saving file in content server and transfer using PR but attachment is not picked up in XML file while checking in SXMB_MONI.
    Does the note: SAP Note 974332 - No attachments transfer within external requirements
    is referring my problem?
    I doubt whether the above is pointing for RFC transfer program...is it not?
    Pls confirm.

    Hi Prince,
    Check with BAPI_DOCUMENT_CHECKIN , it may help you.
    Regards,
    Ravindra

Maybe you are looking for

  • 20" Imac Screen Goes Black After Start Up?

    A few days ago my screen went black and stays black.  It is a 20" intel core 2.0 duo processor Model #A1224.  Serial # W8740 which I guess means it was built in the 40th week of 2007.  When I restart the screen comes on for only a second or two and t

  • Hi, Is there a way to export the output of a transaction to Memeory .

    Dear All , Here is the question SUBMIT           ws_monitor_outb_del_free                        WITH  it_vkorg = r_vkorg                        WITH  it_vtweg IN svtweg                        WITH  it_spart IN sspart                        WITH  it_

  • Search a file with JComboBox

    Can anyone help me, i'm doing a sistem where there will be a JComboBox and when i choose the value which is a folder name in the combo it have to search the in the folder look for a file for example oratab. if the file in not found in the folder a me

  • How do I get pictures of my contacts to show next to their name in my messages.

    How do I get pictures of my contacts to show next to their name in my messages app?

  • Create Xcursor Theme with SVG Images?

    Is it possible to create an xcursor theme with SVG images instead of PNG images? An unproductive Google search is making me guess that the answer is "No." Also, I've downloaded a few from the AUR, and none of them use SVG images (unless they're being