1. How to find the code (function module/program) for a variant in SAP IS-U?
Ans:- For any variant in SAP IS-U , there will be a function module which is the combination of “ISU_” and the variant name.
For ex. If a variant name is QUANTI01 then the function module or program will be “ISU_QUANTI01”.
Function module “ISU_SCHEMA_EXECUTE” is the main function module which executes all the variant programs sequentially according to the billing schema.
2. How to create a variant and variant program in SAP IS-U (Utilities)?
Ans: - Follow the following steps to create the variant program-
a. Go to transaction “EA88”.
b. Fill the name of variant needs to be created and click “create” button.
c. Fill the entries according to your requirement and click on “save” button. For ex. See below
Disconnection Period: If this check box is selected then quantity will be automatically split in the time slice according the operands value.
Not for Extrapolation: If this check box is selected then the items of this variant program will not be extrapolated for future and will not take part in BB request creation.
d. Go to transaction “SE37” to create the function module for this variant.
e. Give the name of function module relevant to the variant. This will be the combination of “ISU_” and the variant name. Click on “Create” button.
f. Provide the function group and short text, and click on “Ok” icon.
g. Give the import parameter same as given below.
h. Give the changing parameter same as given below.
i. Give the Exceptions same as given below. And activate the function module.
Now you can add your code in the function module for variant program.
If you have question regarding variant program and its structure feel free to ask.
Subscribe to:
Post Comments
(
Atom
)
Thanks for the info.
ReplyDeleteWanted to check how the new variant created gets attached to the FM
Ideally variant ( template ) will be created by functional consultant and the technical consutant does the creation of functional module/ Code required.
How they are linked ?
How to attach Custom FM created in above screen shots to EA88 Variant?
ReplyDeletePlease show in screen shots.
How we can transfer the values to output operand which i calculated in my custom variant
ReplyDelete