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