Skip to Content
0
Nov 13, 2014 at 08:19 AM

RFC Lookup, RFC_READ_TABLE (SORTING)

536 Views

Hello All

I am using RFC "RFC_READ_TABLE" to read table from SAP.

This table contains 2 fields.

I need value of SALES_ORG to be inserted in VKORG but after doing sorting with respect to PRIORITY from the table. (Only 1st record value need to be inserted in target field after sorting).

Example:

SALES_ORG PRIORITY

1510 3

1060 1

2250 2

In above example 1060 should get inserted in VOKRG.

screenshots are attached.

Display queue of RFC

Thanks

Dheeraj Kumar

Attachments

1.PNG (38.6 kB)
2.PNG (2.0 kB)
3.PNG (5.8 kB)