on 11-17-2011 9:48 AM
Hi Experts,
i need to pass internal table to SAP_WAPI_START_WORKFLOW Container, To pass the multiple records to the container
i used INCLUDE cntn01_swc in my webdynpro abap coding. And when i activiting the component its showing the error in the
INCLUDE cntn01_swc and the ERROR is
statement "ENDMETHOD" is missing.
please reply with the requried information.
Thanks & Regards.
Khanna.
Hi,
you can not use INCLUDE statement in the OO ABAP (ie in methods). you can write the required logic in eaither new FM or in the methods of assistance class.
Thanks,
Chandra
Edited by: Chandrashekhar Mahajan on Nov 17, 2011 4:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chandrashekhar Mahajan,
Thanks for reply on INCLUDE CNTN01_SWC, can u help me more regarding this.
please give me the logical how to create assistance class or class to develope the INCLUDE CNTN01_SWC and to integreate into webdynpro abap
Please give me the requried information so that i can understand why because i am new to this process.
Thanks & Regards.
Khanna
Hi,
to know how to use assistance class, refer http://wiki.sdn.sap.com/wiki/display/WDABAP/AssistanceclassfunctionalityinWDA and http://www.saptechnical.com/Tutorials/WebDynproABAP/Class/Index.htm
Thanks,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hi Ricardo Romero Mata,
Thanks for reply on INCLUDE CNTN01_SWC, can u help me more regarding this.
please give me the logical how to create assistance class or class to develope the INCLUDE CNTN01_SWC and to integreate into webdynpro abap
Please give me the requried information so that i can understand why because i am new to this process.
Thanks & Regards.
Khanna
Hi,
Try to follow the following steps:
1- Create an [assistence class|http://help.sap.com/saphelp_nw70/helpdata/en/43/1f6442a3d9e72ce10000000a1550b0/content.htm]: Goto se24 and create a class with the class CL_WD_COMPONENT_ASSISTANCE as super class.
2- On Menu click GOTO --->class local-types -
>macros ---> INCLUDE cntn01_swc
3- Create a public method within this class where you can use the include cntn01_swc and fill the table for the FM SAP_WAPI_START_WORKFLOW.
4- In your webdynpro add the assistence class in the properties of your component.
5- A new attribute will appears in your views, windows, etc. called WD_ASSIST. This attribute refers to your class. you can use the method you created like this: wd_assist->your_method( parameters ).
Hope this help you.
Regards.
User | Count |
---|---|
88 | |
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.