File processing issue -File- PI- RFC

Dear Experts,
    I have struck with this source file while processing the scenerio FTP(File) ->PI->RFC
I need to take the data from CSV file,
Just push the first row data to Char field and second row data to Mean field in RFC.
FCC structure:
The source data is simple but i struck with some logic,Kindly guide me how to process this data by using FCC or we can handle by mapping.Also check the source structure whether i followed correctly.
Best Regards,
Monikandan

Hi Amit,
Exactly i need to send the entire 1st row data to CHAR Description field and 2nd row data to mean field.
While i am testing in message mapping using the source file will getting the below output
Exact output i need is Process -001,Date row data will go to CHAR field and 10000,20-02-05 row data will go to MEAN field in RFC.
How to split it.kindly guide.
Best Regards,
Monikandan.

Similar Messages

  • File to RFC - error while processing message to remote system:com.sap.aii.

    Hi
    i m working on File to RFC scenario. the records are getting displayed in sender CC and receiver CC. But in receiver CC i m also getting the following error:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZRFC in remote system (RfcClient[CC_RIS_STC_PIMASTER_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Screen output without connection to user.    
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZRFC in remote system (RfcClient[CC_RIS_STC_PIMASTER_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Screen output without connection to user.   
    It was working fine few hours earlier but showing this error now. i was giving a SUBMIT program , but stopped that now.
    But still facing the same problem. and in SXMB_MONI its showing recorded for Outbound processing.
    could anyone help.

    Hi
    I am Facing  Following Error When I am trying to call SAP Screen through JCO.jar
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Screen output without connection to user
    Please Guide Whethere it is possible to call SAP screen Through JCO.jar  ot NOT
    Please HELP if it is possible to Call SAP screen through JCO.jar with step and Code
    Thanks
    Vivek

  • Sender File adapter complex structure FCC issue - flat structure RFC-stuck

    Hi,
    Please help.
    I have a the below file structres-
    Option 1-
    H,100890,P100,A02,S101,AUD#
    I,P,NULL,TH,Test PO TH,1,EA,100,10160000,A002,0001,720090,E.1.4.3,,,,VT#
    I,P,NULL,TH,Test PO TH1 2,2,EA,100,10160000,A002,0001,720090,E.1.4.3,,,,VT#
    H,100899,P100,A02,S101,GBP#
    I,P,NULL,AS,Test PO AS1,1,EA,100,10160000,A002,0001,720090,E.1.4.2,,,,VT#
    I,P,NULL,AS,Test PO AS12,2,EA,100,10160000,A002,0001,720090,E.1.4.2,,,,VT#
    I need to map this into a Z RFC which is expecting all the data in one row - of course multiple rows
    Option 2-
    Same structure as above but all in same row-
    H,100890,P100,A02,S101,AUD,P,NULL,TH,Test PO TH,1,EA,100,10160000,A002,0001,720090,E.1.4.3,,,,VT#
    I,100890,P100,A02,S101,AUD,P,NULL,TH,Test PO TH,1,EA,100,10160000,A002,0001,720090,E.1.4.3,,,,VT#
    I,100890,P100,A02,S101,AUD,P,NULL,TH,Test PO TH1 2,2,EA,100,10160000,A002,0001,720090,E.1.4.3,,,,VT#
    H,100899,P100,A02,S101,GBP,P,NULL,AS,Test PO AS1,1,EA,100,10160000,A002,0001,720090,E.1.4.2,,,,VT#
    I,100899,P100,A02,S101,GBP,P,NULL,AS,Test PO AS1,1,EA,100,10160000,A002,0001,720090,E.1.4.2,,,,VT#
    I,100899,P100,A02,S101,GBP,P,NULL,AS,Test PO AS12,2,EA,100,10160000,A002,0001,720090,E.1.4.2,,,,VT
    This also needs to be mapped into a Z RFC which is expecting all the data in one row - of course multiple rows
    I am getting issues in getting the file data across to Receiver adapter.
    I have tried various combinations but the message is failing in SXMB_MONI.
    How do i do it as i need to get the finalised option for incoming file structure?
    Option 1 is being stressed but how do i map it if i cannot get the receiver structure in RFC.
    Please help as I am stuck now.
    Regards,
    Archana

    Hi,
    The problem is basically in message mapping from file to RFC external message.
    The option 2 is working now and I get correct converted file strcuture after FCC and into RFC and also a correct RFC payload.
    However, business is stressing that can send the file in the format as given in Option 1 where u have different structure - Header and Items. This is not coming out correct in RFC payload as the header has 5 fields as compared to more in item but the header and item are still being mapped to the flat RFC structure and this is creating a mismatch. The item line is missing the 5 fields from Header.
    How do i do the FCC in this situation to get the correct structure in RFC?
    This means that in RFC payload, the first line should be the one as below-
    H,100890,P100,A02,S101,AUD#
    The 2 records after this as received in RFC internal table should be as 2 given below-
    I,P,NULL,TH,Test PO TH,1,EA,100,10160000,A002,0001,720090,E.1.4.3,,,,VT#
    I,P,NULL,TH,Test PO TH1 2,2,EA,100,10160000,A002,0001,720090,E.1.4.3,,,,VT#
    However, the 2 structures contain variable field columns.
    Please help.
    Regards,
    Archana

  • How EOIO processing works with FILE to RFC dapter? Pls help!

    Hi Experts,
        I have a FILE to RFC scenario.
        FILE ---> XI ---> RFC(R/3 System)
        In the sender FILE communication channel I have setup QOS as EOIO. After reading the file, XI sends the file data to RFC function module in another R/3 system. The RFC function module is Async that is, there is no Export parameter. It only has import or input parameters. Also in RFC receiver communication channel there is no option where I can provide QOS as EOIO.
       Will the RFC function module process the input request message using EOIO that is, using a Queue?
       Do I have to do something in RFC function module so that it receives and processes the input request in EOIO?
    Thanks
    Gopal
    Edited by: gopalkrishna baliga on Jul 22, 2011 10:28 AM
    Edited by: gopalkrishna baliga on Jul 22, 2011 10:49 AM

    Hi Gopal,
    You do not need maintain EOIO in receiver, only in sender.
    RFC adapter does not support EOIO at all.
    You have to change that scenario to ABAP proxy. 
    see stefans reply
    ABAP Proxy Receiver Asynchronous EOIO
    You may also check this doc
    http://help.sap.com/saphelp_afs64/helpdata/ja/b1/c5ef41a0b99d39e10000000a155106/frameset.htm

  • File to RFC Issue

    Hi All,
    I am doing a File to RFC async scenario. I have done the related development in ESR and ID. While testing the file adapter picks the file does the required content conversion and is successful . When I check the RFC adapter it also shows successful. But the problem is the payload is the same as it was in the sender adapter. I mean after mapping the payload must change to the target message. Somehow in the RFC adapter I am seeing the same source payload. I deleted the Service interfaces, deleted the channels, deleted the ICO and recreated everything again but still the same issue. Can someone please provide inputs on the same. All configurations look correct. Ideally the message has not reached ECC but atleast the payload conversion should have happened.

    Hi Amit
    Check the log in message monitoring and see whether the operation mapping has been called or not.
    Also with the default configuration we can only see the payload before mapping in RWB.
    If you need to see the payload after the mapping then you need to add the below entries in NWA
    Goto configuartion-->infrastructure-->Java system properties--->services
    Choose the service XPI Adapter:XI and change the below property
    Then once you open the message in RWB, you see one more entry with AM which will show the payload generated after mapping.

  • Issue in File to RFC to File Scenario with BPM using Block Step

    Hi Everybody,
                           I am doing File to RFC to File Scenario for multiple records using BPM using Block Step. The File Message is getting posted and after that, the message is getting stuck up in the qRFC Monitor (Inbound Queue).
                        After seeing the message in Inbound Queue, I am trying to execute and release the message. But when i execute the LUW, it says " Function module doesnt exist or EXCEPTION raised" in Inbound queue.
    Could somebody suggest me the outcome of this? What does this mean and how to
    release the stuck up message in Queue.
    Thanks and Regards,
    N.Jayanth Kumar

    Hi Rajesh,
                           After going through the blog, i saw the trace messages. It says      
    " The   exception occurred (program: CL_SWF_XI_INBOUND=============CP, include CL_SWF_XI_INBOUND=============CM00F, line: 19)"
    Regards,
    N.Jayanth Kumar

  • Issue in File-PI-RFC scenario

    Dear All,
    I am working on File-PI-RFC interface in which contents of file are updated in SAP ztable.
    The interface was working fine but yesterday i changed the length of one of the fields of the table. From then onwards, table contents are getting updated with some dummy/junk values which we are not sending thru PI.
    I have checked the payload at the receiver end and it is not showing any junk values but in the table it shows junk values in the filed whose length is changed.
    I have reimported the RFC metadata in ESR but still it shows wrong values in ECC.
    Please guide me where I need to referesh the RFC metadata to resolve this as this problem I am facing in PRD environment.
    Regards,
    NJ

    Hi,
       Pls check if the length of the field in table and the length of the field in internal table in the RFC function matches. If not pls do the same and then send data agn.
    Edited by: Debaprasad Narendra on Nov 3, 2010 7:23 AM

  • File 2 RFC scenario debugging

    Morning all,
    I have a very simple A sync. scenario File to RFC.
    To allow debugging of the Interface,my ABAP programmer has created an endless loop.
    What's strange is that on SM50 I can track a new Process created by the XI user and after
    a few more seconds another session with a new ID appears....
    Have you encountered a similar issue before? what is the reason for it then?
    Any way, after removing the "debugging loop " everything runs fine.
    Points will be awarded for the most reasonable answer....
    Nimrod Gisis

    Hi,
    I do agree , see the below reason and links also
    you can see that many dialog work processes are occupied with the program SAPLARFC. You might also see update or batch processes with the status stopped RFC.
    This is because in transaction SMQS as many tRFCs were started at the same time as the parameter settings allow and this has resulted in the user contexts losing their rollability.  This situation arises for instance when mass data is processed. See SAP note 726148 for more information and possible solutions.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8a/145db7b9c3c64e8af1c0be1dae6f37/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/be/470dc21ca4447b828597f614aaaec1/frameset.htm
    regards
    Chilla
    <i>reward points if it is helpful..</i>

  • How to handle Responce in FILE to RFC Scenario

    Hi All,
    In file to RFC[sync] scenario...
    Sender side we are using FTP server. Many folders are there .Data is located in folder1 . File adapter picked the data and forwarded it to XI. RFC adapter processes the data.If RFc adapter sends responce , how can we store this responce in Folder2 in FTP server  .Is it possible without BPM .Is this Possible with in a single scenario . If so pls explain the IR and Id steps.

    Hi,
    Why dont you use dynamic configuration for both Directory 1 & Directory 2???
    I had  a similar scenario where we have to define a directory name based on source file names. The sample code is as follows. You can modify this as per your requirement. Let me know if you have any issues.
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    and
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    conf.put(key, arg)
    String fileName = conf.get(key);
    if(filename.equals("file1.txt")){
         conf.put(key1, Directory1)
    else
         conf.put(key1, Directory2)
    return "";
    Warm Regards,
    Gouri

  • File to RFC synchronous scenario stopped Picking the files

    Hi Experts,
    We have a File to RFC synchronous scenario. Till yesterday night it is working fine.
    But suddenly it is stooped working.In moni, i can see the failed messages with the Mapping error " Can not create target element, values missing in the queue context "
    No Payload in moni / communication channel monitoring / Message monitoring. I've noticed that, wrong files placed in the To-be- processed files and the adapter picked those files and failed in mapping.
    I tried by stop and start the communication channel / did some dummy changes in the communication channel and activated. cleared the cache.
    But still the communication channel is not working.when i stop and start the communication channel it will try to process the wrong files and failed.
    Give me your valuable inputs to resolve this issue.
    Regards
    Bhargava krishna

    Hi Bharghav,
    Please go through the below,
    Symptom
    FTP Adapter is being used in the business scenario for message processing.
    During file processing it is noticed, that the FTP sender channel stops
    polling. There is no error in the channel monitor or the trace/log files
    and the polling jobs are correctly displayed in the AFW scheduler table.
    The issue is observed after a network connection issue with the FTP server.
    In order to remove the hanging locks from the FTP Adapter, the parameter
    'ftp.timeout' setting is required to be set, which releases the lock once
    the timeout value is expired. But in the above situation, the value for the
    'ftp.timeout' is not taken properly while establishing the data connection
    by File Adapter.
    Other terms
    FTP Adapter, sender, FTP, adapter, timeout, stalled, network, hang, polling
    Reason and Prerequisites
    Program error
    Solution
    The hanging situation has now been improved by code changes. Please see
    section "SP Patch Level" of this note for a list of updated software
    components.
    To get this correction available in your Support Package you need to apply
    the patch matching to your Support Package version as per the instructions
    in the NetWeaver Support Package Stack guide which can be found on the SAP
    Service Marketplace as described in SAP Note 952402.
    Thanks & Regards
    Uday.S

  • File to Rfc scenario,not updated in rfc

    Hi,
    File to RFC scenario,not updated in RFC?
    i checked communication channels ,smq1,smq2,sm58,cache refresh.but issue was not solved.
    Please advise where need to check?
    Thanks
    Amita

    Hi Amita,
    First check whether the configuration between PI and ECC has been set up properly.
    Are you using a stand RFC or custom RFC?
    Import the RFC metadata from ECC to PI and use that structure in your service interface and configure the remaining objects that we normally do.
    Now, try to process the file and check in the communication channel, whether file Adapter is able to pick up and send the message to PI system.
    If the message is successfully processed through PI system then check the messages in Queues. Also, check the RFC communication channel in the adapter engine.
    Follow the process, you might get some clue regarding the issue.

  • File-to-file or File-to-RFC for Automatic PO creation and GR creation

    Hi,
    We are on XI 3.0 and the following has been put to me:
    We will receive a .CSV file from FTP server, into XI and then need to create Purchase Orders followed by the Goods Receipt documents in R/3 based on the incoming data.
    Further to this, the requirement is to give a log of the successfule and failed PO + GR document summary to the business.
    The programme in R/3 will compare the incoming file nmame with archived files already processed and will reject any files with duplicate names.
    I was suggesting to go with the file to RFC in R/3 whereby we can have a Z shell BAPI to include the standard BAPI for PO creation and GR creation. This Z code can then be extended to email the log to the business of which records were successfully created and which failed.
    However, I am stumped as to how can I make the file duplication comparison on R/3 as the incoming file will also be stored on R/3 archive somewhere.
    Can this be made when the BAPI is called in XI?
    I can configure alerts when the BAPI is mapped from incoming file for that interface.
    What was suggested also was to pick up the CSV file and thow it as it is in R/3 and then the Z code can go through it and create the PO and GR objects. However, then it does not make much sense to use XI as the middleware platform.
    Please advice.
    Regards,
    Arcahna

    Hi Archana,
    Take a look to this blog: 
    https://wiki.sdn.sap.com/wiki/display/XI/Different%20ways%20to%20keep%20your%20Interface%20from%20processing%20duplicate%20files
    Maybe it could help you for the duplicate files.
    Regards,
      Juan

  • File to RFC/BAPI - Async- How to capture response field value

    Hi,
    I am doing File to RFC/BAPI Scenario. I have Two BAPI's. THe same source xml file is mapped to the Two Target BAPI's.
    For the first flow i.e File to BAPI1, I need to capture BAPI Response, field value and pass this value as Input to the BAPI2.
    How do I proceed with the Mapping. I am working on PI 7.1
    Any input would be Appreciated.
    Thanks & Regards,
    Varun

    Hi Varun,
    apparently you need a Business Process:
    XML -> BP (asynchronous), Map to Bapi1 request structure
    BP -> BAPI 1 (synchronous)
    Transformations step with multi mapping merging XML and Bapi1 response to Bapi2 request structure
    BP-> BAPI2
    Regards,
    Udo

  • File to RFC problem

    Hi Friends,
    I am doing a scenario CSV File to RFC. This is for SO creation in R/3 thru RFC.
    I was provided with a wrapper RFC which internally calls the Sales order create BAPI.
    Now my problem is When I go to SE37 and test the function module the SO is getting created but with the same data when I pass thru XI the so is not getting created. What can be the problem. Is there any authorization issue, if so tell me what auth should be given.
    Vijay

    Vijay,
    Did you check the BAPI return parameter and what is the message you are getting. I think the problem is because of the conversion exit. I this this should be the problem R/3 expects leading zeros for vendor/customer numbers ans this is quite common error. Either change the wrapper RFC to handle this kind of values like calling the conversion routin before passing to the BAPI. This conversion routin can be foung in the domain.
    Or add the leading zeros in XI mapping.
    use this code in udf while mapping
    int intDif, i;
    String strDiff = new String();
    intDif = 10 - Par_Input.length();
    if(intDif > 0)
    strDiff = "0";
    for(i=1; i<intDif; i++)
    strDiff = strDiff.concat("0");
    strDiff = strDiff.concat(Par_Input);
    return strDiff;
    else return Par_Input;
    Thanks,
    Prakash

  • XML file to RFC

    Hi,
    i have scenario (XML file to RFC), it's by BPM, I can see XML content by file sender adapter but can't get detail field data into my data type of interface. what's wrong, please advise! Thanks!
    my data type as follows,
        EXPORT Complex type
          SHIP       element
          INVOICE element
    and file content as follow
      <?xml version="1.0" ?>
    - <EXPORT>
      <SHIP>A</SHIP>
      <INVOICE>ZZ12387379</INVOICE>
      <?xml version="1.0" ?>
    </EXPORT>

    >
    robert yu wrote:
    > I still can't understand, Could you give me more information? Thanks!
    when you receive/ process an XML....this XML has a namespace associated to it.....which in your case should be http://aaa.bbb.com/SVRFIS/Forwarder_File.....
    However looking at your Payload ther is no namespace in it....so what you do is...open the Interface/Message mapping--- go to the Test tab and click on the SRC tab and then check what/ how the namespace should be or rather how the XML should be while testing...it would be something like:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Name xmlns:ns0="http://aaa.bbb.com/SVRFIS/Forwarder_File">

Maybe you are looking for

  • Null pointer exception while running a page

    Hi all,when i am trying to run the employee create page(custom) i am getting the below exception as soon as i run the main page. Exception Details.  oracle.apps.fnd.framework.OAException: java.lang.NullPointerException      at oracle.apps.fnd.framewo

  • InDesign crashes when updating InCopy ICML files

    I created an assignment file with around 20 different stories. The next time I opened InDesign the writer had input text to most of the story files. One story file was a couple of pages of text, the rest were just a few lines of copy, nothing huge. E

  • Datagrid colum item renderer HELP!!!!!

    Hi, I have the below datagrid, and I have to populate one of the column with three different images, a cricle an squeare and a triangle. I've been sucessful adding dinamically the differents itemrenderers. For the triangle one it has been a really pa

  • Why are there chinese character fonts overwriting my fonts?

    At the bottom of my font list are a bunch of Chinese character fonts. The list seems to grow over time (it's gotten a lot larger lately).  When I select most of these fonts they work and display as standard alphabet characters but I don't use them. H

  • Just got the nokia c7 but no signal

    got the c7 today on the t-mobile network , my signal is weak sometimes its only one bar and then even that goes , i tried using the orange signal too but it want pick it up on the phone . my old nokia 6700 works fine with a good signal on the t-mobil