Skip to Content
0
Former Member
Aug 29, 2005 at 02:26 PM

Using tables in UserExits

126 Views

Hello everybody,

I am trying to adjust a user exit to my needs (EXIT_/SAPAPO/SAPLCIF_ORD_001 in SAP SCM). Therefore I am changing the program, that is named in the include of the user exit (which is zxcifuseru07).

The user exit itself has a parameter table (IT_ORD, IT_ORDX), which contain order head data.

Here are my two questions:

1. Which one of these two tables do i use? IT_ORD or IT_ORDX?

2. I want to pass the table to another application that can be reached using a RFC destination.

My code for the include file so far is:

&----


*& Include ZXCIFUSERU07

&----


DATA: echotext TYPE string,

resptext TYPE string.

CALL FUNCTION 'STFC_CONNECTION' DESTINATION 'JCO'

EXPORTING

requtext = 'Hallo JCo'

IMPORTING

echotext = echotext

resptext = resptext.

WRITE: 'Echo Text: ', echotext.

WRITE: 'Response Text: ', resptext.

What do I have to change in order to access the parameter table in the user exit and pass it to my application?

Thanks for your help!

Greetings

Jan