Issue in standard RFCLookup using SALERT_CREATE

Hello Experts,
I'm trying to call FM salert_create using standard RFCLookup but my problem is:
Though i pass all the input values, Alert is getting created only with one value.
Below are my Queue values
but the alert is getting created only with the first value "Dummy Message".
so this means that the FM is called only with the first value.
could you please help?

Hi Glory
Write an UDF and pass all the input values in a single queue. Then inside the UDF write the code for RFC look up.
Use a for loop to populate the item node. I think that will work.
Sample code
java.util.Map map;
try {
String msgid;
map = container.getTransformationParameters();
msgid = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
Channel channel = LookupService.getChannel("XXXCLNT100","CC_RFC_R_PI");
RfcAccessor accessor = LookupService.getRfcAccessor(channel);
String rfcXML= "<ns0:SALERT_CREATE xmlns:ns0=\"urn:sap-com:document:sap:rfc:functions\">"+
      "<IP_ALIAS/>"+
      "<IP_APPLICATION_GUID/>"+
      "<IP_CAT>ALERT_TEST_UDF</IP_CAT>"+
      "<IP_XML_CONTAINER/>"+
      "<IT_CONTAINER>"+
         "<item>"+
            "<ELEMENT>ZCUSTOMER</ELEMENT>"+
            "<TAB_INDEX>0</TAB_INDEX>"+
            "<ELEMLENGTH>20</ELEMLENGTH>"+
            "<TYPE>C</TYPE>"+
            "<VALUE>"+pnum+"</VALUE>"+
         "</item>"+
           "<item>"+
            "<ELEMENT>ZMSGID</ELEMENT>"+
            "<TAB_INDEX>1</TAB_INDEX>"+
            "<ELEMLENGTH>70</ELEMLENGTH>"+
            "<TYPE>C</TYPE>"+
            "<VALUE>"+msgid+"</VALUE>"+
         "</item>"+
      "</IT_CONTAINER>"+
    "</ns0:SALERT_CREATE>";
InputStream inputStream =new ByteArrayInputStream(rfcXML.getBytes());
XmlPayload payload = LookupService.getXmlPayload(inputStream);
Payload rfcOutPayload = accessor.call(payload);
throw new  StreamTransformationException ( " Message Mapping Failed because of invalid Customer number");
catch(Exception e)
  throw new RuntimeException("Exception while checking for Distribution channel : "+e);

Similar Messages

  • Issue in Data transfers using ALE for E-Recruiting standalone system

    Dear Experts,
    We have an issue in data transfers using ALE. We are having standalone system where E-Recruiting is maintaind seperately and the version is EHP5.
    When we configured iDoc in Sandbox and its working fine. But when it comes to Dev and Quality servers this is not working fine.
    we have created iDocs using the following filters.
    For Object P: Infotypes 0000, 0001, 0002, 0003, 0006, 0024, 0105.
    For Objects O,S: 1032, Subtype: 0010
    For Object: 1001, Subtype: A003, A008, A012, B007
    For Object O: 1001, Subtype: A002, B002, B003, B012, Tyoe of related object: O,S
    For Objects: C, O, S, Subtype: 1000, 1002, 1028
    For Object:C, Subtype: 1001, Subtype: A007
    When we do the data transfers in Sandbox using PFAL it is transferring the data properly.
    But when we do the same iin Dev and Quality servers we are not able to do it and gettign 52, 51 errors.
    Here we are facing a strange issue. For some Users when we transfer data it is transferring data but with 52 error messgae.
    For some users I am getting 51 error where i could not transfer any data.
    For some users, when we tranfer O, S, and P related data is moving but getting mostly 52 error and all the relationships are not moving here for O,S and properly. But P related CP, BP and NA are getting created successfully.
    It is happening only in Dev and Quality server and that too some users are able to get transferred but not all.
    Where will be the issue? How can we resolve this?
    Any help will be appreciable.
    Thank you in advance.

    Hi Sekhar,
    Have a look over these threads.
    Errors in ALE data transfer to E-Recruiting.
    http://scn.sap.com/thread/1535402    
    BR,
    RAM.

  • How to add new fields in sap copied standard form using itcsy structure

    hi guys,
      i want add some fields in sap script copied standard form using itcsy structure.
    let me know the procedure with any example.
    thanks,
    anitha.

    Hii anitha
    plz c code below
    Syntax goes like this
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    Example:
    In script form
    /: PERFORM READ_TEXTS IN PROGRAM 'Z08M1_FORM_EKFORM1'
    /: USING &EKKO-EKORG&
    /: USING &EKPO-WERKS&
    /: USING &EKKO-EKGRP&
    /: USING &EKKO-BSTYP&
    /: CHANGING &COMPNAME&
    /: CHANGING &SENDADR&
    /: CHANGING &INVCADR&
    /: CHANGING &COMPADR&
    /: CHANGING &COVERLTR&
    /: CHANGING &SHIPADR&
    /: CHANGING &REMINDER&
    /: CHANGING &REJECTION&
    /: CHANGING &POSTADR&
    /: CHANGING &LOGO&
    /: ENDPERFORM
    In program
    FORM Read_texts - To extract the standard texts from the table *
    FORM READ_TEXTS TABLES IN_PAR STRUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA : L_EKORG TYPE EKORG,
    L_WERKS TYPE WERKS_D,
    L_BSTYP TYPE BSTYP,
    L_EKGRP TYPE BKGRP.
    READ TABLE IN_PAR WITH KEY 'EKKO-EKORG' .
    CHECK SY-SUBRC = 0.
    L_EKORG = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKPO-WERKS' .
    CHECK SY-SUBRC = 0.
    L_WERKS = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKKO-EKGRP' .
    CHECK SY-SUBRC = 0.
    L_EKGRP = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKKO-BSTYP' .
    CHECK SY-SUBRC = 0.
    L_BSTYP = IN_PAR-VALUE.
    CLEAR Z08M1_ORG_TEXTS.
    SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
    AND WERKS = L_WERKS
    AND EKGRP = L_EKGRP
    AND BSTYP = L_BSTYP.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
    AND WERKS = L_WERKS
    AND EKGRP = L_EKGRP
    AND BSTYP = SPACE.
    ENDIF.
    READ TABLE OUT_PAR WITH KEY 'COMPNAME'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COMP.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'SENDADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_ADRS.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'INVCADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_INVC.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'COMPADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_CPAD.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'COVERLTR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COVR.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'SHIPADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_SHIP.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'REMINDER'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RMDR.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'REJECTION'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RJCT.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'POSTADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_POST.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'LOGO'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_LOGO.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    reward points if useful
    regards
    Jaipal

  • Can not take a screenshot with Maverick and track pad.  can not use apple chat to talk with a tech.  there are other issues also like I used to be able to go back a page with the delete button.  No Maverick PDF to instruct on how to use Maverick

    Can not take a screenshot with Maverick and track pad.  can not use apple chat to talk with a tech.  there are other issues also like I used to be able to go back a page with the delete button.  No Maverick PDF to instruct on how to use Maverick
    THE use of the apple support is a mess also.
    I want to be able to use my MAC fully and easily like I used to with Snow Leopard. 
    What is wrong with this maverick OS?

    The only people who can possibly assist you with this is Apple Customer Relations, call your local Apple contact number and ask for Customer Relations then explain your situation clearly and politely (be firm but don't rant).
    You might want to investiage what the local laws are regarding defective goods and 'fit for use' definitions on warranties etc. Consumer Protection can be a useful tool to use or bargain with if needed ...

  • What Metadata Standard is used for Face Regions?

    Nice to see that LR6 now has support for Face Recognition and Face Regions. However, nowhere in the online help is it stated explicitly what metadata standards are used for the image regions.
    I would hope that as Adobe is a member of the Metadata Working Group, then LR6 is using the metadata standard specified by the MWG for image regions.

    It's the MWG.
    Within Lightroom itself, the face regions are recorded inside the catalogue and this data is associated with keywords.
    When you export a photo, unchecking the option Remove Person Info, the names are also written to the IPTC Extension Person Shown and the MWG Regions too.
    I suggest you export a photo as above and examine its metadata in the Advanced tab of Bridge's FIle Info dialog box, or in some other metadata tool.

  • JDBC-ORACLE CONNECTIVITY ISSUE WITYH OCI8 DRIVER using oracle 11g client..

    JDBC-ORACLE CONNECTIVITY ISSUE WITYH OCI8 DRIVER using oracle 11g client..
    I am getting below error when i m trying to access oracle db using oracle 11g client. It works with earlier oracle client versions. how do i resolve this. is there any issue with version of ojdbc6.jar that i am using??? I cant use thin driver since its an old application for which i dont have source files.
    Apr 6, 2013 1:00:59 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:992)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:262)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at PettyCash.SysDate.getSysSubSys(SysDate.java:232)
    at org.apache.jsp.PettyCash.index_jsp._jspService(org.apache.jsp.PettyCash.index_jsp:186)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Code is as follow for reference
    import oracle.jdbc.driver.*;
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    conn = DriverManager.getConnection ("jdbc:oracle:oci8:@" + database,db_user, db_pass);
    eNVIRONMENT VARIABLES set are as follows:
    classpath
    C:\Program Files\apache-tomcat-5.5.12\common\lib\servlet-api.jar;C:\Program Files\apache-tomcat-5.5.12\webapps\ROOT\WEB-INF\lib\classes12.jar;C:\Program Files\apache-tomcat-5.5.12\webapps\ROOT\WEB-INF\lib\ojdbc6.jar;
    JAVA_HOME
    C:\Program Files\Java\jdk1.5.0_04
    PATH
    C:\Program Files\Java\jdk1.5.0_04\bin
    ORACLE_HOME
    D:\Oracle11\product\11.2.0\client_1\BIN

    Apr 8, 2013 5:24:06 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
         at org.apache.jsp.abc.index_jsp._jspService(org.apache.jsp.abc.index_jsp:280)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)

  • Streaming Issues from Mac Pro using Apple TV

    I have recently purchased a Mac Book Pro with retina display and tried streaming content using my apple tv (3rd gen). The picture streams (providing my bluetooth is off) but the sound continuously stutter. Does anyone know how to fix this?

    Hello PaulKinger,
    Welcome to the Apple Support Communities!
    I understand that you are experiencing some performance issues with sound while using AirPlay between your Mac Pro and your Apple TV. To begin troubleshooting, I would suggest working through the steps outlined in the attached article. 
    Resolve issues with AirPlay and AirPlay Mirroring from iPhone, iPad, and iPod touch - Apple Support
    Resolve performance issues with AirPlay or AirPlay Mirroring
    If you are experiencing intermittent playback or significant network lag with AirPlay or AirPlay Mirroring, it could be due to a weak Wi-Fi connection, interference, or the distance between the Wi-Fi router and your iOS device, Apple TV or AirPort Express.
    Try these suggestions:
    Ensure that other devices are not trying to stream to the same Apple TV at the same time.
    Ensure that your Wi-Fi router is set up with the recommended settings for the best performance.
    Certain external devices, such as microwave ovens and baby monitors, may interfere with a Wi-Fi network. Try moving or disabling these devices.
    If possible, try to locate your Wi-Fi router in the same room as your iOS device and Apple TV.
    If your wireless and wired networks are the same, try connecting your Apple TV to the router via Ethernet instead of Wi-Fi.
    If the Wi-Fi router has an external antenna, check to see that is it connected properly and in good condition.
    Use the Wi-Fi network troubleshooting guide to resolve interference and other issues.
    Have a great day,
    Joe

  • In FCP x backup process is constantly running in background even though its done which results into slow working of FCP x. any idea to resolve the issue. I am using 10.1.3 and facing the problem ever since i have updated my FCP x to 10.1.3

    in FCP x backup process is constantly running in background even though its done which results into slow working of FCP x. any idea to resolve the issue? I am using 10.1.3 and facing the problem ever since i have updated my FCP x to 10.1.3

    Go into preferences and under playback turn off background render. That helped speed things for me when working with large files.

  • What is the standard class used to create SALES ORDER in SAP CRM?

    Hello Experts,
    Can anyone suggest me what is the standard class used for creating sales order.
    I have created sales order using the BAPI 'BAPI_SLSTRANSACT_CREATEMULTI' in my report program.
    Now, I have to create sales order using standard classes and methods(my assignment).
    Please suggest the suitable class.
    Regards
    DNR Varma

    Hi Varma,
    You can create crm documents like sales order using BOL interfaces.
    You can check one example at the following thread:
    Create OrderThro BOL
    Check if it helps you a little more.
    Kind regards,
    Garcia

  • Problem with changing the Standard Price using MR21

    I'm upgrading the system from 4.6C to ECC6.
    Upgrading the Standard Price works normally in 4.6C. However, in ECC6, I notice that the data saved to CDPOS table is wrongly formatted. Therefore the other programs fail to read from this table.
    Standard price is supposed to be right-justified. But it not like that in ECC6.
    Can anyone tell me we should I look into to control the process of saving the data to CDPOS?
    Thanks.
    Han

    Thanks Amuktha.
    The link doesn't seem to help resolving my problem.
    The changes is saved into CDPOS in the field Value_New (CHARACTER 254) in the way that the actual data can be retrieved by:
    value_new+238
    But any update to the standard price using MR21 now result in the value of Value_New that require:
    value_new+7
    to get the actual data.
    Further more, in the old system, the standard price value in the decimal form like: "55.66" will be save to VALUE_NEW as "5566". So to get the real value, the system need to devide the value by 100 to get the actual new price.
    In the ECC6 system, it is exactly the same as what we input: "55.66".
    My question is: Is there an user exit, BADI or any way that can interfere the process of saving the data to CDPOS so that I can ensure the new Price will be save as "5566" and can be extracted using VALUE_NEW+238?
    Thanks.
    Han

  • Hi I'm having issue to sign in using iPod touch cause it keep showing check network connection as I use wifi.. Can please hel me . Thanks

    Hi I'm having issue to sign in using iPod touch cause it keep showing check network connection as I use wifi.. Can please hel me . Thanks

    Sign in where?
    Maybe:
    FaceTime, Game Center, Messages: Troubleshooting sign in issues

  • Cisco Prime Infra 2.1 Standard Install using OVA File HD Requirements

       Hi guys,
           I wanna install the Cisco Prime Infra Standard 2.1 using the OVA File but I haven't 900 HD Space continuous in Storage.
       Two questions
           01) The Virtual Machine allocate this space (900 HD) during the install or allocate dynamically as needed ?
           02) There is a option to install the Standard Version using less HD space ?
          Thanks
          My Best Regards
          Andre Gustavo Lomonaco

    Initially we installed medium when Prime 2.0 came out, however about 3 months lately we needed to upgrade to standard/pro.  Upgrading the CPU/Core was seamless  
    Install a smaller OVA with enough cpu/cores for the standard and just add disk space later on
    https://supportforums.cisco.com/document/9871606/adding-disk-space-prime-infrastructure
    Its not a recommended practice but there are work around...

  • Issue in creating formula using atributes

    Hi All,
    I have issues in creating formula using attributes of characteristic. I need to create a formula using attributes of charactertic customer & key figure.
    Ex. Formula
    Key figure / attribute of char customer
    Please suggest.
    Thanks,
    Mamata

    Hi Mamta,
    I do not think we have any option of creating RKF based on Display attribute. Rather you create RKF based on Navigation attribute.
    Regards,
    Kams

  • How do we identify the standard texts used in a sap script?

    Hi,
    Is there any way that i can identify the standard texts used in SAP scripts?
    Not manually going to each window in the script and checking.
    Will there be any table where I can look ?
    Thanks,
    krishna.

    Hi,
    GO to the forminfo of the sapscript in SE71..and then search for INCLUDE
    after displaying the form...utilities->form info..
    hope this works..
    Thanks
    Naren

  • When I use Firefox without menu bar I can see bookmarks. How ever when I activate menu bar the bookmark is missing from toolbar. I tried opening in safe mode and resetting toolbar but it didn't fix the issue. I am using version 7.0

    When I use Firefox without menu bar I can see bookmarks. How ever when I activate menu bar the bookmark is missing from toolbar. I tried opening in safe mode and resetting toolbar but it didn't fix the issue. I am using version 7.0

    Do you mean the Bookmarks Menu button on the Navigation Toolbar?
    You only see that button if the menu bar is hidden.

Maybe you are looking for