Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ISSUE SMARTFORMS-DATA RETRIEVAL

Former Member
0 Likes
765

hELLO EXPERTS,

I AM WORKING WITH ORDER CONFIRMATION SMART FORM.i AM USING STANDARD PRINT PROGRAM /SMB40/RVADOR01.

I NEED DATA FOR INCOTERM ONE OF THE FIELD IN MY LAYOUT.

I AM USING THE LOGIC

DATA:IS_TINCT LIKE TINCT OCCURS 0 WITH HEADER LINE.

SELECT BEZEI FROM TINCT INTO TABLE IS_TINCT

WHERE SPRAS = IS_NAST-SPRAS

AND INCO1 = IS_VBDKA-INCO1.

IT_TINCT = IS_TINCT-BEZEI.

IN TEXT I AM WRITING &IT_TINCT&

BUT I AM UNABLE TO RETRIEVE DATA.

PLEASE HELP ME

THANKS &REGARDS

RAGHAU

7 REPLIES 7
Read only

Former Member
0 Likes
713

IS_TINCT has a header line, so you will probably need to:

READ TABLE IS_TINCT INDEX 1.

and then pass the value of BEZEI to IT_TINCT.

Read only

Former Member
0 Likes
713

Check whether IT_TINCT is in the output parameters of the program lines.

Read only

Former Member
0 Likes
713

hi raghu,

have u typed &IT_TINCT& in the Text element. if yes...

u shud not do that in smartforms.

click on Field List on/off button which is next to Form Painter.

u get a drop down..

select global data and there u will get ur internal table provided u have declared it in the GLobal Data.

so just drag and drop into the text element.

Read only

0 Likes
713

HI PRIYA,

THANKS FOR YOURS SUGGESTION.

I DID THAT BUT I AM GETTING WARNING THAT

%TEXT16 Field IS_TINCT-BEZEI has no defined value

WHAT SHALL I DO? I HAVE TO DEFINE ANYWHERE ELSE.

GIVE ME REPLY

THANKS

RAGHU

Read only

0 Likes
713

That's just a warning. Don't let it bother you.

Read only

0 Likes
713

hi raghu,

thats just a warning u can ignore that.

execute ur driver program and check if u r getting the data

hope this helps,

do reward if it helps,

priya.

Read only

0 Likes
713

HI,

IF I SEE THE THAT IN OUTPUT,I AM NOT GETTING THE DATA IN THE FORM.I ISSUED OUTPUT AND I AM VIEWING RPINTVIEW IN VA02.

THANKS

RAGHU