cancel
Showing results for 
Search instead for 
Did you mean: 

SAME LAYOUT with different heading for invoice and service order invoice

Former Member
0 Kudos

Hi,

I need to use the same layout for printing both invoice and service order invoice. The layout should print the same data except the title should be changed accordingly ( invoice or service order invoice).

Please help me with this

Regards,

Anik

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

It is not clear to me if you are working with sapscript or smartforms.

You have only to find a variable which identifies the kind of invoice

I do not know that variable so i use an example variable

for sapscript:

/: IF &VBDKR-FKTYP& = '1'

/ INVOICE

/: ELSE

/ SERVICE ORDER

/: ENDIF.

In a smartform you can also do something like that.

but There you work with conditions (eq, BOOLEAN)

You have only to find the right variable

success,

Gr., Frank

Former Member
0 Kudos

Hi Frank,

Thanx for the reply, I am using a smartform.

Regards,

Anik

former_member205763
Active Contributor
0 Kudos

check the form interface for what structures are coming, if u explore them u will surely find the document type (VBTYP). based on the document type u can display the text conditionally

Former Member
0 Kudos

Thanks All, Solved!

Former Member
0 Kudos

Please assign p0ints to the helpful answers and mark it as "solved".

Rob

Answers (0)