cancel
Showing results for 
Search instead for 
Did you mean: 

error in interfacing

Former Member
0 Kudos

Hello,

I have created interface of type ABAP DIctionary.

In that Global types i defined two flobal varaibles EMP_NAME and POS_NAME of type QISR_TAB_TYPE.

In Import parameters of interface i have import parameters:

I0001_ENAME, I0001_PERNR.

Then i code initilazation i have written follwing code:

DATA: wa_ename TYPE QISR_STRUC_TYPE,

wa_pernr TYPE QISR_STRUC_TYPE,

wa_dummy TYPE QISR_STRUC_TYPE,

ename TYPE char255,

pos TYPE char255.

READ TABLE i0001_ename INTO wa_ename INDEX 1.

READ TABLE i0001_pernr INTO wa_pernr INDEX 1.

CONCATENATE WA_ENAME-FIELD '(' WA_PERNR-FIELD ')' INTO ename.

wa_dummy-field = ename.

APPEND wa_dummy to EMP_NAME.

In transaction SFP , i have drag and drop EMP_NAME from interface to context.

Then on layout, i have data binding($record.EMP_NAME.DATA[*].FIELD) with one input field:

When i run this process from portal, there is no value coming for emp_name on form display.

Please suggest,

Accepted Solutions (0)

Answers (1)

Answers (1)

OttoGold
Active Contributor
0 Kudos

You need to track down where there is a problem. There are 3 optiions (IMHO):

1) in ABAP coding - of course you can debug ABAP code, start here, or you may have done that already

2) in data passing/ binding - you need to turn the trace on so you can check what data has gone through all the pipes into the form. When the trace is on, the forms has attachment with useful things like all data in xml format, error log etc.

3) somewhere else

- if you are sure the data has been sent from ABAP and cannot be reached in a data file using the trace, I can´t help using SDN only

- if you find the data in the data file (attachment) and cannot see them in a field, then it is a binding problem or some form malfunction (bad scripting, corrupted design etc.)