cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Script question

Former Member
0 Kudos

Hi all. I am debugging a sap script form and i hit a line where i have something like this:

GRUSSFORMEL

CASE &VBDKR-VKORG&

WHEN '0500'

INCLUDE &VBDKR-TDNAME& OBJECT VBBK ID ZW05 PARAGRAPH HT

WHEN '1400'

INCLUDE &VBDKR-TDNAME& OBJECT VBBK ID ZW05 PARAGRAPH HT

WHEN '0700'

INCLUDE &VBDKR-TDNAME& OBJECT VBBK ID ZW05 PARAGRAPH HT

DEFINE &MEB_VTPO-AGORT&:=''

DEFINE &MEB_VTPO-BSORT&:=''

DEFINE &MEB_VTPO-LGORT&:=''

PERFORM GET_CONDITION IN PROGRAM 'SD_RVADIN01'

USING &VBDKR-VBELN&

CHANGING &MEB_VTPO-AGORT&

CHANGING &MEB_VTPO-BSORT&

CHANGING &MEB_VTPO-LGORT&

ENDPERFORM

ENDCASE

When i check &VBDKR-VKORG&, it is 0700, which is ok. The problem is that the whole CASE is not executed.

for all the code the symbol is /:.

Do you know what might be the problem ?

Regards,

Cristian.

Edited by: Cristian Boartes on Dec 28, 2009 4:18 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Based on the element given in the function module Open_form or Write_form

It will Trigger the code..

This might be one of the case

Regards

Satish Boguda