PureEngage On-Premises

 View Only

Sign Up

  • 1.  Configuring result tab, webservice IRD

    Posted 02-07-2017 18:28

    The customer SAP team deploy a RFC to use on a new  E-mail strategy, but the kind of reponse its diferent, the response on the production RFC are a table:

    Zcrmf001UraIdClienteResponse.EtCliente.item.Idcliente

    On the new RFC the response are on a variable. How i configure on the result tab to get this variable?

     

    some prints to ilustrate.

    working RFC 

    NOT working



    After do a troubleshooting on this i think the problem that cause the webservice not work its on the result tab.

    Best regards 

    Arthur



  • 2.  RE: Configuring result tab, webservice IRD

    Posted 02-07-2017 19:58
    Hi Arthur,
        I am really a bit confused with your question.

    Correct me if I am wrong please.

    So earlier, your query to web service  returned a table and you stored each output in seperate variables.
    And now your query to web service returning a variable?

    Thanks,
    Kumar.


  • 3.  RE: Configuring result tab, webservice IRD

    Posted 02-08-2017 12:01

    hi Kumar,

    sorry my english is not very good.

    We need help to configure the the "key from output" in result tab, to recive a value that the RFC return with a variable..

    the existing  RFC  that are in use on the production side return a table, and in the "key from output" are configured to get the itens from this table.

    Zcrmf001UraIdClienteResponse.EtCliente.item.Idcliente
    Zcrmf001UraIdClienteResponse= RFC name
    EtCliente= table
    Idcliente= item from the table

    Thank you for your reply

    Best regards 
    Arthur Gomes



  • 4.  RE: Configuring result tab, webservice IRD

    Posted 02-08-2017 20:08
    Hi Arthur,
        No Worries.

    1. Assign the whole output to a variable.
    2. Execute the strategy. Now you will be able to see what format/data you are getting from the RFC. You can see that in the URS logs or you can even debug the strategy with out executing it. From that we could proceed further.
    3. It will return the whole result in a XML format. From that you will know which tag values you have to take. For example. it will return something like below.

    <XML>
    <GetResponse xmlns="http://www.webservice.com/services/">
    <GetResult>
    <Result1>$$$</Result1>
    <Result2>1234</Result2>
    <Result3>Genesys</Result3>
    </GetResult>
    </GetResponse>
    <\XML>

    varResult = GetResponse.GetResult.Result2 will return 1234.

    Is this what you want? Please let me know.

    Thanks,
    Kumar.


  • 5.  RE: Configuring result tab, webservice IRD

    Posted 02-09-2017 14:17

    Hi Kumar

    This was exacly what i was looking for 

    "varResult = GetResponse.GetResult.Result2 will return 1234."

    Still not working but now i know its configured right, i opened a case for it.

    Thank you very much for your  help and patience with my english.

    Best regards

    Arthur Gomes



  • 6.  RE: Configuring result tab, webservice IRD

    Posted 02-09-2017 15:41
    Also I am not sure what that 'um' means in the prefix. I used 's0' like below

    Method name  -  s0:GetResponse
    Namespace    -  s0=sap-com:document....
    SoapAction    -  s0:sap-com:document...


  • 7.  RE: Configuring result tab, webservice IRD

    Posted 02-09-2017 15:55
    hi Kumar

    i will try this way.

    regards