cancel
Showing results for 
Search instead for 
Did you mean: 

script

Former Member
0 Kudos

hi,

DEFINE &J_1ICSTNO& = ' '.

PERFORM GET_NAME IN PROGRAM ZQUATATION

USING &J_1ICSTNO&

CHANGING &J_1ICSTNO1&

CHANGING &J_1ILSTNO&

CHANGING &J_1IEXCD&

ENDPERFORM.

CST NO. &J_1ICSTNO1&

< > &J_1ILSTNO&

< > &J_1IEXCD&

SE-38 REPORT PROGRAM

REPORT zquatation.

TABLES : j_1imocust.

FORM get_name TABLES in_tab STRUCTURE itcsy

out_tab STRUCTURE itcsy.

READ TABLE in_tab INDEX 1.

SELECT single * FROM j_1imocust WHERE kunnr = in_tab-value.

IF sy-subrc = 0.

READ TABLE out_tab INDEX 1.

MOVE j_1imocust-J_1ILSTNO TO out_tab-value.

MODIFY out_tab INDEX sy-tabix.

***New Code

READ TABLE out_tab INDEX 2.

MOVE j_1imocust-J_1ILSTNO TO out_tab-value.

MODIFY out_tab INDEX sy-tabix.

***New Code

READ TABLE out_tab INDEX 3.

MOVE j_1imocust-J_1IEXCD TO out_tab-value.

MODIFY out_tab INDEX sy-tabix.

endif.

but i didnot get any thing in my output . please tell me.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

in script i wrote perform.

Former Member
0 Kudos

Dear anitha,

where are the FMs OPEN_FORM, START_FORM,END_FORM, CLOSE_FORM, WRITE_FORM

have u written them or not.

because without those ne number of lines of coding doesnt help you out.

regards

samarendra

Former Member
0 Kudos

Dear anitha,

where were u giving first few lines of the program i.e. perform define and all.