05-12-2006 2:49 PM
Hi:
I got a question -:)
I got one PHP class where I'm calling an RFC FM...Just before it, I need to call another RFC FM, on the same page at the same time...One after another -:)
But it seems that I just can't...I got one weird SAPRFC error, something like TABLE_NOT_ACTIVE exceptions...Ok...Neither of my FM have that exception...How it is raised??? -:(
I tried to use saprfc_function_free before the second FM call...But nothing at all...I can't...I'm using my own custom FM based on standard ones...
Greetings,
Blag.
05-14-2006 9:33 AM
Hello,
Not sure if this is 100% relevant but this is what I have.
I have a php script to which I pass a material number and a plant code. I first use BAPI_MATERIAL_GET_DETAIL to get material data. From that BAPI I also return the material group code(MATL_GROUP). I then pass on the material group code to BAPI_MATERIALGROUP_GET_LIST so as to get the material group description (MG_DESCR_SHORT).
It works (to call 2 RFC's), my issue is that I would like to call one BAPI within the other and it seems that what is happening, is that one is being called after the other.
05-14-2006 9:33 AM
Hello,
Not sure if this is 100% relevant but this is what I have.
I have a php script to which I pass a material number and a plant code. I first use BAPI_MATERIAL_GET_DETAIL to get material data. From that BAPI I also return the material group code(MATL_GROUP). I then pass on the material group code to BAPI_MATERIALGROUP_GET_LIST so as to get the material group description (MG_DESCR_SHORT).
It works (to call 2 RFC's), my issue is that I would like to call one BAPI within the other and it seems that what is happening, is that one is being called after the other.
05-14-2006 4:37 PM
05-14-2006 5:55 PM
Silly me -:( I just fix it -:P I was declaring some IMPORT parameters like this...
PARAM TYPE STRING
But I should have used some TABLE reference...
PARAM TYPE TAB_TEXT-LINE
Thanx for the answers anyway -;)
Greetings,
Blag.