on 05-03-2010 7:46 PM
Hi Experts,
Right now we are doing a Upgrade from SRM 4.0 to SRM 7.0.
In SRM 4.0 there is lot of code written with system variables like sy-tcode & sy-ucomm.
I could do workaround of some system variables. But for
If sy-tcode EQ 'BBPSOCO001' i could not found any replacement so that it can work with SRM 7.0 as it is.
Can you suggest how i can replace If sy-tcode EQ 'BBPSOCO001' with SRM 7.0 compatible code.
Best Regards
Puneet
Hello Puneet,
Yes, you are correct . In SRM7.0 there are no more T-codes, Entire SRM application is driven out WebDynpro Application configurations(using FPM). But still in your coding you can make use of Business Object Type instead of Transaction Codes.
Hope this will help you to resolve the issue.
Regards,
Mani.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Note 1334202 - How to get current action ID and transaction group
some work around by SAP in the above note.
Within the ITS UI technology used in older SRM releases, system control variables like SY-TCODE and SY-UCOMM were used in customer BAdI implementations to retrieve information of the environment of the BAdI call.
Since WebDynpro technology has in contrast to the SAPGUI technology no access to theses system variables, this Note describes a workaround to substitute the usage of these variables.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.