2011 Feb 07 12:48 PM
Hi All,
I'm debugging a function in UPDATE TASK. I have just actived the flag 'Update Debug'.
My problem is Find how the Function's parameters are passed. The function is called dynamically by a statement like this:
" PERFORM (VBFUNC) IN PROGRAM (TFDIR-PNAME) USING VBID. "
Does someone help me?
Thanks
I'm debugging the transaction /SAPSLL/LLNS_002 ( SAP GTS)
The structure VBID is different.
Thanks a lot,
Giuseppe
2011 Feb 07 1:28 PM
Hi,
Your question is not clear to me.
wht I understood that you want to get the parameters passing to a function module which is dynamically called.
" PERFORM (VBFUNC) IN PROGRAM (TFDIR-PNAME) USING VBID. "this statement is not calling any FM it is calling a subroutin which exist in TFDIR-PNAME program variable after USING stat is your parameter.
You can get the name of the form, program and the parameters if you debug at this point.
Thanks,
Anmol.
2011 Feb 07 1:29 PM
Hi,
this is not a function but a FORM in a program (function group). Have al look into the content of VBFUNC and TFDIR-PNAME, which forrm in which program is calles and llook there, how the name of the parameter for VBID is.
Regards,
Klaus
2011 Feb 07 1:48 PM
Hi Klaus,
into VBFUNC there is the name of Function Module '/SAPSLL/CTSGEN_WRITE_DOCUMENT' and into TFDIR-PNAME there is the name of Function Pool '/SAPSLL/SAPLCTSGEN_CD'.
Regards,
Giuseppe
2011 Feb 07 1:58 PM
HI,
Which tcode/prog you are debugging..
Is the VBID is having some structure which is similar to what is there in tables parameter in this FM.
Thanks,
Anmol.
2011 Feb 07 2:16 PM
I'm debugging the transaction /SAPSLL/LLNS_002 ( SAP GTS)
The structure VBID is different.
Thanks a lot,
Giuseppe
2011 Feb 08 5:47 AM
Hi Giuseppe,
as you told before you have a PERFORM and no CALL FUNCTION. So you call a FORM routine and no function module.
Can you scan for this FORM routine in the whole function group in SE80 / SE38? How is the parameter of VBID defined, maybe type ANY?. Have a look into this FORM, maybe there is a CASE, where you can see the possible structures of VBID.
Regards,
Klaus
2011 Feb 24 7:12 PM
Sorry me for the late.
I was wrong, I found the statment 'CALL FUNCTION.
Thanks at all,
Giuseppe
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |