cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with the syntax of rules,Is there any automated content type checking in SAP BOIS?

former_member188628
Participant
0 Kudos

Hi All

     I am facing problems with my syntax in the the rule in SAP BOIS. I tried using the Lookup functions in the Begin section:

 

Step2:

       I modfied the code little bit, but still its ending up with errors. I just wanted to know is there any Boolean type used in the SAP BOIS.In the above case what could be my data type, since, the isDependency() function returns a boolean value.

DECLARE

   $tempReturn int(2);

BEGIN

$tempReturn =  is_data_dependent([$CompName], [$Web]);# define validation rule expression

   RETURN TRUE;

END

Please help me out with this  I just wanted to know where can i find the details of creating complex rules using "Advanced Rule editor"??

Regards

Accepted Solutions (1)

Accepted Solutions (1)

former_member187605
Active Contributor
0 Kudos

Use RETURN is_data_dependent([$CompName], [$Web]);

Answers (0)