Application Development 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: 

how to replace text in smartforms.

Former Member
0 Kudos
362

Hi,

i had requirement to replace text retail invoice with Tax/sale invoice cum delivery challan in smart form

in that smart form they had retun one condition like region no notequl to '06' they had retun one condition to print correct like(Tax/sale invoice cum delivery challan) but region eq 6 they had return one condition it is printing retail invoice.so he want at any condition u need to print like (Tax/sale invoice cum delivery challan) so any body plz help me

thnks in advance.

sivarama.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
116

Hi

Simply remove the condition there and use only one text element with text as "Tax/sale invoice cum delivery challan".

Regards,

Raghu.

7 REPLIES 7

Former Member
0 Kudos
116

HI,

Delete text elemtn where region is 6 and

Remove the condition region <> 6 from first text elemnt where text is 'Tax/sale invoice cum delivery challa' .

Former Member
0 Kudos
117

Hi

Simply remove the condition there and use only one text element with text as "Tax/sale invoice cum delivery challan".

Regards,

Raghu.

0 Kudos
116

Hi.

we remove the condition means how we will print the text like tax/sale invoice cum delivery challan

That text is printing through %in_in_ex_n_ex_p_taxin.

IF ( V_FLAG NE 1

AND WA_HDR-FKART EQ 'F1'

AND V_FLAG3 EQ 0

AND WA_PLANT-REGIO NE '06' ).

CALL FUNCTION 'SSFCOMP_TABLE_GOTO_CELL'

EXPORTING I_ROW = 003

I_COL = 001

EXCEPTIONS OTHERS = 1.

IF SY-SUBRC <> 0. RAISE ERROR. ENDIF.

REFRESH %INPUTFIELDS.

FILL_TEXTAREA 'F' 0 0 ' '.

PERFORM %WRITE_TEXT USING '%IN_IN_EX_N_EX_P_TAXIN' SPACE SPACE 'P' SPACE %INPUTFIELDS %TEXTAREA.

IF %WEXIT <> SPACE. EXIT. ENDIF.

ENDIF.

thanks

siva rama

0 Kudos
116

Yo have to remove it in the smartform itself.

Open smartform, Double click on that text element, go to tab conditions, there u will find the condition WA_PLANT-REGIO = '06'

Remove it.

0 Kudos
116

Hi,

they had retun one condition in condition tab like WA_PLANT-REGIO nt= '06'

then it is printing Tax/sale invoice cum delivery challana

after anoter text element condition like WA_PLANT-REGIO = '06'

here is printing like retail invoice.

so now we remove above nt='06' condition. after also the region eq '06' it will print reail invoice

so we need to display in boath condition like Tax/sale invoice cum delivery challana

in nt= 06 or = 06.

thanks.

sivarama.

0 Kudos
116

Hi,

I want print invoice form like.

amount 400000

basic.exice(%) 200000

add:output vat 12.5%

add:output vat 2.50%

so

out put is comming like

I want print invoice form like.

amount 400000

basic.exice(%) 200000

12.5%

2.50%

add:output vat

add:output vat

so how i will do modification for that

0 Kudos
116

Hi

Delete the text element for printing 'retail invoice'

Best Regards,

Nikhil Patil