Documentation with examples for OO ABAP
Hi All out there,
I want to learn object oriented ABAP. can you send me some documentation along with examples to [email protected]
Thnanks in Advance.
Ashutosh.
Hi Ashutosh ,
There is one nice site to learn OO ABAP.
It is <b>SAPGenie.com</b>
The URL is
http://www.sapgenie.com/abap/OO/index.htm
<b>Just check this link also
http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
</b>
You can also go through the transaction: ABAPDOCU for getting the examples.
For advanced OO ABAP, go through this link.
http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
Also you can try the transaction DWDM for source code and examples.
Regards,
SP.
Similar Messages
-
Work-flow documentation with example
hi guru,
plz give me documentation of work-flow with one example
thanks and regards
sri.nHi,
Workflow automates the steps and activities in a business process according to predefined procedures and rules.
Workflow presents information and documents to the appropriate knowledge worker or agent (another entity such as a program) to make a decision or perform an activity.
Workflow tracks each and every step in the process flow and maintains an ongoing status.
Workflow also collects and reports all of the metrics associated with the execution and completion of the process.
Check the below links u will get lot of info..
http://www.sap-press.com/product.cfm?account=&product=H950
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
Go through the following links on FORK :
http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8d/25f1e7454311d189430000e829fbbd/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm
http://www.insightcp.com/res_23.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
For more reference on workflow: http://****************/Tutorials/Workflow/Workflow.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/04/9277a346f311d189470000e829fbbd/frameset.htm
Check these links.
http://www.sapgenie.com/workflow/index.htm
/people/ginger.gatling/blog/2005/12/01/link-workflow-business-objects-to-your-collaboration-tasks
http://help.sap.com/saphelp_nw04/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
http://help.sap.com/saphelp_bw33/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
http://help.sap.com/saphelp_bw31/helpdata/en/8d/25f94b454311d189430000e829fbbd/content.htm
http://www.sap-press.com/product.cfm?account=&product=H950
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
http://www.sapgenie.com/workflow/
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
Debug a workflow.
This has a step by step procedure :
http://fuller.mit.edu/workflow/debugging.pdf
www.erpgenie.com/sap/workflow/debugging.htm
http://www.erpgenie.com/workflow/debugging.htm?2b5de440
Workflow tutorials with step-by-step and with screenshots are available at
http://www.****************/Tutorials/Workflow/Workflow.htm
http://www.sapgenie.com/workflow/
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
http://www.sapbrain.com/TUTORIALS/TECHNICAL/WORKFLOW_tutorial.html
Regards,
Priyanka. -
Request for abap objects tutorial with examples
hi,
i am new to <b>abap objects</b>,
please send me a good tutorial for <b>abap objects</b> which contain good explanation with
good examples.
please send the tutorials to
<b>[email protected]</b>
thanks®ards
vamsi nHello,
<b>General Tutorial for OOPS</b>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
<b>Have a look at these links for OO ABAP.</b>
http://www.sapgenie.com/abap/OO/
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
http://www.allsaplinks.com/
http://www.sapgenie.com/abap/controls/index.htm
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
<b>SDN Series:</b>
https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/35eaef9c-0b01-0010-dd8b-e3b0f9ed7ccb [original link is broken]
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
<b>Basic concepts of OOPS</b>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
http://www.henrikfrank.dk/abapuk.html
http://www.erpgenie.com/abap/OO/
Regards,
Beejal
**Reward if this helps -
Searching for extended ABAP Classes documentation
Hi,
I'm a newbie to this forum (perhaps I'm a newbie in an abap too - with my 1.5 yrs abaping) but I'm interested in a few topics related to classes available in the repository:
1. Where can I find full and detailed info (means description of interfaces both public and private/static) on classes included in a dev.class SLIS, SCET, especially specific ones - currently I'm looking for a documentation on class <cl_alv_changed_data_protocol>, because the info supplied in the repository is not so obviously clear for me.
2. Can someone point me to a SAP cource/academy -name(s) related to the public classes related to a gui programming and!!!! their support-classes (such as mentioned one above) - which is most important.
3. (specific question) In the OO framework(s) I worked with in my background there was a possibility to 'extend' some class' behaviour (usualy adding interface). Is there any possibility in a SAP environment to do this and if yes where can I find a docu/info on how to achieve this? Is this achieved only with a related access key?
4. Please could someone provide me a dev.class names with demo-programs (such as SLIS, SCET) related (mostly) to a GUI-programming?
Perhaps checking the source of the demo-reports supplied in these dev.classes would help me, but occasionaly it's a bit more complicated and time-consuming than to check a related docu, isn't it?
The info-sources I have (and used widely) are:
a) html-documentation with my (ok, our) installation > 4.6C (both integrated into an environment and CHM-help).
b) 'Controls Technology - Workbench edition' - which I would recommend to all the programmers interested in this area.
c) 'An Easy Reference for ALV Grid Control' by Serdar SIMSEKLER (BTW, thank you very, very much Serdar! for providing this reference to the public, I found it very usefull)
d) of cource, the Class Builder via Repository Browser (se80) which usually and unfortunately doesn't report me any class information when asked.
e) occasionaly google-ing the world with a specific question and checking this fourm or some related one(s) in the sap community and in de.alt.comp.sap-r3 newsgroup (unfortunately for me the last one is basicaly with postings in German, which makes it unusable to me).
Perhaps most of you would agree there is a lack of information on these topics. Or, of course, I'm still a newbie and don't know how/where to find it
Please note, answers in sort of 'Feel free to ask with a specific question here...' are not the answer(s) I'm looking for I know this possiblilty and am using it :-).
Finaly, one question off topic and related mostly to the moderators:
Is there an intention or even better a possibility to achieve this forum via NNTP-protocol (means using a standard news-client)? It would be great for me if it's possible or is intended to become possible - I'm using a news-client to track few newsgroups (forums) and it would be great not to switch to a different browser to track this one, which is IMHO the best english-speaking abap-related forum.
Many thanks in advance.
Best Regards,
Ivaylo Mutafchiev
BC Consultant - Abap developer
VBS Ltd.
Varna. Bulgaria
Message was edited by: Ivaylo MutafchievFrom within SE80 choose menu Environment->Controls Examples. This will lead you to many fine Enjoy Control Example programs.
Also SAP had a class several years ago called BC412 ABAP Dialog Programming Using EnjoySAP Controls. It might still be around in some format. -
ABAP Documentation and Examples
Hi everybody,
I have the Testdrive N4S here on my SuSE 10.3 and I'm trying to learn a bit about ABAP by viewing the Examples under ABAPDOCU. So far I can see the code but not the documentation. When doubleclicking on the red "?" icon I get an Information window telling me Invalid "fastpath" a click on the yellow "?" icon gives me the Information Message no. 00260
I couldn't find anything regarding this problem in the forum or the wiki so far.
What do I have to do so I can use the documentation?
Thanks for your help
KaiHi Prashanth,
The program about which you are saying is a help program which is used to understand the basic concepts of ABAP. The program is used to show just how an ABAP program works.
That program is simple. let me tell you how it works.
the variable INPUT stores the value HELOLO WORLD! by default.
now we are calling the screen 100.
so the control takes you to the screen 100. you just double click on the screen 100 the it will show you the screen layout. there you cna see how the screen 100 was created.
but since there is nothing written in the PBO or PAI modules the control will take you back to the report program output screen.
this is how that program works.
any more issues. feel free to ask me. -
Observer Design Pattern: Looking for redesign ABAP OO code example
Hello folks,
I am looking for an example for ABAP OO code that has been redesigned by applying the Observer Design Pattern. I would be very interested in both the code before as well as the code after the pattern is being applied.
Thanks in advance and kind regards, AlexObserver can be implemented using the EVENTS.
I had recently implemented the observer at one of my client's place. I had screen with so many ALVs. One ALV was kind of editable and other were just showing the information of the current row as well as some total information. So, initially I started with the Main ALV and SUB(1 and 2) for other ALVs. Now, when I need to refresh my ALVs based on the main ALV data, I had to explicitly update the data of the each Sub ALV. The code was kind of static and requirement was not yet fixed.
Later on we need to add one more ALV on the same screen. It was easy to change the existing method where I was doing the explicit refresh of each ALV. But I thought of using the Events.
I created an event REFRESH_DETAILS for main ALV. so, when data gets changed (which I was catching by DATA_CHANGED event of ALV), I raise the event.
RAISE EVENT REFRESH_DETAILS
exporting new_data = it_Data.
In Sub ALVs, I created the event handler method to handle the event REFRESH_DETAILS of the main ALV.
methods: handle_refresh_details
for event REFRESH_DETAILS of ZCL_MAIN_ALV.
I also had to register the Handler.
SET HANDLER me->handle_refresh_details FOR ALL INSTANCES.
I'll soon write a post on my [ABAP Help blog|http://help-abap.zevolving.com/] with all the details.
Regards,
Naimesh Patel -
FM to read files starting with TEST(for example) from Unix server
Hi all,
Is there a FM to read all the files which start with TEST (for example) from the Unix server?
Requirement is if we put TEST* in the selection screen for the filename, it should read all the files which start with TEST from the default Unix path.
Thanks and regards,
AnishurFunction Modules
http://www.erpgenie.com/abap/functions.htm
http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
http://www.erpgenie.com/abap/index.htm
http://www.geocities.com/victorav15/sapr3/abapfun.html
Rewards if useful.........
Minal -
Send Email with Webdynpro for Abap
Hi,
i want to send an email without a attachment after the customer has filled a form.
The Webdynpro for Abap action must send a notification Email to the
service department about these new request.
Has anyone an example how to send an email with Webdynpro for Abap.
Thanks
ThomasHi Micky,
thanks for your help. I trying to used the SO_NEW_DOCUMENT_SEND_API1 in
a action of my webdynpro for Abap. But I getting the error message that a structure parameter responce an error.
Here the Code of the Action:
DATA HEADER TYPE TABLE OF STRING.
DATA RECEIVERS TYPE STRING.
RECEIVERS = 'my-mailadress'.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = 'nothing'.
DOCUMENT_TYPE = 'RAW'
PUT_IN_OUTBOX = ' '
COMMIT_WORK = ' '
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
OBJECT_HEADER = HEADER.
OBJECT_CONTENT =
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
RECEIVERS = RECEIVERS.
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
What's wrong ?
Thanks for your help.
Thomas -
Hi All,Can any provide an example for SAP MEMORY AND ABAP memory
Hi All,
Can any provide me an example for SAP MEMORY AND ABAP memory.
thanks®ards.
Bharat.HI Bharat
A simple example of ABAP memory is using the EXPORT/IMPORT statements.
Here in this program, I get the data, export it to memory,
clear out the internal table in my progam, then reimport the data into it and write out the data.
You probably wounldn't do this in a normal program,
but this is how you can pass data from program a to program b when A Submits program B.
report zxy_0002 .
data: it001 type table of t001 with header line.
select * into table it001 from t001.
export it001 = it001 to memory id 'ZXY_TEST'.
clear it001. refresh it001.
import it001 = it001 from memory id 'ZXY_TEST'.
loop at it001.
write:/ it001-bukrs, it001-butxt.
endloop.
SAP Memory
SAP memory is a memory area to which all main sessions within a SAPgui have access.
You can use SAP memory either to pass data from one program to another within a session,
or to pass data from one session to another.
Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters).
These parameters can be set either for a particular user
or for a particular program using the SET PARAMETER statement.
Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement.
The most frequent use of SPA/GPA parameters is to fill input fields on screens
ABAP/4 Memory
ABAP memory is a memory area that all ABAP programs within the same internal session can access
using the EXPORT and IMPORT statements.
Data within this area remains intact during a whole sequence of program calls. To pass data
to a program which you are calling,
the data needs to be placed in ABAP memory before the call is made.
The internal session of the called program then replaces that of the calling program.
The program called can then read from the ABAP memory.
If control is then returned to the program which made the initial call, the same process operates in reverse.
SAP memory
The SAP memory, otherwise known as the global memory,
is available to a user during the entire duration of a terminal session.
Its contents are retained across transaction boundaries as well as external and internal sessions.
The SET PARAMETER and GET PARAMETER statements allow you to write to, or read from, the SAP memory.
ABAP/4 memory
The contents of the ABAP/4 memory are retained only during the lifetime of an external session
(see also Organization of Modularization Units).
You can retain or pass data across internal sessions.
The EXPORT TO MEMORY and IMPORT FROM MEMORY statements allow you to write data to, or read data from, the ABAP memory.
ABAP Memmory & SAP Memmory
http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
Set
http://www.geocities.com/SiliconValley/Campus/6345/set_para.htm
GET
http://www.geocities.com/SiliconValley/Campus/6345/get_para.htm
EXPORT
http://www.geocities.com/SiliconValley/Campus/6345/export01.htm
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bc4358411d1829f0000e829fbfe/frameset.htm
Other Imp Help
http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
Regards Rk -
Documentation help with example
Hello,
I am in process of java learning with the help of java documentation i.e. http://java.sun.com/javase/6/docs/api/
But, there is no example to describe the command/method/function etc. so that i may learn with the examples. For example i wish to print a message on the screen; so i will write System.out.println("My message"). If it is with the example as in action,
If you please tell me to get the syntax with example; i hope i may get faster and clear concepts.
Thanks and regards
Girish SharmaGirish.Sharma wrote:
I think i am not able to tell you what i want.
1. Do you mean; for java learning one "MUST" have internet to access the documentation. I think no, its not mandatory, because the documentation which i have downloaded covers all the API descriptions. The thing is to understand the function, if there is example also; def it would be good enough.I think he wants to download the tutorials, which isn't a bad move, since for learning from scratch the Javadoc is not ideal.
2. A student in a remote village; where they gets 2-3 hrs power supply and cyber cafes are far away 50-60 Kms. goes to get an example of System.out.println; then is it a really "java career path" ? He learnt that System class is the part of java.lang package and out is the method of System class; but finally he wish to know how do i write these all.Note that there is a continuum of internet-accessibility in any country. Having internet available can not be taken for granted everywhere and sitting in a cyber cafe for learning Java all day can become pretty expensive. There's no reason to use the tutorials as an offline resource.
It's easy to forget that 24/7 internet access is not available for everyone, once you're used to it yourself. -
Not able to integrate Payment Gateway with WebDynpro for ABAP
Hi,
I am not able to integrate the Payment Gateway for Billdesk ( third party software) with Webdynpro for ABAP.
Summery of the Issue : -
(*) Data from PORTAL Application to PAYMENT GATEWAY is going Correctly but
(*) Data from PAYMENT GATEWAY to PORTAL Application is not going correctly.
Details about the Problem : -
I have created 3 View in Webdynpro Application for ABAP.
View 1 -> Sales Order
View 2 -> Confirm Order
View 3 -> Success Message
When I am on the View 2 i,e Confirm Order, I have a UI Element ( LINK TO URL) on this View. When I click on the Link it successful takes me to the Bill desk site(Payment Gateway Integrator).After selecting the Card Type - > Master card, or Visa or Amex, I am routed to the Gateway Site of the Citibank, Where I have to enter the CARD details like Card Number, CVV Number, Expiry Date, and press the Submit Button.
Which now takes me to the final confirmation site, stating
1) Order Number
2) Bank ID
3) Merchant ID
4) Amount
5) Authorize ( APPROVED / NOT APPROVED)
Now once i click on the Submit button, It transfers the amount of the Customer to my bank account, correctly and goes back to the my portal application.
Till here it is working correctly, but 1 parameter is missing which is called "msg", and this parameter contains important information regarding the payment. This parameter is sent back form the Gateway Site to my Portal.
1) Authorize STATUS
2) Check Sum
etc... which will be finally required to decided whether I should go on to create the Sales Order for the Customer or not.
If the Authorize Status = '0300' then only create the Sales Order other wise if the status is any thing else lets say not equal to '0300' then gives the message that the Credit Card is not authorize to process the Sales Order.
Regards,
Saurabh Bhatnagar
E : [email protected]Dear Sir,
we are implementing Retail POS (Point of sale) for one retail company. We need to integrate third party payment gateway.
it's name is PLUTAS. We have got developer kit from Plutas (For trial ) . we have installed that kit in our system.
In my program, I am triggering " PL_TriggerTransaction" using call method. After triggering method it executes method, control passes to third party software. But I am not able to catch return parameter (Responce).
So that would be great if you help me out with this issue.
I wrote following code.
REPORT ZTEST678.
INCLUDE OLE2INCL.
data : rc_plutus type ole2_object,
lpszTransData type string,
lTxnType type char4,
lpszTransData1 TYPE string,
ret_string TYPE string,
l_count TYPE i,
l_time TYPE sy-uzeit.
rc_gui type ref to CL_GUI_CONTROL.
lTxnType = '4001'. "----
transaction type
lpszTransData = '1234567'. " -
trasaction data
*create object rc_gui.
create object rc_plutus 'PLUTUSEXCHANGE.EXCHANGEOBJ'(001) no flush. "no flush ."queueonly.
call method of rc_plutus 'PL_TriggerTransaction'(002) = lpszTransData1
exporting
#1 = lTxnType
#2 = lpszTransData.
wait up to 20 seconds.
write: ret_string. " <----
Value is not coming
write: lpszTransData1. " <----
Value is not coming -
Integrating WebDynpro ABAP applications with UWL for workflow in Portal
Dear
We want to integrate an abap webdynpro application as task in the workflow with UWL.
More information was found in /people/ginger.gatling/blog/2005/12/14/create-new-uis-for-existing-workflow-tasks-with-abap-web-dynpro-and-universal-worklist
But no answer on the following issue:
We use the transaction SWFVISU to prepare standard setting for our task. This defines how a task is executed, once you select the task subject line on the worklist.
Task TS91700001
Visualization Type ABAP Web Dynpro
APPLICATION z_wd_pas
DYNPARAM IV_WIID=${item.externalId}&period=${item.PERIOD}
NAMESPACE SAP
SYSTEM_ALIAS SAP_BSP_EREC
But we want to start the abap webdynpro application with a dynamic parameter: period 07.2010 or 08.2010 or MM.YYYY. This parameter is a container element of the task, filled when the task is created. Also other parameters are available in the abap webdynpro application.
Component Z_WD_PAS
Interface View PAS
Plug Name DEFAULT
Help Menu Text
Help Link
Package Z_PAS
Language EN
URL http://saperpd1.imec.be:8000/sap/bc/webdynpro/sap/z_wd_pas
with parameters
IV_WIID 000000000000 SWW_WIID
ORG_UNIT 00000000 ORGEH
PERIOD SPMON
PERNR 00000000 PERSNO
Can we set the dynamic parameter list DYNPARAM from the task
or should we read the container in our abap webdynpro application described in http://wiki.sdn.sap.com/wiki/display/WDABAP/IntegratingWebDynproABAPapplicationswithUWLforworkflowin+Portal?
More information: The task is a webservice
Standard task 91700001 Z_PAS_CC
Object Category BOR Object Type
Object Type WEBSERVICE WebFlow Service
Method PROCESSDIALOG Dialog Service
with the following standard program code for this method:
begin_method processdialog changing container.
DATA: l_wi_objkey TYPE swotobjid-objkey.
DATA: l_wiid TYPE swwwihead-wi_id.
CALL FUNCTION 'SWE_WI_GET_FROM_REQUESTER'
IMPORTING
requester_workitemid = l_wi_objkey.
l_wiid = l_wi_objkey.
CALL FUNCTION 'SWF_WSC_START_LH_DIALOG'
EXPORTING
i_wiid = l_wiid
EXCEPTIONS
url_creation_failed = 1
browser_launch_failure = 2
OTHERS = 3.
IF sy-subrc <> 0.
CASE sy-subrc.
WHEN 1.
exit_return '1000' space space space space.
WHEN 2.
exit_return '1001' space space space space.
WHEN OTHERS.
exit_return '1002' space space space space.
ENDCASE.
ENDIF.
end_method.
Before calling the function SWF_WSC_START_LH_DIALOG the parameters for the abap webdynpro should be defined. Is this possible ?
Thanks for your suggestions.
Best regards
Luc MarentI added below sources .
> <ItemType name="uwl.request.webflow.WS91000001" connector="WebFlowConnector" defaultView="WorkItemRequestsView" defaultAction="launchWebDynPro" executionMode="default">
> <ItemTypeCriteria systemId="UWLSETXXX" externalType="WS91000001" connector="WebFlowConnector" />
> <Actions>
> <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
> <Properties>
> <Property name="WebDynproApplication" value="ZWD_WF_002" />
> <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no" />
> <Property name="DynamicParameter" value="wi_id=${item.externalId}" />
> <Property name="openInNewWindow" value="yes" />
> <Property name="System" value="WDSETXXX" />
> <Property name="WebDynproNamespace" value="sap" />
> <Property name="display_order_priority" value="5" />
> </Properties>
> <Descriptions default="" />
> </Action>
> </Actions>
> </ItemType>
> <ItemType name="uwl.request.webflow.decision.WS91000001.UWLSETXXX" connector="WebFlowConnector" defaultView="WorkItemRequestsView " defaultAction="viewDetail" executionMode="default">
> <ItemTypeCriteria systemId="UWLSETXXX" externalType="WS91000001" connector="WebFlowConnector" />
> </ItemType> -
Step Wise Documentation with screen shots for validation of Table Fields
Hi ,
I have two fields in a table
One is Rule field and another is Bool Field
In The Rule Field , there are 2 fixed values namely SET_VALUE and CHK_VALUE(F4 help is Given)
In the Bool Field, There are 3 fixed values namely BLANK, AND, OR(F4 help is given)
My Requirement for that table is
If we select Rule = SET_VALUE then it should automatically has to provide for Bool value as AND or BLANK but not OR
If we select Rule = CHK_VALUE then it should automatically has to provide for Bool value as OR or BLANK but not AND
Please kindly provide me the solution for that in the SM30
How to retrieve the data.
Moderator Message: No Step by step Documentation with screenshots will be provided for any topic. Search for available information before posting.
Edited by: kishan P on Nov 28, 2010 8:19 PMHi
Several events are available for SM30, in particular in order to check a new entry
I believe you can look for them in sdn forum, this subject was just discussed here
Max -
OCI with WebDynpro for ABAP in SRM 5.0
Hi there,
Can somebody tell me how the OCI interface has to be controlled in SRM 5.0 when free order forms are made with WebDynpro for Abap ?
Thanks.You have posted your message to the wrong forum. This forum is for SRM eSourcing.
-
Hi Experts, need an example for abap unit test(ABAP OO)?
Hi Experts,
I want to do abap unit test for the developed programs, could anyone please give me an example program of development(a simple is ok, just use it to test)? and an abap unit test example for the program, what I want is to use object oriented abap, thanks in advance!
Merry Christmas to you all.
Kind regards
DawsonHi
Below documents will give you more information,
http://help.sap.com/saphelp_nw04/helpdata/en/a2/8a1b602e858645b8aac1559b638ea4/content.htm
ABAP Testing and Troubleshooting [original link is broken]
http://bi.offis.de/publicProject/g16cglafhqva.htm
regards
Nagaraju
Maybe you are looking for
-
Voice memos emailed from iphone not delivered
i have used the email option to email voice memos from that app on my iPhone - i have used 2 good email addresses mulitple times and not one has been delivered to the email on my iMac (not in spam either) - is there something that has to be turned on
-
How to display a particular transaction over portal as per its id
hi we have a requirement like this... we have already developed some 200 iviews and the corrosponding pages... now we want to develope an application either in web dynpro or pdk that we will upload over portal. that application will be having an inpu
-
DMM 5.2.2 - 5.2.3 MCS 7835-H2
Dear all. I have a customer who is running DMM 5.2.2 on a MCS 7835-H2. They have purchased a C210 to run DMM 5.2.3 a migrate away from the MCS hardware platform. I know that DMM 5.2.3 is not supported on the MCS hardware platform. http://www.cisco.co
-
BW 3.5 upgrade to BW 7.3
Dear Expert : We also have a plan to updrade BW 3.5 to BW 7.3. I have following questions need you kindly sharing your experience. We will plan to perform Technical upgrade from BW 3.5 to BW 7.3, After that we will migrate BW 3.5 Object to BW 7.3 nat
-
Changing Collation setting on SQL2008 for UCCE staging
Can someone guide me throught the process of changing the SQL server collation setting on a SQL 2008 server. We are preparing to upgrade to UCCE to use SQL 2008 instead of SQL 2005 but the SQL team built the server with the wrong collation type. Is