cancel
Showing results for 
Search instead for 
Did you mean: 

FM in eCATT

Former Member
0 Kudos
278

Hi all

I am programming ABAP in eCATT. I have plant and Company code in Solution Manager from my log. Using these details, I need to find the Sales org from T001W that is available in the target system

For this I chose the Function Modules,

GET_TABLE_RFC,

TABLE_ENTRIES_GET_VIA_RFC,

RFC_GET_TABLE_ENTRIES

But I am not aware as how to use these function modules and get my requirement out of this. Please guide me

Thanks

Tharani

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Is ur target a SAP system? If yes u need to create a custom function module in the target system with import parameters plant and comp code and Export parameter as Sales org. Inside this function u need to write the logic for deriving sales org from the import parameters.

mark the function as remote enabled in the atributes tab,

Call the function in the eCATT script as below

CALL FUNCTION 'UR_FUNC_NAME' DEST 'RFC destination of target'

exporting

cocode = 0001

plant = 0002

importing

sales_org = XXXX

If the target is not SAP then u will have to work with the middleware team and the target team to implement web services to meet ur requirement.

-Kiran

Message was edited by: Kiran Raorane