Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BGRFC Data

juergen_lind
Explorer
0 Kudos

Hi,

i have called a fct module in background task.(BGRFC) unfortunally the data can't be posted. Now i want to check the data which should be posted from the fct.module. Any idea to get the input data ?

8 REPLIES 8

Sandra_Rossi
Active Contributor

You may display the RFC queues (SMQ1/SMQ2), display and debug the function calls, and see their input parameters.

juergen_lind
Explorer
0 Kudos

although the data was not posted in SMQ2

there is no entry displayed 😞

0 Kudos

Please use the COMMENT button for comments, questions, adding details, replying to OP comment, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.

If you want to target someone, if this person has posted an Answer, use the button REPLY, if this person is the Original Poster of the question he/she will be automatically informed, otherwise copy/paste their hyperlinked name so that the person receives a warning (NB: @ doesn't work/but typing this character will suggest hyperlinked names).

FredericGirod
Active Contributor
0 Kudos

is it related to SM58 ?

Sandra_Rossi
Active Contributor

You say that "the data was not posted in SMQ2" (inbound queue). It should first go through the outbound queue, did you verify? Did you verify that the queues were not blocked? Did you use COMMIT WORK to start actually the RFC process? Please post more information because your question is not enough precise.

juergen_lind
Explorer
0 Kudos

Hi, what i want is just to get the data of the 'failed' bgrfc queue.

If erything goes fine, nothing shoul happen, but if the BGRFC call fails ( maybe due to incorrect master data) i want the get the data which should be posted. I expect that the data is stored in table QRFC_I_SDATA in the fiel func_data.

But i have no idea how to get the value in letters which can be interpreted.

Sandra_Rossi
Active Contributor
0 Kudos

If you don't want to use the debug, you may have an approximation of the parameters, by displaying the entries of the LUW (one or more Function Module calls), select the client field and press F2.

Example for /SAPAPO/CIF_ORDER_INBOUND (really difficult to read - It's why I recommend the debug, to display the variables correctly) :

Display Data of qRFC LUW (Inbound Queue)

                      LUW Information
          TransID:         0A2314AC75405A4F4C4400D4
          LUW-Cnt:         00000001

                                      Function Name

 Offset   Type value output    Value output
Name: Function Name Length: 25 binary 2F53415041504F2F4349465F4F524445525F494E424F554E44 text / S A P A P O / C I F _ O R D E R _ I N B O U N D Parameter Name Offset Type value output Value output Name: Parameter Name Length: 20 binary 49535F434F4E54524F4C5F504152414D45544552 text I S _ C O N T R O L _ P A R A M E T E R Parameter Value Offset Type value output Value output Name: Parameter Value Length: 199 00000 binary 4B3458434C4E543130304B3458434C4E543130303131303437333434202020204346504C4F303030 text K 4 X C L N T 1 0 0 K 4 X C L N T 1 0 0 1 1 0 4 7 3 4 4 C F P L O 0 0 0 00040 binary 30303130313932303620202020202020495820202020202020202020202020202020202020202020 text 0 0 1 0 1 9 2 0 6 I X 00080 binary 202020434F5232202020202020202020202020202020204537353220202020202020202000000000 text C O R 2 E 7 5 2 # # # #
...

juergen_lind
Explorer
0 Kudos

Hi ,

sorry , but the report /SAPAPO/CIF_ORDER_INBOUND is not available in our system.

You have another example please ?