cancel
Showing results for 
Search instead for 
Did you mean: 

Logo's on Invoice

Former Member
0 Kudos

Can anyone explain to me why the code below is not working please. We have several companies , three to be exact and i need to issue invoice's with there seperate logo's. I seem to be able to get the first line logo to display but the others will not.

Is my code correct? Any Help would be appreciated.

IF &VBDKR-BUKRS&='CPL'.

INCLUDE ZHEX-MACRO-LOGO_CPL OBJECT TEXT ID ST

ELSE

IF &VBDKR-BUKRS&='INN'.

INCLUDE ZHEX-MACRO-LOGO_INN OBJECT TEXT ID ST

ELSE

IF &VBDKR-BUKRS&='CPLN'.

INCLUDE ZHEX-MACRO-LOGO_CPLN OBJECT TEXT ID ST

ENDIF.

Thank you

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Instead of checking VBDKR-BUKRS try checking the field VBRK-BUKRS.

Regards,

Gopal