11-18-2005 2:25 PM
The tcode I am using is Fb03.
I did a change in MF05LFB0,
set parameter id 'BUKRS' field rf05l-bukrs.
I can see rf05l-bukrs value in debugging at this point.
When I go to FB03-->attachemnt list --> change.
I have done a change in SAP class CL_GOS_ATTACHMENT_LIST in method IF_SREL_CTXMENU~EXECUTE_COMMAND.
The change is as to get the set value.
Get parameter ID 'BUKRS' field lv_bukrs.
I go in debugging till this statement but SAP doesn't get the value here.
What could be the cause of this?
Thanks & Regards,
YJR
Message was edited by: Joseph Reddy Yeruva
11-18-2005 2:53 PM
Hi,
I think it's better to use ABAP memory instead of SAP memory in those cases:
Try to do use
export ...to memory id
import .... from memory id
From F1 "help" on SET PARAMETER statement:
**********************************************
Notes:
Do not use SAP memory as a temporary storage area, since parallel sessions belonging to the same user all use the same memory area.
**********************************************
Please remember to reward points for helpful answers and to close the thread if the problem is solved.
Regards, Manuel
11-18-2005 2:30 PM
Check if you have set the parameter id after the field 'rf05l-bukrs' is populated with a value in the program. If not then place the set statement after the population of the field with a value.
NAveen.
11-18-2005 2:53 PM
Hi,
I think it's better to use ABAP memory instead of SAP memory in those cases:
Try to do use
export ...to memory id
import .... from memory id
From F1 "help" on SET PARAMETER statement:
**********************************************
Notes:
Do not use SAP memory as a temporary storage area, since parallel sessions belonging to the same user all use the same memory area.
**********************************************
Please remember to reward points for helpful answers and to close the thread if the problem is solved.
Regards, Manuel
11-18-2005 2:59 PM
Hi,
I tried using IMPORT and EXPORT also but am facing the same problem. I guess the class object is interrupting.
Regards,
Joseph
11-18-2005 3:34 PM
if you lose the value from "export from memory" statement, maybe the method is called in an update task processing.
statement "export to shared buffer indx(ZZ) id..." could solve the problem. it a cross-transaction application buffer... (instead of "ZZ" you can use other values)
let me know if it works
Regards,
Manuel
11-18-2005 3:59 PM
Hi Manuel,
It worked and Thanks a Tonne.
Thanks & Regards,
YJR