on 03-07-2013 3:16 PM
Hello Experts,
i came across code where a bor object type is passed as import parameter to a class- method
with a object type obj_record. In below code its attributes have been called in . I could not get how or where it got instantiated.
swc_get_property io_zinstln:
'BizType' lv_biztype,
'BizName' lv_bizname.
* Get the installation attributes
swc_get_property io_zinstln:
'CellNetFlag' lv_cellnet,
'RDDInstalledFlag' lv_rdd,
'Property' lv_owner,
'InstallationType' lv_anlart.
please provide some sample code where it got instantiated.
Hello,
"i came across code where a bor object type is passed as import parameter"
The BOR instance was passed as the import parameter.
regards
Rick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It might have been passed to the method through workflow binding. In this case, you don't need to worry about instantiating the object because the workflow runtime environment will do it for you.
If you just want to learn how to instantiate a BOR object, you do that by using macor "swc_create_object <p1> <p2> <p3>" where <p1> is the object reference/variable itself, <p2> is the SWO1 object type, and <p3> is the object key.
Take a look at include program <CNTN01> in SE38 for all BOR macros.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.