Outbound File Interface

Hi,
I have a currency field in the internal table and value is  34,53 with 2 decimals. How can I convert 34,53 to 34,530% with 3decimals and percentage to it while posting data to application server?

assuming dot as my decimal notation
data:p1 type p decimals 3.
data:c1 type char255.
p1 = '34.53'.
write p1 to c1.
concatenate c1 '%' into c1.
condense c1.
write c1.

Similar Messages

  • Outbound file interface  in CSV format ( ABAP OO )

    Hello folks,
              I am new to the OO ABAP and trying to write outbound interface for couple of HCM tables. It is the piece of cake for me if I do it in regular ABAP but I choose the to it hard way because I want to do it in OO ABAP. I have read several post from Narish . They were great.
    Letu2019s get the point , how I will go off writing an outbound interface ..
    I have looked the class CL_RSAN_UT_APPSERV_FILE_WRITER and its methods
    APPSERVER_FILE_WRITE
    CONSTRUCTOR
    FREE
    OPEN
    CLOSE
    WRITE
    But it seems like I canu2019t use my internal table because  u201CI_DATA_TABu201D type in method APPSERVER_FILE_WRITE.
    Any help will be appreciated.
    Thanks,
    UA

    In order to use the method WRITE or APPSERVER_FILE_WRITE, you need to fill the table TYPE RSANM_FILE_TABLE by concatenating your fields of internal table using the separator (e.g. Horizontal tab, pipe sign, comma) which would be understood by the reader of the file.
    Like:
    data:  li_data_tab TYPE STANDARD TABLE OF string.
    LOOP at itab into wa_tab.
           CONCATENATE wa_tab-field1
                        wa_tab-field2
           into lwa_file separated by cl_abap_char_utilities=>horizontal_tab.
            APPEND lwa_data_tab TO li_data_tab.
    endloop.
    Regards,
    Naimesh Patel

  • Outbound file interface - Header and item record transfer issue

    Hi.
    Pls help me complete this work by today:
    I have to pass header and item record into file in application server.
    I am retrieving Header record from table MCHB & RESB
    and item record from MKOL & LFA1
    I have to create separate file per plant ( plant is multiple selection field)
    I have a check box (p_sob) for special stock selection in my selection screen .
    If p_sob is initial
    Header record should come from MCHB and RESB
    and corresponding item entries from MKOL and LFA1
    If some batch entries entries only exists in MCHB and not in MKOL then item fields will be blank
    However if some entries exists only in MKOL and not in MCHB then header fields will be filled by correponding item fields.
    Can anyone tell me the basic frame of the program.
    Regards,
    Simran

    *&      Form  sub_populate_header
          Subroutine to populate header table
    FORM sub_populate_header.
      DATA:   l_clabs   TYPE char13,     "Valuated stock
              l_bdmng   TYPE char13,     "Requirement quantity
              l_avqty   TYPE char13,     "Available quantity
              l_slabs   TYPE char13.     "Consignment stock
      DATA: i_mkol_tmp type standard table of ty_mkol initial size 0.
      LOOP AT i_mchb INTO wa_mchb.
        READ TABLE i_mkol INTO wa_mkol WITH KEY matnr = wa_mchb-matnr
                                                werks = wa_mchb-werks
                                                lgort = wa_mchb-lgort
                                                charg = wa_mchb-charg
                                                BINARY SEARCH.
        IF sy-subrc EQ 0.
    *Mark those MKOL records for deletion
          wa_mkol-mark = c_mark.         "marked for deletion
        ELSE.
    *Population of Plant,material number,batch,storage location and
    *valuated stock
          wa_header-werks = wa_mchb-werks.              "Plant
          wa_header-matnr = wa_mchb-matnr.              "Material number
          wa_header-charg = wa_mchb-charg.              "Charg
          wa_header-lgort = wa_mchb-lgort.              "Storage location
          wa_header-clabs = wa_mchb-clabs.              "Valuated stock
          l_clabs = wa_header-clabs.
          SHIFT l_clabs LEFT DELETING LEADING space.
    *Population of material description
          READ TABLE i_makt INTO wa_makt WITH KEY matnr = wa_header-matnr.
          IF sy-subrc EQ 0.
          wa_header-maktx = wa_makt-maktx.             "Material description
          ENDIF.
    *Population of Requirement quantity
          READ TABLE i_sum INTO wa_sum WITH KEY charg = wa_header-charg
                                                BINARY SEARCH.
          IF sy-subrc EQ 0.
          wa_header-bdmng = wa_sum-bdmng.              "Requirement quantity
            l_bdmng = wa_header-bdmng.
            SHIFT l_bdmng LEFT DELETING LEADING space.
          ENDIF.
    *Population of Available quantity
          l_avqty = l_clabs - l_bdmng.
          SHIFT l_avqty LEFT DELETING LEADING space.
          wa_header-avqty = l_avqty.                   "Available quantity
          APPEND wa_header TO i_header.
          CLEAR wa_header.
        ENDIF.
      ENDLOOP.
    *Deleting batches from MKOL which exists in MCHB
      i_mkol_tmp[] = i_mkol[].
      DELETE i_mkol_tmp WHERE mark = c_mark.
    *Sorting I_MKOL
      SORT i_mkol_tmp BY matnr werks charg lgort.
      LOOP AT i_mkol_tmp INTO wa_mkol_tmp.
    *Population of Plant,Material number,charg & Storage location
        wa_header-werks = wa_mkol_tmp-werks.        "Plant
        wa_header-matnr = wa_mkol_tmp-matnr.        "Material number
        wa_header-charg = wa_mkol_tmp-charg.        "Batch number
        wa_header-lgort = wa_mkol_tmp-lgort.        "Storage location
        APPEND wa_header TO i_header.
        CLEAR wa_header.
      ENDLOOP.
    ENDFORM.                    " sub_populate_header
    *&      Form  sub_populate_item
          Subroutine to populate item table
    FORM sub_populate_item .
      LOOP AT i_mkol INTO wa_mkol.
        wa_item-lifnr = wa_mkol-lifnr.      "Vendor number
        wa_item-slabs = wa_mkol-slabs.      "Consignment stock
        READ TABLE i_lfa1 INTO wa_lfa1 WITH KEY lifnr = wa_mkol-lifnr
                                                BINARY SEARCH.
        IF sy-subrc EQ 0.
          wa_item-name1 = wa_lfa1-name1.       "Vendor name
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " sub_populate_item
    *&      Form  sub_batch_stock
          Subroutine to output batch record from table (MCHB & MKOL) into
          file in application server
    FORM sub_batch_stock .
      DATA:   l_record TYPE string,      "String
              l_clabs   TYPE char13,     "Valuated stock
              l_bdmng   TYPE char13,     "Requirement quantity
              l_avqty   TYPE char13,     "Available quantity
              l_slabs   TYPE char13,     "Consignment stock
              l_tabix   TYPE sytabix.    "Index
      LOOP AT i_header INTO wa_header.
    *Separate file per plant
        AT NEW werks.
    *Creation of file
          PERFORM sub_create_file.
    Open File on the application server for processing
          OPEN DATASET g_file_name FOR APPENDING IN TEXT MODE
          ENCODING DEFAULT.
          IF sy-subrc NE 0.
    *Display error message
            MESSAGE e055 WITH g_file_name.         " Error in opening file
          ENDIF.
        ENDAT.
        AT NEW charg.
          CONCATENATE  c_header           " Header indentification
                       wa_header-werks    " Plant
                       wa_header-matnr    " Material number
                       wa_header-maktx      " Material description
                       wa_header-charg    " Batch number
                       wa_header-lgort    " Storage location
                       l_clabs            " Valuated stock-unrestricted use
                       l_bdmng            " Requirement quantity
                       l_avqty            " Avalable quantity.
                  INTO l_record SEPARATED BY
                       cl_abap_char_utilities=>horizontal_tab.
    Transfering header record to file
          TRANSFER l_record TO g_file_name.
          CLEAR: l_clabs,
                 l_bdmng,
                 l_avqty,
                 l_record.
        ENDAT.
        LOOP AT i_mkol INTO wa_mkol WHERE matnr = wa_header-matnr
                                    AND   werks = wa_header-werks
                                    AND   charg = wa_header-charg
                                    AND   lgort = wa_header-lgort.
    *Population of Vendor number and consignment stock
          wa_item-lifnr = wa_mkol-lifnr.          "Vendor number
    *Storing Consignment stock into local variable to change datatype
    *from QUAN to CHAR
          l_slabs = wa_mkol-slabs.
          SHIFT l_slabs LEFT DELETING LEADING space.
          wa_item-slabs = l_slabs.                "Consignment stock
    *Population of Vendor name
          READ TABLE i_lfa1 INTO wa_lfa1 WITH KEY lifnr = wa_mkol-lifnr
                                                  BINARY SEARCH.
          IF sy-subrc EQ 0.
            wa_item-name1 = wa_lfa1-name1.        "Vendor name
          ENDIF.
        CONCATENATE   c_item           " Item identification
                    wa_item-lifnr   " Vendor number
                    wa_item-name1   " Vendor name
                    l_slabs          " Consignment stock-unrestd. use
               INTO l_record SEPARATED BY
               cl_abap_char_utilities=>horizontal_tab.
    *Transfering Item record into file
      TRANSFER l_record TO g_file_name.
      CLEAR: l_slabs,
             l_record.
        ENDLOOP.
        AT END OF werks.
    Close File
          CLOSE DATASET g_file_name.
          CLEAR   g_file_name.
        ENDAT.
      ENDLOOP.
    ENDFORM.                    " sub_batch_stock

  • Create Outbound File in a Different System

    Hi All,
    I have developed an ABAP outbound interface which is suppose to download a CSV file to application server. I have a selection screen field for file location .This program will be scheduled in background and variable will be saved with the file location. I am using open data set and close data set statements to create the file.
              We have other outbound ABAP interfaces where we download files to application server but in all those interfaces files are downloaded to our own application server but for this new interface the file location is on our business partner's server.
             Can anybody please tell me if I can download file to a location on our business partner's server using open data set statement and if yes what are the additional things I need to do for the program to download a file in that location?
    Like.
    1. Who should have authorization to that location when the program is scheduled to run in background.
    2. Does the SAP system itself need to get some access to that external system and if yes how do we get it ? I mean do we have to do anything on our side or should the partner do something on their side?
    3. And any other additional setting.
    Please help me by providing your valuable inputs.
    Thanks,
    Jhansi

    Hi
    Open dataset statament can work for Application Server only, so you can't use it for downloading a file in another server.
    One solution can be to send the file from your server to the partner one via ftp: that means you need to create the file in your application (by open dataset) and then to send it via ftp.
    So you need to change your interface program in order to add the abap code to manage ftp (see the program RSFTP00*):
    1. Who should have authorization to that location when the program is scheduled to run in background.
    The authorization should have the same of the other interface
    2. Does the SAP system itself ....
    Your SAP system has to allow to send a file via ftp, but this is a standard function, probably is just active in your system
    Partner Server has to allow to receive a file via ftp: you need to get an agreement with your partner
    3. And any other additional setting.
    Just to active ftp: ask your basis (If i remember one of reports  RSFTP00* generates the RFC connection for ftp, if it's missing)
    Max

  • HI it is related to file interface ,any one please send related code to me.

    now am sending total object ...
    1.1.     Related Business Process Information
    Vendor invoices enter DISCO System electronically and then either go through the 2 -way match or 3-way match process. Since DISCO System does not handle the actual payment processing, the invoices with successful match will be ready to transfer to Enterprise SAP to generate payments.
    The purpose of this interface is to detail the requirements of sending vendor open invoices to Enterprise SAP.  Payments are then processed based on the approved invoices that transfer over from DISCO.
    1.2.     General Description of Functionality
    All Disco approved vendor invoices will be mapped into this interfaceIFIC1001 (Interface  Vendor Invoices to Enterprise SAP) (FI001 Incoming AP Invoices to TLand). This outbound file is a flat file and the format is in TXT. The file name will be load_payable_1516.yyymmddhhmmss.txt (replacing yyyymmddhhmmss with date and time).  This is a nightly interface from DISCO to Enterprise SAP via FTP shuttle.
    Business Requirements:
    Enterprise SAP specific fields for interface purposes:
    •     Company Code
    •     Business Area
    •     GL Account
    •     Profit Center
    •     Cost Center
    •     WBS
    •     MPM Issue
    •     Destination Geography
    •     Distribution Channel
    •     COPA customer
    •     Tax Code
    2.     Functional Specification Details
    2.1.     Detailed Functional Requirements
    2.1.1.     Functional Step 1
    •     Read data in table BSIK
    o     If data in table then go to 2.1.3 Functional Step 3
    o     If no data in table then proceed to 2.1.2 Functional Step 2
    2.1.2     Functional Step 2
    Notification message send to IT Support and AP Account when BSIK is empty. Then end the program.
    Error Message
    Empty File no FTP Transfer
    2.1.3    Functional Step 3
    Create Control Header record when BSIK has data.
    •     The Control Header Record is the first record in the interface file. 
    •     Only one Control Record is required in each file. 
    •     Maximum number of 8000 lines per interface file. 
    •     Several interface files will be created if there are more than 8000 lines, however, no document should ever be split between 2 files, only whole document processing.
    2.1.4   Functional Step 4 
    Create Pay Header
    •     Use the following fields from BSIK to map the Pay Header data in the interface file.
                        Company code               BSIK-BUKRS
                        Vendor                     BSIK-LIFNR
                        Fiscal year                            BSIK-GJAHR
                        Document #               BSIK-BELNR
                        Document Date               BSIK-BLDAT
                        Currency                            BSIK-WAERS
                        Amount in LC (local currency)     BSIK-DMBTR
                        Payment Terms               BSIK-ZTERM
                        Reference                                         BSIK-XBLNR
                Debit/Credit Indicator                  BSIK-SHKZG
                Business Area               BSIK-GSBER
    •     No more than 950 lines per header, if lines exceed 950 then need to create a new header, ensuring that the document is fully balanced (Debits = Credits)
    o     If the value of BSIK- SHKZG = ‘H’ then
         Map ‘-’ to the subfield SIGN of the Amount_ Document _T field
         Assign ‘C’ to the subfield DRCR of the Amount_ Document _T field
    o     If the value of BSIK- SHKZG = ‘S’ then
         Map ‘+’ to the subfield SIGN of the Amount_ Document _T field
         Assign ‘D’ to the subfield DRCR of the Amount_ Document _T field
    o     Save the total amount of each invoice in credit and debit separately.  This data will need to map into the Control Trailer Record (see 5.5)
    Create Pay Line Record
    •     Read following fields from BSIK and use as input fields for table BSEG
    Company code               BSIK-BUKRS
    Document #               BSIK-BELNR
    Fiscal year                       BSIK-GJAHR
    •     When BSEG-LIFNR ≠ BSIK-LIFNR; Group details by  Document number (BSEG-BELNR), Company code (BSEG-BUKRS), Business Area (BSEG-GSBER), Profit Center (BSEG-PRCTR), Cost Center(BSEG-KOSTL), G/L Account (BSEG-HKONT), Destination Geography (BSEG-ZZDESTGEO), Distribution Channel(BSEG-ZZDIST), MPM (BSEG-ZZISSUE), and COPA Customer (ZZSOLDTO), WBS Element BSEG-PROJK***, Internal Order BSEG-AUFNR, Dr Cr Indicator BSEG- SHKZG
    WBS Element logic – In BSEG-PROJK the WBS Element is stored as 8 digit #, we need to take this number and convert it to the 24 char # (PRPS_POSID), as follows:-
    BSEG-PROJK = PRPS-PSPNR = PRPS-POSID
    e.g.
    BSEG-PROJK = 00000124
    PRPS-PSPNR = 00000124 = PRPS-POSID = HE-000001.04.00001
    In DISCO we are using WBS Elements starting with an Alpha char (HE = Home Entertainment, DI = DIS, AS = ASAP), and in TLand they are using all numeric id’s.
    For the summarization:-
    o     If the WBS element is an Alpha (i.e. DISCO) then get the cost center (PRPS-FKSTL) from the wbs element and summarize by the cost center.
    o     If the WBS element is numeric (TLand) then summarize by the WBS Element.
    •     The fields in BSEG are mapped in the interface as follows:
              MPM Issue                                                 BSEG-ZZISSUE
             Distribution Channel                                     BSEG-ZZDIST
             Sold To Customer (COPA Customer)        BSEG-ZZSOLDTO
              Destination Geography                               BSEG-ZZDEST
              Cost Center                                                 BSEG-KOSTL
              Profit Center                                                BSEG- PRCTR
              Business Area                                             BSEG-GSBER
              G/L Account                                                BSEG-HKONT
              Amount in Local Currency (Summarized)   BSEG-DMBTR     
              Dr/Cr indicator                      BSEG-SHKZG
    o      If the value of BSEG-SHKZG = ‘S’ then
         Map ‘+‘ to the subfield SIGN of the Amount_Extended_T field
         Assign ‘D’ to the subfield DRCR of the Amount_Extended_T field
    o     If the value of BSEG- SHKZG = ‘H’ then
         Map ‘-‘ to the subfield SIGN of the Amount_Extended_T field
         Assign ‘C’ to the subfield DRCR of the Amount_Extended_T field
    •     Process all documents from table BSIK
    2.1.5      Functional Step 5
    Create the Control Trailer Record that contains the total credit, total debit, and total line processed as the last record of the interface.
    2.1.6    Functional Step 6
    Send acknowledgment message to IT Support and AP Accountant for successful transmission and save the interface file on the UNIX server.
    Successful FTP Transfer for FI001
    Remote file is load_payable_1516.yyyymmddhhss.txt
    2.1.7   Functional Step 7
    Clearing Transaction – this is to clear table BSIK, document by document. One transaction will be created by each Document number by Vendor. We must only clear the documents which are included in the interface.
    So, in BSIK take the first document (BSIK-BELNR) and use transaction code F-44 in order to clear this document from table BSIK and transfer it to table BSAK. Process all the documents in BSIK, until BSIK is empty.
    SAP Transaction code     F-44 – Clear Vendor
    Screen     Clear Vendor: Header Data
    Sample document(s)     
    SAP system/Client for sample docs     DR1 (030)
    Step 1 – using document # (BSIK_BELNR) as the key, find the following date for the selection screen
    Input Field description     Map from field     Default value (if applicable)     Sample value
    Account     BSIK-LIFNR          100000
    Clearing date     SY_DATUM          10/06/07
    Period          Default from date     1
    Company Code     BSIK-BUKRS          1119
    Currency     BSIK-WAERS          USD
    Under ‘Additional Selection’ select the ‘radio’ button for the Document number.
    Press Enter.
    Step 2 – input following data
    Input Field description     Map from field     Default value (if applicable)     Sample value
    Document Number From     BSIK-BELNR          400000010
    On menu bar select ‘Go to’ and select ‘G/L Item Fast Entry’
    Step 3 – input following data
    Input Field description     Map from field     Default value (if applicable)     Sample value
    PK (Posting key)     BSIK-SHKZG          50
    Account          APCLEARING     APCLEARING
    Amount     BSIK-DMBTR          500.00
    Business Area     BSIK-GSBER          135
    Company Code     BSIK-BUKRS          1119
    Rules for Posting Key
    If BSIK-SHKZG = H then value to enter = 50
    If BSIK-SHKZG = S then value to enter = 40
    Then click ‘Process Open Items’
    Clear any value in field DF05B-PSSKT (Cash Discnt) = make blank
    Amount Entered (RF05A-BETRG) = Assigned (RF05A-NETT)
    SAVE document and new ‘cleared document’ will be assigned.
    Step 4 – This transaction should be repeated until all entries in the interface file are cleared.
    4.1.5.     Interface File Layout mapping
    The interface file contains four types of records:
    •     Control Record: This is the first record on every transmission file.
    o     Only one Control Record is required in each file. 
    o     Maximum number of 8000 lines per interface file. 
    o     Several interface files will be created if there are more than 8000 lines
    •     Pay Header: This equates to BSIK-BUZEI line 001 of each document.
    o     A new header line should be created whenever 950 lines of Pay Line are written
    o     The records of file are broken into several headers if lines are exceeded 950.
    •     Pay Line: Detailed line containing the summarized data (see 2.1.4).
    •     Control Trailer: This contains totals of the whole file. Add this record at the end of file.
    Message was edited by:
            Naveesh surapureddy

    Hi,
    You can use this FM to get the list of all files
    TMP_GUI_DIRECTORY_LIST_FILES
      DATA: TBL_FILES LIKE SDOKPATH OCCURS 10 WITH HEADER LINE,
            TBL_DIRS LIKE SDOKPATH OCCURS 10 WITH HEADER LINE.
      CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
           EXPORTING
                DIRECTORY  = P_DIRECTORY
                FILTER         = 'Test*.Txt'   "<< restricts to only TEXT files begining with Test
           TABLES
                FILE_TABLE = TBL_FILES
                DIR_TABLE  = TBL_DIRS.
    After getting the files in the TBL_FILES... loop the table and read the files with GUI_UPLOAD FM
    Thanks,
    Sankar M

  • TargetFilename in the Outbound File Adapter

    Hi all,
    I have created an interface that sends projects form SAP PS (by tRFC) to a file directory (using an outbound file adapter). Each project is created as a individual file. All this works well, but the filenames created for the files are not very intuitive for the users looking at the files at the receiver point since there are quite a lot of similar files only distinguished from each other by a timestamp (usualy only separated by milliseconds).
    Is there a way to make the file adapter append data from one XML tag in the file name? I.e:
    file.TargetFilename='<project></project>'.txt
    file.writeMode=addTimeStamp
    giving i.e a file '1234567_timestamp.txt'
    This way I can include i.e. the project number + timestamp as filename making it user friendly for the people using the files.
    Any suggestions will be appreciated.
    Best Regards
    Odd Hilt

    HI
    Read the file without using key field. Just define the FCC parameters Header and Items PI will pick the file.
    DT_Source
       Record
         Header 0..1
           PO_Number String 0..1
         Items  0..unbounded
           Items String 0..1
    Do the FCC
    Header.fieldnames PO_Number
    other config for Header
    Items.fieldnames Items
    other config for items
    Thanks
    Gaurav
    Edited by: Gaurav Bhargava on Nov 12, 2008 10:27 AM
    Edited by: Gaurav Bhargava on Nov 12, 2008 10:27 AM

  • How to handle german characters in case of Outbound JMS interface

    HI all,
           I am doing an interface which is an outbound JMS interface where the message from MQ and uploading it to a file server. The message contains german characters, JMS adapter while converting the message from binary format to XI message format is not able to handle that. So where can we have the option to change the encoding type.

    Hi RamaKiran,
    chk out his link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/405a83e3-0132-2a10-d3ad-a94a604a0469
    /people/thomas.jung3/blog/2004/07/13/bsp-150-a-developer146s-journal-part-vii--dealing-with-multiple-languages-english-german-spanish-thai-and-polish
    http://help.sap.com/saphelp_nw04/helpdata/en/7d/49ae0771924cf4a1fc7e2af7b2e18c/frameset.htm
    Regards
    Sampath

  • Exposing mutiple outbound message interface as a single Web service

    Hi all,
    My Scenario is SOAP <--> PI 7.0 <---> SAP R/3 (Proxy communication). A third party portal will communicate 24/7 online with SAP R/3 via PI 7.0. I have to expose all the outbound message interfaces as a single webservice, so that the third party portal will consume that web service and will communicate to SAP R/3. The communication between Portal and PI 7.0 will be SOAP and from PI to SAP R/3 as proxy communication. I can able to expose a each outbound message interface as a webservice individually i.e each message interface gets separate WSDL file. But the portal people asking me to generate single WSDL (web service) in which all the message interfaces should be included as operations. Could you please send me the information, how to generate a single web service for all the message interfaces?
    I have gone through the entire SDN community, but could nt able to get the information. If anybody worked on similer issue , please guide me to approach to get the solution.
    Regards
    Vijayanand Poreddy

    Hi,
    It is possible to expose all operation using one endpoint by overwritting the default interface name and interface namespace in one "generic" soap sender CC. To achieve it, you need to set the following options Use Encoded Headers and Use Query String in your sender CC.
    Unfortunatelly, there is one drowback of this approach. Before portal will send the request, it has to concatenate the generic endpoint:
    http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>
    with URL encoded interface information:
    &version=3.0&Interface=http%3A%2F%2Fsap.com%2Ftest%5ETest
    for each operations.
    For more detail ref these docs:
    [How To… Use the XI 3.0 SOAP Adapter|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79]
    [Note 856597 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter|https://websmp230.sap-ag.de/sap(bD1wbCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=856597&nlang=EN&smpsrv=https%3a%2f%2fwebsmp210%2esap-ag%2ede]
    I guess that in PI 7.1 this disadvantage will be enhanced.
    Regards,
    Jakub

  • Getting  error when testing Proxy to File interface

    Hi Guru's,
    While I am testing a Proxy to File Interface, using SPROXY transaction i am sending a message from  R/3 to PI.
    the message showing successful in R/3 Moni,but in PI moni I am getting the following Error..
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Determination
      -->
    - <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    In this inreface, I am suppose to send the mesasage to only one Target system(ftp server) . i have checked in ID part also,
    every thing is clear in ID. Can any body please tell where the mistake might exists...
    Thanks in advance..
    Regards
    Raj

    Hi,
    No receiver could be found means Check your Receiver Determination. Activate and update cache. Asysnchronous messages can be manually restarted.
    have you seen this threads,
    NO_RECEIVER_CASE_ASYNC
    No receiver could be determined
    regards,
    ganesh.

  • How to create the Export Data and Import Data using flat file interface

    Hi,
    Request to let me know based on the requirement below on how to export and import data using flat file interface.....
    Please provide the steps involved for the same.......
    BW/BI - Recovery Process for SNP data. 
    For each SNP InfoProvider,
    create:
    1) Export Data:
    1.a)  Create an export data source, InfoPackage, comm structure, etc. necessary to create an ASCII fixed length flat file on the XI
    ctnhsappdata\iface\SCPI063\Out folder for each SNP InfoProvider. 
    1.b)  All fields in each InfoProvider should be exported and included in the flat file. 
    1.c)  A process chain should be created for each InfoProvider with a start event. 
    1.d)  If the file exists on the target drive it should be overwritten. 
    1.e)  The exported data file name should include the InfoProvider technical name.
    1.f)  Include APO Planning Version, Date of Planning Run, APO Location, Calendar Year/Month, Material and BW Plant as selection criteria.
    2) Import Data:
    2.a) Create a flat file source system InfoPackage, comm structure, etc. necessary to import ASCII fixed length flat files from the XI
    ctnhsappdata\iface\SCPI063\Out folder for each SNP InfoProvider.
    2.b)  All fields for each InfoProvider should be mapped and imported from the flat file.
    2.c)  A process chain should be created for each InfoProvider with a start event. 
    2.d)  The file should be archived in the
    ctnhsappdata\iface\SCPI063\Archive directory.  Each file name should have the date appended in YYYYMMDD format.  Each file should be deleted from the \Out directory after it is archived. 
    Thanks in advance.
    Tyson

    Here's some info on working with plists:
    http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/Introduc tion/chapter1_section1.html
    They can be edited with any text editor. Xcode provides a graphical editor for them - make sure to use the .plist extension so Xcode will recognize it.

  • Dynamic file names in outbound file adapter

    I have to configure a flow in XI system wich takes an input file from one machine and after mapping process leaves the output file in target machine with the same name of input file.
    Name of input file won't be always the same (*.dat) so i cannot hardcode this name in outbound file adapter.
    Does anyone know how to transfer input filename from inbound file adapter to XI message and then to outbound file adapter?
    I know there is an option to create dynamic file names in file adapter but i think it isn't enought to solve my problem.

    I have to configure a flow in XI system wich takes an input file from one machine and after mapping process leaves the output file in target machine with the same name of input file.
    Name of input file won't be always the same (*.dat) so i cannot hardcode this name in outbound file adapter.
    Does anyone know how to transfer input filename from inbound file adapter to XI message and then to outbound file adapter?
    I know there is an option to create dynamic file names in file adapter but i think it isn't enought to solve my problem.

  • Get the filename after an outbound file adapter operation

    Hello,
    I am calling an outbound file adapter operation in BPEL (10.1.3.3) - using a filename mask with a sequence (i.e. po_%SEQ%.xml). I would like to provide the filename created at run-time (i.e. po_123.xml) to my BPEL process so I can send this in an e-mail. Is this possible?
    Thanks in advance!
    Rod
    Message was edited by: Rod - fixed a typo
    Rod Tunnels

    Well, I took a different approach - which looks like it will work. Instead of letting the adapter decide the filename - I'm generating that in BPEL and passing that to the adapter using the header variable. So ... nevermind. ;-)

  • Communication between thread in the same process using file interface.

    Hi,
    I am developing  driver and i need to communicate between two thread.
    >can anyone guide me on implementing communication between two thread in the same process using File Interface. First thread will be driver and second will be application.I need to send IOCTL like commands using File interface ie is WriteFile(),ReadFile()
    from Host process to driver through file-interface(which run's in driver context).Host process should not be blocked for the duration of the driver to process the command.
    >File-interface will run in driver context and it will be responsible to receive command from application and pass it to the driver.
    what are the complexity introduced?
    >Can anyone also give me the link/reference to get more information on this topic?
    >How to replace IOCTL command's for instance baud _rate change command with a file interface for example with IRP.

    Here  is the detailed query:
    Hardware Abstraction Layer will interact with Driver(Both will be running in complete different process) .there is a IOCTL for command and  File interface for read and write.
    My requirement is:
    Both should run in the same process so HAL will run as one thread and driver as another thread in the same process .I don't want HAL to wait for completion of request and also i don't want driver to be blocked .
    We are planning to use a File Interface for communication between Hardware abstraction layer and Driver
    HAL will send the command or read/write operation to a file interface and driver will get the command or read/write request from the File interface
    There is a flexibility to change Hardware Abstraction layer and also the Driver
    Is it possible to use IOCTL between two thread under same process? if not what other options do we have.
    Can we use File interface to  send command (like IOCTL) between two thread?

  • Trigerring Outbound XI interfaces in ABAP

    Hi,
    I need to know about calling an outbound XI interface in ABAP. Can any body share some knowledge about this?
    Thanks,
    Kulwant

    Kulwant,
    >>>While i m trying to edit EXECUTE_ASYNCHRONOUS method of my class, it says "You Cannot Edit Proxy Objects". Is it the expected behaviour or some thing is wrong at my side
    Yes. It is the expected behaviour. You can not edit a client(outbound) proxy. You need to have a report which will call this method and pass the reqd data.
    P.S For server proxy, you can and need to edit the EXECUTE_ASYNCHRONOUS. Here you will write the code to retrive the data and process.
    >>>In SXMB_MONI, i can see Sender Message but will there be any response message too? Because i cannot find such message
    Since your interface is asynchronous, you will not have a respose msg.
    Regards,
    Jai Shankar.

  • SPROXY error testing outbound proxy interface

    Hi,
    I am trying to test an outbound proxy interface using SPROXY but am getting the following error:
    Apart from the above messages there is no more help available. When I try testing the generated XSLT program using SXSLT_TEST it gives an error "No valid XSLT program supplied". I have checked and the auto generated XSLT program does exist.
    Any help appreciated.
    Thanks
    Che

    Hi Che Eky,
    Check out below helpful thread & doc:
    SERIALIZE_APPLICATION_DATA Conversion error ABAP => XML: Request Message
    Serialization issue in abap proxy
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a89312f8-0b01-0010-86b3-fdd7178e0534?QuickLink=index&…
    Regards,
    Krupa

Maybe you are looking for

  • Follow-up for Michael Conniff (or anyone interested in corrupt NetInfo DBs)

    Michael was EXTREMELY helpful to me with a corrupt NetInfo database problem I had a few months back (that archived thread is here: http://discussions.apple.com/thread.jspa?threadID=823282&tstart=0 I was talking to someone else about this recently, an

  • Backed Up itunes/Re-Formatted/ and Now No Purchased Music Playlist

    i did a back up of 1886 songs (something around 200 purchased itunes tracks included) then re-formatted. being new to re-formatting, turns out i only did my C drive where my itunes libray is not (not needing to do my F drive)but i do think i had a pa

  • HTML tags in Report

    Hi, I am trying to create a report using APEX. I am using a word template - report layout. but some of the columns does have html tags in the data itself. (eg <b> etc) How can I get to display this in my report. Also for some Fields I am using the Ol

  • How to know the processing ordering in Acrobat Action wizard

    Acrobat Action wizard process the files in a specific folder , I would like to know the ordering citeria of the acrobat, is it based on alphaethic/ numeric order just the same as sorting function in PHP? Since I have to get the last file in the files

  • How can order of viewing a slide show be reversed in Lightroom 5?

    My selected pics are those with a 5 star rating. When selecting "play", the show is running from left to right in the filmstrip, or latest date to oldest date, rather than the reverse. How can I switch the order of viewing to show first to last. THan