on 09-26-2014 8:06 PM
Hi All,
In one of our client we are trying to migrate from BANN system to SAP.
The show stopper is BANN system has a capability of declaring a variable(Local or Global) in dependency editor, which can be used in another component dependency to build the logic.
Can any one help me know is it possible to declare a variable in dependency editor for a procedure in SAP...?
Thanks all in advance for your replies.
Regards,
Nitesh
Hi Nitesh,
While you can use variables in BANN while writing dependencies, SAP supports only characteristics in VC. In SAP, every variable is represented by a characteristic only. If there is a multplication with a number, then it is possible to write the number, but you cannot define variables freely without the help of characteristics.
If you are migrating from BANN to SAP for VC
1. You need to map every such variable of BANN with a characteristic of SAP
2. Accordingly you need to transform the BANN logic into SAP logic while writing dependencies. You can do this transformation after downloading the code of the dependencies from the database in BANN, transform them to SAP dependencies using transformation rules. Once this is done, you can create the dependencies manually or through some automatic tools in SAP
3. In the final step, considering these characteristics which only perform the function of a variable but will not involve in configuration, you have to design your configuration set up using classes etc.....in SAP to enable functionalities across SD, PP, MM etc.
Needless to say, it is not unachievable, but needs lot of structured thought from the project team.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not aware of BAN so have no clue what kind of dependencies you use there.
In SAP VC, while writing dependencies object refer are characteristic & values.
Characterstic's are consider to be global and you can use this characteristic in N number or classes and these N classes can be attached to many other objects.
While writing object dependencies you can decide on creating a global dependencies or local dependencies.
refer below link , which may help you with more information.
Variant Configuration (LO-VC) - SAP Library
reply with some more details and may be forum members can help you comparing SAP VC with BAN.
Thanks
Ritesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ritesh,
Thanks For your reply.
What is required is, I need to declare a local variable in dependency writer or else if I can call any "include" object there.
Path in dependency Editor --->
Edit > Edit Includes > Expand Include / Collapse Include / Save Include
The underlined Options are disabled.
Is there a way to enable this.
Thanks,
Nitesh.
Hi Ritesh,
This is a piece a code picked from legacy system:
long pkg global |
if ([CUTFIG] = "E" and |
[BASSE] = "1" and |
[MWEAR] is {"0","14","2","52"} and |
[GRROT] = "B") then |
validate = true |
pkg = 1 |
else |
validate = false |
pkg = 0 |
endif |
We have a solution of all other except the underlined piece of code.
Is it possible..?
the variable "pkg" is used in any other component for calculation.
Thanks,
Nitesh
To me every thing CUTFIG, BASSE, MWEAR, GRROT as well as pkg are characterstic and there values.
and i can write a suntex for dependency procedure which will genetrate value for characterstic PKG based upon values of my other characterstic CUTFIG, BASSE, MWEAR, GRROT.
I suggest , first you go through basic's of VC , read about characterstic and how to write dependencies and then compare VC setup with BAN.
Thanks
Ritesh
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.