Skip to Content
0
Former Member
Apr 25, 2008 at 10:56 AM

Technical error: SAPSQL_IN_ITAB_ILLEGAL_OPTION

568 Views

Hello,

I have a problem calling BAPI_BUSPARTNER_GETLISTINSPROV.

The error message (in German) is:

SAP-Meldung (technisch): saprfc::callFunction('BAPI_BUSPARTNER_GETLISTINSPROV') saprfc_call_and_receive(): Call error: RFC Error Info : Key : SAPSQL_IN_ITAB_ILLEGAL_OPTION Status : EXCEPTION SYSTEM_FAILURE RAISED Message : Unzulässiger Wert in OPTION-Feld der Wertetabelle für IN-itab-Operator. Internal: (Schwerwigender Fehler)

My Sourcecode:

    $hicNo['SIGN'] = "I";
    $hicNo['OPTION'] = "EQ";
    $hicNo['LOW'] = "1320270";
    $hicNo['HIGH'] = "1320270";
    
    $result = $saprfc->callFunction("BAPI_BUSPARTNER_GETLISTINSPROV",
      array(    array("EXPORT", "WORST_RETURNED_MSGTY", array()),                
                array("TABLE", "FILTER_HICOMPNO", $hicNo),
                array("TABLE", "BUSPARTNER_DATA", array()),
                array("TABLE", "RETURN", array())
            ));

I successfully tested the function in the SAP GUI with the same parameters.

So what is wrong?