cancel
Showing results for 
Search instead for 
Did you mean: 

Pass parameters to a BADI

Former Member
0 Kudos

Hi gurus,

I have some problems here when i tried to pass parameters to a BADI

I'm working in SAP BPC 7.0 NW SP4

I've the following code in my script which i execute with a package.

*START_BADI ZBPC_ABC1010

QUERY=ON

WRITE=ON

NUM_EMP=$NUM_EMP$

TIP_MOV=$TIP_MOV$

CANT_EMP=$CANT_EMP$

PERIODO=%TIEMPO_SET%

L_CATEGORY=%C_CATEGORY_SET%

AREA_PERS=%AREAS_PERS_SET%

*END_BADI

The lines in between $ $ are free parameters that aren't in BPC. I filled in the prompt with a text box.

But the lines with % % are dimension in the prompt i select a dimension member.

The problem is that if i tried to validate the script above it doesn't work but if i enter any character in front the % in these lines it works.

(PERIODO=q*%TIEMPO_SET% --> if i write a q, or whatever it works)

But if i write any sign it pass the parameter q2011.MAY and the BADI crashes, cause doesn't exist q2011.MAY.

Any suggestion.

Accepted Solutions (0)

Answers (1)

Answers (1)

silvio_messias
Participant
0 Kudos

Hi Jose,

Have you tried to filter data using XDIM_MEMBERSET and get these values thru the internal table it_cv?

I think it could be a way.

Regards,

Silvio Messias.