ABAP program and FB for value mapping replication

Hi,
we are using a 40B system and I want to use the value mapping replication in XI. To refill the data into the XI database I must write an ABAP and a function module to transfer the data out of R/3 into XI (via RFC). Has anybody an example how the program (and the FB) must look like? i.e I want to read table mvke and extract the materialnumber and the prodhierarchy.
Thanks and best regards
Arnold

Hi Arnold,
First you need a table type with a structure like follows:
operation
groupid
context
identifier
agency
scheme
(corresponding to the Interface ValueMappingReplication)
All used data elements should have type string or charXX
for example: operation - char10, groupid - char32, rest - char120
Next you create a function module with attribute 'remote-enabled module'.
The import parameter is your new table structure.
Next you create an ABAP program. Here an example:
report z_value_mapping .
tables mvke.
data:
p_value_mapping type zvalue_mapping,
p_value_mapping_table type zvalue_mapping_table.
p_value_mapping-operation = 'Insert'.
p_value_mapping-context = 'http://xi.com/Material'.
select * from mvke where matnr between '170' and '501'.
check not mvke-prodh is initial.
* Create a value mapping group to join two entries.
* use a unique 32 digit number.
concatenate '00000000000000' mvke-prodh into p_value_mapping-groupid.
translate p_value_mapping-groupid using ' 0'.
* Store the mapping source as first entry to the group
p_value_mapping-identifier = mvke-matnr.
p_value_mapping-agency = 'SenderAgency'.
p_value_mapping-scheme = 'MATNR'.
append p_value_mapping to p_value_mapping_table.
* Store the mapping target as second entry to the group
p_value_mapping-identifier = mvke-prodh.
p_value_mapping-agency = 'ReceiverAgency'.
p_value_mapping-scheme = 'PRODH'.
append p_value_mapping to p_value_mapping_table.
endselect.
* Push data to XI
call function 'Z_VALUE_MAPPING' in background task
  destination 'IS_XID'
  exporting
    value_mapping       = p_value_mapping_table.
    commit work.
Import the RFC to the Integration Builder, create a mapping between your RFC and the interface ValueMappingReplication.
Check this Blog for additional steps:
/people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
Choose names for context, agency and scheme which are useful your scenario.
Regards
Stefan

Similar Messages

  • Cache update in value mapping replication

    Could anyone let me know when value mapping replication of mass data is done , the updated values in the java runtime cache that we can view in RWB->Cache Monitoring->Mapping Runtime Cache - are they deleted on system restart or are persisted somewhere.Is it only cached in Java memory and after restart we need to re invoke the scenario again to update the same.
    Regards
    Subhro

    Hi,
          You can refer the following post which talks about the same issue.
    Re: Value Mapping Considerations for significantly high input
    Also, go through this link for value mapping replication
    http://help.sap.com/saphelp_nw04s/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    Regards

  • Value Mapping replication GUID Logic

    HI,
    We are doing Value Mapping replication from ECC table entries to Pi Runtime Value Mapping cache.
    We are generating the Group ID required for Value Mapping from ECC.
    Here we are confused with the logic for GUID Generation.
    At first I thought the driving factors are -- if there is already an entry for the same Source Agency, Source Scheme, Target Agency, Target Scheme and Target Value then it should go in the same group id, else a new gr id needs to be generated.
    However it looks like that is incorrect.
    Can somebody help us on what should be the logic for generating group id for Value mapping replication.
    We have the scenario where the same source Agency, Scheme ,Value maps to multiple target Schemes... and it is not working if we have different Group ids...
    Thanks,
    Himadri

    > We have the scenario where the same source Agency, Scheme ,Value maps to multiple target Schemes... and it is not working if we have different Group ids...
    If you want to have multiple targets, then you have create pairs with unique GUID
    like this:
    A - 1 GUID X
    A - 2 GUID Y
    A - 3 GUID Z
    The standard value mapping function does not work, when you have multiple targets. It will not return an entry.
    You have to create a UDF for this purpose. You need to identify which target do you want to select from different values.
    An UDF could look like this extract:
    IFIdentifier source = XIVMFactory.newIdentifier(source_context,source_agency,source_scheme);
    IFIdentifier target = XIVMFactory.newIdentifier(target_context,target_agency,target_scheme);
    IFRequest request = XIVMFactory.newRequest(source,target,sourceValue);
    try{
      IFResponse response = XIVMService.executeMapping(request);
      if (response.countTargetValues() > 0){
        String[] targetValues = response.getTargetValues();
    // take first value of result
         return targetValues[0];
    This example is taken from PI 7.1
    Edited by: Stefan Grube on Oct 22, 2010 9:32 AM

  • Value Mapping Replication for Mass Data

    Hi SDN,
    I have to design an interface in XI 3.0 (SP14 on AIX) for replicating mass data from file databse etc to the XI runtime cache.
    I went thru the follwing weblog which proved to be helpful:<b>/people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    <b>ValueMappingReplicationOut</b> being my Asynchronous outbound interface and <b>ValueMappingReplication</b> being Asynchronous Inbound Interface of in the software component SAP BASIS, software component version SAP BASIS 6.40 in the namespace http//sap.com/xi/XI/System.
    Am aware that for this scenario the receiver is predefined (it must be on the Integration Server).
    My question here is how do i use the outbound interface to send data to XI. <b>I mean in my case i have a file and SQL server as the sender.</b>
    Can somebody detail the steps involved. Suppose i dont want to use ABAP proxy or JAVA proxy HTTP adapter sending the message,
    Do i have other options to send data to XI value mapping interface?
    Regards,
    Vineet

    When you want to send data from a file, just map the structure from the arriving XML to ValueMappingReplication. There is no need for using the interface ValueMappingReplicationOut or use an ABAP proxy.
    Regards
    Stefan

  • Value Mapping Replication Vs RFC Lookup API Usage Pros and Cons

    Hi Ananth,
       Looking at the options you have, Value Mapping Replication might be a better option, because, by going the second route, you are just trying to simulate how a Value mapping replication works in reality.
    But, when the VMR framework is readily available, why do we need to simulate it by using Java code?
    Moreover, the java code approach will be triggered as many times and the number of messages that are triggered VS the number of times the VMR tables in the Java Runtime gets updated only when there is an entry that is added/modified in the SAP side (Which i feel is less frequent than the frequency of the messages being sent through XI).
    Regards,
    Ravi Kanth Talagana

    Hi,
    There are more issues you need to consider here:
    1) Is this static data or will it change often (the lookup data);
    2) Wether it is a good approach to keep it in middle system? if so who takes the ownership of managing it i.e. update, delete etc from time to time
    3) The tables don't seem small to me for value mapping
    I am not a big expert but i am off the opinion going RFC way as it will keep loose-coupling in place.
    However your issue for not using graphical RFC is not true though, you can pass all your line items as a single object which means only making ONE single call to ECC and then get the return the same way. Think along the lines of internal table as an object
    regards,

  • Value Mapping Replication for Mass Data - Performance Issues

    Hi All,
    We are looking into Value Mapping Replication for Mass Data. We have done this for less number of fields.
    Now we might have to have 15,000 records in the cache for the Value Mapping. I am not sure how this would effect the Java Cache and Java Engine as a whole.
    There might be a situation where we will have to leave the 15K records in the cache table on Java Engine...
    Are there any parameters that we can look into just to see how this hits the performance.
    Any links/ guidance in the right direction might help me..
    reg

    Naveen,
    Check jins reply in this thread (they have done with API and without API using graphical but still some issues):
    Value mapping performance using LookUp API
    ---Satish

  • Anyone worked on Value Mapping Replication for Mass Data

    hi all,
    Is there any one who worked on <b>Value Mapping Replication for Mass Data</b> stuff.
    What is this?
    The on page 139 of the doc below tells about registereing
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/627d1cbc-0601-0010-aea2-c275521673f2
    Can any one explain guide me in that direction.
    reg,

    Naveen,
    Have a look at the weblog /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    Refer the below discussion too
    Re: How to edit roles for specific tasks in IR & ID?
    Best regards,
    raj.
    Message was edited by:
            Raj

  • Value Mapping Replication

    Hi,
    I'm having issue in value mapping replication and seeking help to fix it....following is my config in place:
    1. Created java out proxy and registered it
    http://host:port/ProxyServer/register?
    ns=http://sap.com/xi/XI/System&interface=ValueMappingReplication&bean=localejbs/sap.com/com.sap.xi.se
    rvices/ValueMappingApplication&method=valueMappingReplication
    2. Configurations in place in ID
    3. Activated the Outbound ABAP proxy and triggered the call from report program
    No errors reported from the client abap proxy, yet, when checked in RWB i'm unable to view the VM table in cache monitoring....not sure where the error is.
    Is it required to register the JAR file as generated during the step# 1 in J2EE visual Admin? else is there something I overlooked?

    > No errors reported from the client abap proxy, yet, when checked in RWB i'm unable to view the VM table in cache monitoring....not sure where the error is.
    Check monitoring for adapter framework for errors.

  • ABAP Program and Execution Caching?

    Hi All
    We have a strange problem with custom ABAP program possibily caching a SQL statement. Here is the problem:
    Transaction: ZTRANS_C1
    This transaction is about 4 years old and we have noticed a problem with a SQL statement withing the program which is causing a timeout and shorts dumps (runs for 600ms). We managed to fix the statement and change the program but it is still taking 600ms and timing out.
    So we created a new transaction ZTRANS_C2 which is an exact copy of ZTRANS_C1 and ran it. This took only 65ms.
    So is there any way in SAP or SQL where we can stop it caching the statements or is this some other problem?
    Thanks
    Phil

    Hi Arnold,
    First you need a table type with a structure like follows:
    operation
    groupid
    context
    identifier
    agency
    scheme
    (corresponding to the Interface ValueMappingReplication)
    All used data elements should have type string or charXX
    for example: operation - char10, groupid - char32, rest - char120
    Next you create a function module with attribute 'remote-enabled module'.
    The import parameter is your new table structure.
    Next you create an ABAP program. Here an example:
    report z_value_mapping .
    tables mvke.
    data:
    p_value_mapping type zvalue_mapping,
    p_value_mapping_table type zvalue_mapping_table.
    p_value_mapping-operation = 'Insert'.
    p_value_mapping-context = 'http://xi.com/Material'.
    select * from mvke where matnr between '170' and '501'.
    check not mvke-prodh is initial.
    * Create a value mapping group to join two entries.
    * use a unique 32 digit number.
    concatenate '00000000000000' mvke-prodh into p_value_mapping-groupid.
    translate p_value_mapping-groupid using ' 0'.
    * Store the mapping source as first entry to the group
    p_value_mapping-identifier = mvke-matnr.
    p_value_mapping-agency = 'SenderAgency'.
    p_value_mapping-scheme = 'MATNR'.
    append p_value_mapping to p_value_mapping_table.
    * Store the mapping target as second entry to the group
    p_value_mapping-identifier = mvke-prodh.
    p_value_mapping-agency = 'ReceiverAgency'.
    p_value_mapping-scheme = 'PRODH'.
    append p_value_mapping to p_value_mapping_table.
    endselect.
    * Push data to XI
    call function 'Z_VALUE_MAPPING' in background task
      destination 'IS_XID'
      exporting
        value_mapping       = p_value_mapping_table.
        commit work.
    Import the RFC to the Integration Builder, create a mapping between your RFC and the interface ValueMappingReplication.
    Check this Blog for additional steps:
    /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    Choose names for context, agency and scheme which are useful your scenario.
    Regards
    Stefan

  • Value mapping replication - groupid format

    i am trying to use value mapping replication with the synchronous interface.
    i generated an abap proxy and wrote this abap program:
    REPORT  z_value_mapping_proxy.
    TYPES: BEGIN OF ty_lfa1,
           lifnr LIKE lfa1-lifnr,
           name1 LIKE lfa1-name1,
           END OF ty_lfa1.
    DATA : obj_ref_sync  TYPE REF TO zco_value_mapping_rep_out_sync,
           wa_output     TYPE zvalue_mapping_replication,
           gt_lfa1       TYPE TABLE OF ty_lfa1,
           gs_lfa1       TYPE ty_lfa1,
           gs_item       TYPE zvalue_mapping_replication_itm,
           lr_root       TYPE REF TO cx_root.
    START-OF-SELECTION.
      SELECT lifnr name1 FROM lfa1 UP TO 100 ROWS
                         INTO TABLE gt_lfa1.
      LOOP AT gt_lfa1 INTO gs_lfa1.
        CONCATENATE gs_lfa1-lifnr '_to_' INTO gs_item-group_id.
        CONCATENATE gs_item-group_id gs_lfa1-name1 INTO gs_item-group_id.
        gs_item-identifier-agency = 'SEA2'.
        gs_item-identifier-scheme = 'urn:source:vcode2'.
        gs_item-identifier-value = gs_lfa1-lifnr.
        gs_item-operation = 'Insert'.
        gs_item-context   = 'http://sap.com/xi/XI'.
        APPEND gs_item
               TO wa_output-value_mapping_replication-item.
        gs_item-identifier-agency = 'REA4'.
        gs_item-identifier-scheme = 'urn:target:vname4'.
        gs_item-identifier-value = gs_lfa1-name1.
        gs_item-operation = 'Insert'.
        gs_item-context   = 'http://sap.com/xi/XI'.
        APPEND gs_item
               TO wa_output-value_mapping_replication-item.
      ENDLOOP.
      LOOP AT wa_output-value_mapping_replication-item INTO gs_item.
        WRITE: / gs_item-group_id, gs_item-identifier-agency,
                 gs_item-identifier-scheme , gs_item-context.
      ENDLOOP.
    TRY.
    CREATE OBJECT obj_ref_sync
    EXPORTING
       LOGICAL_PORT_NAME  =
    CATCH cx_ai_system_fault .
    ENDTRY.
    TRY.
      CALL METHOD obj_ref_sync->execute_synchronous
        EXPORTING
          output = wa_output
    IMPORTING
       INPUT  =
    CATCH CX_AI_SYSTEM_FAULT .
    CATCH ZCX_VALUE_MAPPING_REPLICATIONF .
    CATCH CX_AI_APPLICATION_FAULT .
    ENDTRY.
      COMMIT WORK.
    in xi monitor i get the message:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="JAVA_PROXY.">APPLICATION_FAULT</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="http://sap.com/xi/XI/System">ValueMappingReplicationFault</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    and inthe aplication logViewer, in the log defaultTrace.trc, i get the message:
    Error processing inbound message. FaultException: com.sap.xi.xI.system.ValueMappingReplicationFault_Message_Exception: <ns:ValueMappingReplicationFault xmlns:ns="http://sap.com/xi/XI/System"><standard><faultText>The GroupID 0000000001_to_Forks Manufacturin in item 0 has wrong format. Details: null</faultText><faultDetail><text></text><id>4</id></faultDetail></standard><addition><ItemNr>0</ItemNr><Item><Operation>Insert</Operation><GroupID>0000000001_to_Forks Manufacturin</GroupID><Context>http://sap.com/xi/XI</Context><Identifier scheme="urn:source:vcode2" agency="SEA2">0000000001</Identifier></Item></addition></ns:ValueMappingReplicationFault><ns:ValueMappingReplicationFault xmlns:ns="http://sap.com/xi/XI/System"><standard><faultText>The GroupID 0000000001_to_Forks Manufacturin in item 0 has wrong format. Details: null</faultText><faultDetail><text></text><id>4</id></faultDetail></standard><addition><ItemNr>0</ItemNr><Item><Operation>Insert</Operation><GroupID>0000000001_to_Forks Manufacturin</GroupID><Context>http://sap.com/xi/XI</Context><Identifier scheme="urn:source:vcode2" agency="SEA2">0000000001</Identifier></Item></addition></ns:ValueMappingReplicationFault>
    does anyone know what the problem can be?
    is  there a specific format for groupid?

    Hi,
    You can use FM GUID_CREATE and use 32 digit GUID.
    Regards,
    Sudharshan N A

  • Value Mapping replication issue

    Hi  PI Experts,
    I am working on the Value mapping replication scenario using Z-table created in R/3 system.
    I have configured the value mapping Replication Out Abap proxy.
    I am getting the following error :
    Audit Log for Message: 4d404b41-39e4-0083-e100-80008b3557e6
    Time Stamp Type Description
    2011-01-27 07:56:19 Information The message was successfully received by the messaging system. Protocol: XI URL: http://gendevhrcx51.unix.appliarmony.net:54000/MessagingSystem/receive/JPR/XI Credential (User): PIAPPLUSER
    2011-01-27 07:56:19 Information Using connection JPR. Trying to put the message into the receive queue.
    2011-01-27 07:56:19 Information Message successfully put into the queue.
    2011-01-27 07:56:19 Information The message was successfully retrieved from the receive queue.
    2011-01-27 07:56:19 Information The message status was set to DLNG.
    2011-01-27 07:56:19 Information Java Proxy Runtime (JPR) accepted the message.
    2011-01-27 07:56:19 Error JPR could not process the message. Reason: Cannot locate proxy bean ValueMappingApplication.
    2011-01-27 07:56:19 Error Delivering the message to the application using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. Exception: Cannot locate proxy bean ValueMappingApplication.
    2011-01-27 07:56:19 Information The message status was set to WAIT.
    2011-01-27 07:56:19 Information The asynchronous message was successfully scheduled to be delivered at Thu Jan 27 08:01:19 CET 2011.
    I have followed the threads :
    1) /people/udo.martens/blog/2009/04/03/value-mapping-replication-scenario
    2) ValueMappingReplication in PI 7.1 
    3) How to Perform Value Mapping u2013 A Walkthrough ->  Sarath Chandra Kandadai
    which had similar issue but could not make any headway.
    Questions :
    1) Are there any specific PIAPPLUSER authorizations required ,I have configured the CC as per the 3rd thread.
    2) There is an issue with SLD access when I look at the JPR monitoring,could be the possible reason.
      SLD access SLD host:port = gendevhrcx51:54000
    Error getting JPR configuration from SLD. Exception: No entity of class SAP_BusinessSystem for DHX.SystemHome.gendevhrcx51 found
    No access to get JPR configuration
    I have refered to the Note : 809420 and asked the basis team to look into this.
    I am running out of ideas ,request you guys to help on this issue.
    Thanks
    -Alok

    Hi Alok,
    i have similar error. Here the error:
    30.12.2013 20:40:17.789
    Information
    Java Proxy Runtime (JPR) accepted the message.
    30.12.2013 20:40:17.871
    Error
    JPR could not process the message. Reason: No remote bean found for reference of class com.sun.proxy.$Proxy352.
    30.12.2013 20:40:17.876
    Error
    Delivering the message to the application using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. Exception: No remote bean found for reference of class com.sun.proxy.$Proxy352.
    30.12.2013 20:40:17.911
    Information
    The asynchronous message was successfully scheduled to be delivered at Mon Dec 30 20:45:17 CET 2013.
    I have registered the inbound interfaces:
    http://sap.com/xi/XI/System#ValueMappingReplication = localejbs/sap.com/com.sap.xi.services/ValueMappingApplication:valueMappingReplication
    http://sap.com/xi/XI/System#ValueMappingReplicationSynchronous = localejbs/sap.com/com.sap.xi.services/ValueMappingApplicationSynchronous:valueMappingReplicationSynchronous
    2 interfaces found
    But somehow the bean is not found and gave me the error :
    JPR could not process the message. Reason: No remote bean found for reference of class com.sun.proxy.$Proxy352.
    Can you tell me in detail what you have done to resolve the problem? I send the test data from soapui using the outbound interface ValueMappingReplicationOut provided by the content in SAP BASIS 7.11.
    Thanks,
    Ly-Na

  • Value Mapping replication from SAP

    Hi
    I have gone thru the Blogs and threads related to value mapping replication from SAP.
    Inmy observervation  http://sap.com/xi/XI/System of SAP BASIS 7.00
    still I have some doubts...
    1)what is the differnce between ValueMappingReplication(Asynchronous) and ValueMappingReplicationSynchronous .
    when we will use them.
    2) Message type ValueMappingReplication contains Operation ,GroupId,Context,scheme,agency.
    what is the meaning of Operation??
    what is the use of group ID??
    is this necessary to maintain all these values in Ztable and also source and target values ?? and use them in Abap aproxy logic??
    3) is there any Message Mapping Needed.?? and Interface Mapping Needed to implement value Mapping replication??
    but in this blog
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1301i [original link is broken] [original link is broken] [original link is broken] didnt find any interface mapping .
    4)what is the Sender Adapter type ??
    5) if I did replication from SAP..can I see the details in ID
    please guide me
    regards
    munna

    hi
    1)what is the differnce between ValueMappingReplication(Asynchronous) and ValueMappingReplicationSynchronous .
    In sync you will get the value mapping replication status back and in async you won't. In sync based on the response u can update again in case of any failure. If data size is large use async.
    2) Message type ValueMappingReplication contains Operation ,GroupId,Context,scheme,agency.
    what is the meaning of Operation??
    The operation that you are going to perform. Below is the operations list and the contents to be set in the message for the same
    Insert = all fields must be set;
    Delete =all fields must be set;
    DeleteGroup = fields GroupID and context must be set;
    DeleteContext = field Context must be set;
    DeleteContextGeneric = Context contains the starting part for the context to be deleted
    what is the use of group ID??
    Displays the different representations of an object.
    A value mapping group is identified uniquely by a GUID.
    You can also assign a name to a value mapping group.
    is this necessary to maintain all these values in Ztable and also source and target values ?? and use them in Abap aproxy logic??
    no. system creates the value mapping table. you can take it frm there. no need of any ztables.
    3) is there any Message Mapping Needed.?? and Interface Mapping Needed to implement value Mapping replication??
    You will be sending the value mapping data from a sender system. If it can sent in the same format not required, otherwise you will have to.
    4)what is the Sender Adapter type ??
    Any adapter...depends on the sender system.
    5) if I did replication from SAP..can I see the details in ID
    You can see it in Cache monitoring in RWB.
    for more details refer
    http://help.sap.com/saphelp_nw70/helpdata/EN/13/ba20dd7beb14438bc7b04b5b6ca300/content.htm
    rgds
    Arun

  • 401 - Unauthorized error in Value Mapping Replication scenario

    Hi,
    I'm trying to push some Value Mapping replication data from one of the clients (which is a non-Integration Server) of XI system to IS. When I execute the program which calls the outbound proxy, the XI message fails with the error HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorised.
    As given in SAP help, I registered the inbound java proxies and generated the outbound proxies. I confiured the receiver channel with path /MessagingSystem/receive/JPR/XI. In authentication data, I tried several users such as XISUPER, XIAPPLUSER, XIISUSER..Still I get the same error.
    What is missing/wrong?
    Thanks in advance
    Praveen Sirupa

    Hi Praveen,
    Could you pls do the following...just for verification....
    enter the url http://<was_server>:5<sysnr>00/MessagingSystem/receive/JPR/XI
    and when it asks for authentication give the XIAPPLUSER and password...you should get an xml that looks like this...
      <?xml version="1.0" encoding="UTF-8" ?>
    - <scenario>
      <scenname>MSG_SCEN</scenname>
      <scentype>SERV</scentype>
      <sceninst>MSG_001</sceninst>
      <scenversion>001</scenversion>
    - <component>
      <compname>SERVLET</compname>
      <compdesc>Messaging System</compdesc>
      <comphost>localhost</comphost>
      <compinst>MSG_001</compinst>
    - <message>
      <messalert>OKAY</messalert>
      <messseverity>100</messseverity>
      <messarea>QR</messarea>
      <messnumber>801</messnumber>
      <messparameter>na</messparameter>
      <messtext>MessagingServlet is active.</messtext>
      </message>
      </component>
      </scenario>
    Thanks,
    Renjith

  • File to File and then Call ABAP Program and pass file name and location

    Hi
    I am new to PI and am working on the following requirement and some guidance would help:
    A file is picked up from a third party server using FTP and is put in an SAP server in a specific location. After I have put in the file successfully, I need to call an ABAP program and provide the name and location of the file for further processing by the ABAP program.
    Although I am familiar with File to File, how can I add in the ABAP call with the filename and location? I do not want to pass any other information to the ABAP program.
    Thanks for your help.
    Manoj

    I think I get what you're saying. This additional file would have the file and the path in it's content. I would then use this as a source (FCC?) for Mapping with the RFC. Right?
    Exactly and yes, FCC would be helpful
    Would you have a sample OS script to do the above?
    Actually it depends on the operating system on which your PI system is standing. For instance for Windows, you might try with the following as a start point (but I was not able to test it, so I can't guarantee it will do the job):
    cmd.exe /C "%f %F > C:\target_directory\%DATE%_%TIME%.txt"
    In case you needed more, try googling on "windows batch script" or similar.
    Hope this helps,
    Greg

  • Value mapping replication - java cache

    i used value mapping replication and successfully loaded values to the java cache (i can see the in the cache monitoring but not in  the configuration).
    when i try to use a scenario with value mapping using the agencies and schemes which i loaded, the mapping doesn't work and i receive the same value that was entered.
    what could be the problem?
    P.S
    i used the same groupid for each pair of source and target value when i loaded them. is that the right way?

    Tomer,
    what is the context that u used. Did you give the correct context in mapping as in Runtime Cache.
    Regards,
    Sudharshan N A

Maybe you are looking for

  • Desktop app hangs on windows 7

    My desktop CC app just hangs when I click on it.  Two days ago I was able to download and install Photoshop and Dreamweaver but I have not been able to download or extract Adobe Pro.  I really need Adobe Pro for some class work that will be due this

  • Error  while putting service activity

    Hi experts, On puting service activity in a network, system has given following message 'Error in committment check (See costing log)'. Cost log says 'Planning level M1 does not exist' please correct your entry or maintain the planning level. I'm sur

  • MIRO based on purchase order and delivery note

    Hi It seems I can do a supplier invoice based on PO or some POs. I can also do a supplier invoice based on delivery note or some delivery notes. But I can not do MIRO based on delivery note AND purchase order. Business scenario: I need this when I ha

  • Does MacKeeper help?, Does MacKeeper help?

    I have had problem with the storage on my lap top, and I was wondering if Mackeeper actually is a good thing to purchase or if it is a scam.

  • Linksys WRT600N vs CISCO PIX 506E.... Firewall / Routing Performance

    Hi: I am new to the forum and was hoping to tap into some of your expertise. I have a Linksys WRT600N version 1.1 and I recently acquired a CISCO PIX 506E firewall. My question is what should I use as a firewall? Both have SPI etc. Should I: a) Use t