cancel
Showing results for 
Search instead for 
Did you mean: 

Want to get message in WD from FM.

Former Member
0 Kudos

Hi Experts,

I am working on WD java and backend is R/3.

I have called Function Module from WD (For insert value).

It is working fine.. but the FM sending some message that i can not get in WD.

How can i receive message(String) in WDJ which is sent from RFC FM ?

Regards

Subhro

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Experts,

Please any one help on this ....

Regards

Subhrajyoti

former_member197348
Active Contributor
0 Kudos

Hi Subro,

You will have a Return table for R/3 FM. See your Output node's children nodes. You will find Return node in WD. All the return messages from R/3 are available in this node. Simply bind this to table you will find all the messages or iterate through the node and displaty them using WDMessageManager.

regards,

Siva

Former Member
0 Kudos

Hi Siva,

Thanks for your help. I had a node in model :Z_Test_Rfc_Output and there is one Element Result. I bind it in in CustomController (Element Name Result).

Then i wrote the code: String a = wdContext.currentZ_Test_Rfc_OutputElement().getResult(); but i can not get the value of "a" there. I have checked in FM and it returns value in Result but i did not receive in WD end.

Please help me please send me sapmle code.

Regards

Subhro

Former Member
0 Kudos

Hi

You must be having model node

Z_Test_Rfc

-


Z_Test_Rfc_Input -input node

-


Z_Test_Rfc_output -output node

-


Result Element

Bind this Result element to TextView UI element

After you execute your RFC

That result automatcally gets populated at TextView UI depending on your input parameter.

Regards

Akshaya

Former Member
0 Kudos

Hi,

Thanks for share ur valuable time

I have Z_Test_Rfc_Input and Z_Test_Rfc_output nodes

within Z_Test_Rfc_output i have Result Element.

I have mapped that with Custom Controller and View

But it is not giving message after execution..

Please help

Former Member
former_member197348
Active Contributor
0 Kudos

Hi Subro,

You need to refresh node after the output node after RFC execution.

<i>wdContext.nodeOutput().invalidate();</i>And check once whether your nodes are bound properly.

regards,

Siva.