Reg: help on instantiation of class in workflow task
Hi Geeks,
I am trying to use class for Purchase order though standard workflow is available with BO. As per the requirement the triggering event is same as in the standard workflow with BO. Once the workfow is triggered ,The data is pulled to class from BO and custom release step is defined for release in class .
I face problem with the instantiation of class in workflow task while passed the po value and defined binding for the same after reading the document posted by jocelyn dart regarding this as follows :[www. wiki.sdn.sap.com/.../UsingABAPOOmethodsinWorkflowTasks |www. wiki.sdn.sap.com/.../UsingABAPOOmethodsinWorkflowTasks ]
I am getting error as " Formal parameter " po number " not defined.Please Advice.
Regards,
Kumar.
Hi,
I checked the same still no luck. I checked approx all combination.
First I created a SOA-SAR file(jar file) , I extracted it and checked all jar files were there. orabpel.jar and bpm-services.jar and log4j jar. when i deployed that jar file. but it was not working
then I put this in weblogic sever lib. it not worked.
please tell me some points
Similar Messages
-
Stadard FM OR Any WorkFLOW TASK FOR Teigger a Mail
Hi All
Pls can any one help me which FM OR Standard Workflow Task is there for trigger a mail .
Thanks in ADV .
RgdsHi,
U can use the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' for sending the list to a mail id configured to outlook
Have a look at the links below. will get detailed information;
SEND EMAIL FROM SAP
/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
Check these link..
Cofiguration:
/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
Sample Code:
http://www.sap-img.com/abap/sending-email-with-attachment.htm
Reward points if this Helps -
HELP! - BEAN and CLASS interchange?
When I setup to a bean like:
<jsp:useBean id="logger" scope="application" class="Logger" />
I can use the bean and bean's functions fine in the JSP, but not within functions that exist in the JSP like:
jspInit()
it says the "logger" is undefined. Is there a way I can access the logger function within the jspInit class or do i have to redefine a new instance of "logger" within jspInit().
The whole point is I would like to use the same instance of the class from all the JSPs. Thats what scope=application seems to do instead of instantiating everytime.
P.S. If I were to instantiate a class like:
Logger logger = new Logger;
would I be able to give it "applicate scope"? like a bean can have?
Really long question, thanks a lot for the help. :)Hi yusufm1,
I can use the bean and bean's functions fine in the JSP, but not within functions that exist in the JSP like:
jspInit()it says the "logger" is undefined.
What ever you write in jsp, other than in <%! %> tags, is a part of _jspService() method. The life cycle of jsp has following 3 steps.
1. jspInit()
2. _jspService()
3. jspDestroy()
jspInit() is the first method of the jsp class that is executed. _jspService is the next method. The statement -
<jsp:useBean id="logger" scope="application" class="Logger" />
instantiates a bean in _jspService() method of jsp class. So it is evident that this instance is not available in jspInit().method.
Is there a way I can access the logger function within the jspInit class or do i have to redefine a new instance of "logger" within jspInit().
To use the bean instance in jspInit() you should instantiate the bean object in jspInit() or declare it as an instance variable.
If I were to instantiate a class like:
Logger logger = new Logger;
would I be able to give it "applicate scope"? like a bean can have?
No, simply instantiating a class in the jspInit() method wouldnot provide it with application scope. You have to put that instance in ServletContext (application) to make it available to all jsp pages. If you instantiate a class in jspInit() only and donot put it in application it is not even available to _jspService() method.
Hope this helps -
Need more info abt the functions of each classes in Workflow API's of BPEL
Need more information about the functions of each method of the classes in Workflow API's of BPEL
The Java documentation of the workflow API (especially Identity Service classes) is having a one liner explanation for the methods of each class. We need to implement our own Identity Service that implements the BPMIdentityService interface. We are not able to map the function of each methods of this interface to what our security subsystem provides. We feel that we need more detailed information about what each method of each class is doing internally so that we can map to whatever our security subsystem provides.
The BPEL Developers Guide does not talk about the functionality of each methods of this interface. If anybody can guide me to look into some documentation that has this information or if anybody has this information, then please do the necessary help.
Regards
RamanaDid you find out the solution for your above posted query ? I'm also in need of some documents. Can you help me out?
-
Call enhancement class method from Bus. workflow task
Hi all,
I recently enhanced a global class from SAP (add a new method). Now I would like to call it from a workflow task (ABAP Class object used in the task). So it seems that only "native" methods from the class itself can be selected for the object method of the task.
Same issue if I try to call it via secondary methods options...
Last idea I have before the repair is: retrieve the instance saved into the WF container via a custom class interfacing IF_IFS_SWF_CONTAINER_EXIT (program exit) and call the enhanced method from the method proposed in this interface.
Maybe someone had the same issue? Anyone could help or propose solution?
Many thanks in advance for your help,
KR,
OlivierI think it might qualify for an OSS message.
There was simmilar note for BADIs which was corrected: https://service.sap.com/sap/support/notes/1156392
CL_SWF_UTL_DEF_SERVICES which is used in PFTC to determine callable methods doesn't include enhancements when calling function SEO_CLASS_TYPEINFO_GET (parameter WITH_ENHANCEMENTS is default FALSE) -
Include in ABAP class for Workflow
Hi,
In order to use BOR macros inside ABAP class, (From SAP help) came to know that we need to use include <cntn02> .
How to add this include to ABAP class for workflow?
Regds,
AkshayHi Akshay,
Slight difference, I said "keeping the class clean of BOR <i>code</i>". By all means use BO's in the class: basically create a ZCL_MATERIAL, and use BUS1001 as an attribute (I use a naming convention BO_* for these). As long as it's the right type (SIBFLPORB I think - no system handy right now), and the key values are populated correctly the system will instantiate it as necessary. So in WF I can refer to ZCL_MATERIAL.BO_MATERIAL whenever I need any of the BO's functionality.
You are correct though, creating a proper business class which you can instantiate such as material does involve a fair bit of effort and coding to set up. e.g. my last project I ended up creating one ZBOR subtype because all I needed was one new attribute - definitely not worthwhile creating a new class for. (USR01.zEmailAddress for what it's worth).
I've said before somewhere, it's not without pain, so if you're under time pressure etc, then it may be better to do whatever's quickest. There's nothing wrong with using BOR macros, it will still work for quite a few versions. I just meant to say that pure class(y) code is a preferred way to go if it makes sense to do so. This is not always the case.
Hope that helps,
Mike -
I am planning to use ABAP classes instead of BOR Objects in Workflow and would appreciate
1) any elaborate documentation on the use of ABAP classes in workflow (SAP help has very limited documentation)
2) comparision of using either approach with advantages of using ABAP classes over the use of BOR Objects and limitations of using ABAP classes,if any.
3) any examples of ABAP classes used in Projects
Thanks for your help.
SaurabhHi,
check the wiki, in the design and development part are listed all of Jocelyn darts blogs about OO in workflow:
<a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/2.DesignandDevelopment&">https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/2.DesignandDevelopment&</a>
regards, Rob Dielemans -
Instantiating a class within itself ?!
Hi guys,I just started playing around with Java, trying to understand the core base of this language.
I have created a simple class and just-for-try I instantiated this class from inside itself.
public class PrivAndPublic{
PrivAndPublic o = new PrivAndPublic();
}//end of class
It doesn't give me any compiling error!
Doesn't it sound strange?!
I cannot understand how is it possible and it really seems a bug to me.
Thanks for any help!What Darcia wrote make me suppose that a class is totally created with the first line of a java file (i.e. public class PrivAndPublic{ )and initialized by the constructor (which, if omitted, comes by default with no arguments)...after all this, the class can be instantiated many times I want from inside the class itself.
(I was thinking the class needed to reach the matching close curly brace to be possible to instantiate it)
But as phyzome said I have to be careful to do not make the object call the method which I put the object in, otherwise I will cause an infinite loop...as I did try ;)
Thanx guys, see you. -
Instantiation of class in BPEL process
I have a very Strange problem, in my BPEL process I have used java embed Activity. on that activity if I am using Task class. then I am not able to deploy my process. its giving me following message.
when I remove that line then I am able to deploy that process.
following error comes when deployment.
[10:29:41 AM] ---- Deployment started. ---- [10:29:41 AM] Target platform is (Weblogic 10.3). [10:29:41 AM] Running dependency analysis... [10:29:41 AM] Building... [10:29:52 AM] Deploying profile... [10:30:19 AM] Wrote Archive Module to D:\RegistrationUpload\RegistrationUpload\RegistrationUpload\deploy\sca_RegistrationUpload_rev21.0.jar [10:30:19 AM] Deploying sca_RegistrationUpload_rev21.0.jar to partition "default" on server soa_server1 [WIN-73I7I7QL8Z3.uradevt.gov.sg:8002] [10:30:19 AM] Processing sar=/D:/RegistrationUpload/RegistrationUpload/RegistrationUpload/deploy/sca_RegistrationUpload_rev21.0.jar [10:30:19 AM] Adding sar file - D:\RegistrationUpload\RegistrationUpload\RegistrationUpload\deploy\sca_RegistrationUpload_rev21.0.jar [10:30:19 AM] Preparing to send HTTP request for deployment [10:30:19 AM] Creating HTTPS connection to host:WIN-73I7I7QL8Z3.uradevt.gov.sg, port:8002 [10:30:19 AM] Sending internal deployment descriptor [10:30:20 AM] Sending archive - sca_RegistrationUpload_rev21.0.jar [10:33:45 AM] Received HTTP response from the server, response code=500 [10:33:45 AM] Error deploying archive sca_RegistrationUpload_rev21.0.jar to partition "default" on server soa_server1 [WIN-73I7I7QL8Z3.uradevt.gov.sg:8002] [10:33:45 AM] HTTP error code returned [500] [10:33:45 AM] Error message from server: Error during deployment: Error occurred during deployment of component: OfficerList to service engine: implementation.bpel, for composite: RegistrationUpload: ORABPEL-01005
Failed to compile bpel generated classes. failure to compile the generated BPEL classes for BPEL process "OfficerList" of composite "default/RegistrationUpload!21.0*soa_27af417b-20d6-48d0-821c-4f26b3c4ce94" The class path setting is incorrect. Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version. . [10:33:45 AM] Check server log for more details. [10:33:45 AM] Error deploying archive sca_RegistrationUpload_rev21.0.jar to partition "default" on server soa_server1 [WIN-73I7I7QL8Z3.uradevt.gov.sg:8002] [10:33:45 AM] #### Deployment incomplete. #### [10:33:45 AM] Error deploying archive file:/D:/RegistrationUpload/RegistrationUpload/RegistrationUpload/deploy/sca_RegistrationUpload_rev21.0.jar (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
follwing code I have used in snippet.
<bpelx:exec import="org.w3c.dom.Element"/>
<bpelx:exec import="com.ura.dams.workflow.process.OfficerList"/>
<bpelx:exec import="oracle.bpel.services.workflow.task.model.Task"/>
<bpelx:exec name="getTaskInfoForPO" version="1.5" language="java">
<![CDATA[try
OfficerList officerlist= new OfficerList();
String JobAssignmentType1= (String)getVariableData("JobAssignmentType");
String officerLevel1= (String)getVariableData("officerLevel");
String applicationType1= (String)getVariableData("applicationType");
String functionId1= (String)getVariableData("functionId");
String dcConservationFlag1= (String)getVariableData("dcConservationFlag");
String app_id_key1= (String)getVariableData("app_id_key");
String app_id_value1= (String)getVariableData("app_id_value");
String taskID1= (String)getVariableData("taskID");
String officer="";
String DConservatiionFlag="";
java.util.Hashtable keyValues= new java.util.Hashtable();
keyValues.put(app_id_key1, app_id_value1);
Task taskinfo= null;
catch(Exception e)
System.out.println("error occured" + e);
}]]>
</bpelx:exec>
Will anyone please tell me do I need to refer jar file in terms of BPEL process also.
even same class I can use in my java files in the same project. (for other class its working like OfficerList)
Environment is : Oracle SOA 11g, Jdeveloper
please suggest something.Hi,
I checked the same still no luck. I checked approx all combination.
First I created a SOA-SAR file(jar file) , I extracted it and checked all jar files were there. orabpel.jar and bpm-services.jar and log4j jar. when i deployed that jar file. but it was not working
then I put this in weblogic sever lib. it not worked.
please tell me some points -
F4 Help in ALV GRID class based
hi
you have any idea about how to invoke the F4 help in ALV GRID Class based program.,
if u have any other related document or program using F4 function in ALV GRId please send to me for reference
Thanks & Regards
K.Ghi for what kind of fields you need to give f4.
are they std or custom...
please let me know about the fields..
try to check my logic which i gave in the below post..
it will give f4 help to the fields(if thet are standard table fieldS)
Message was edited by: Vijay Babu Dudla -
We need to get our servers up to date with the latest ColdFusion hotfixes in order to pass our security scans and policies. We have been following the Adobe instructions for installing the hotfixes, but we’re getting the same errors each time. The CF 8 hotfix 2 works fine, but once we install hotfix 3 and/or hotfix 4, we get the following errors:
"Object Instantiation Exception.Class not found: coldfusion.security.ESAPIUtils The specific sequence of files included or processed is: C:\ColdFusion\wwwroot\WEB-INF\exception\java\lang\Exception.cfm, line: 12 "
coldfusion.runtime.java.JavaObjectClassNotFoundException:
We have dozens of servers running Windows XP, Netscape Enterprise Server 6.1 (I know, don’t laugh), ColdFusion 8,0,1,195765, and Java Version 1.6.0_04. Just about the only good thing about running XP on our servers is that it matches our development boxes, so we have almost mirrored environments for dev, test, and production. We do NOT have the CF install with the J2EE configuration.
The crazy thing is, on tech note 51180 (http://kb2.adobe.com/cps/511/cpsid_51180.html), it says that the fix for bug # 71787 (Fix for "Object Instantiation Exception" thrown when calling a Java object constructor or method with a null argument under JDK 1.6.) was added in cumulative hotfix 2. However we don’t see this problem until we go to hotfix 3 (or 4).
I’ve also been reading that other people had this same problem, and that the CF 8 hotfix 3 was not compatible with certain versions of JDK, then when you read the Adobe site for CF 8.0.1 hotfix 3, it says “Added the updated cumulative hotfix to make it compatible with jdk 1.4.x, 1.5.x and 1.6.x.”, so that makes me think that Adobe was supposed to have fixed this CF 8.0.1 hotfix 3 JDK incompatability issue - but unfortunately it's still not working for us. We have followed the instructions for removing the jar files and starting/restarting the CF server as directed, we’ve tried this 5-6 times, and still no luck.
Recommendations? Seems like this is a ColdFusion bug to me – one that says is fixed on the Adobe site, but is not fixed in our environment. Please advise, thanks.For what it's worth, we had an MXUnit user describe a similar, though not identical, problem after installing the latest hotfixes. In his case, he's getting "NoSuchMethodExceptions".
-
Polymorphic classes in workflow?
Hi Workflowers,
A very technical question: Has anyone tried to use some sort of polymorphism with ABAP classes in workflow?
I am working on 620 at the moment and the trouble is that the WF builder doesn't let you specify an interface as a class container element type. I have even tried to get it to work via inheritance (i.e. binding a subtype to it's supertype and vice versa) and having spent most of a day on it have had no success whatsoever. It seems that the class you define is the class you're stuck with thoughout the WF.
This is rather annoying and negates one of the more useful benefits of using classes. Even though I am sitting on a 620 system, I would also be interested in any experience on NW04/s because it would be handy to know how things work and which direction things will go as we also have upgrade plans around the corner.
Any input appreciated.
Cheers,
Mike
(Cross-posted on WUG and SDN)Mike Pokraka wrote:>
> Closed due to lack of interest...
Actually: closed due to no-one else having tried such advanced features (yet) is probably closer to the truth
It's not that I (and I am sure others) have no interest, but I'm swamped in BUS2012 and BUS2081 extensions. -
Hi I need help on URL Connection Class
Hi
I have read the documentation but cant get it . I have to Use the getContent(); method so can any one make a program for me in which all of the methods of this class have been used?
I Also Need help on Content Handler Class Please give me one example on it but separate from the above one
Thanx alotHi
Man Some Times We need help and as of google, Google is My Best Friend. and as of forums search i know that but some time we have less time and much to work. The Time Doesnt wait us. we have to save our time. thanx for ur help and ur comments i like it. -
Can anybody help to integrate workflow task with outlook
Hii Masters
i want to integrate workflow tasks with outlook ie with out microsoft duet. ie with two options like approve ,reject i want to execute from outlook.
Thanks in advance
johny
Edited by: johny antony joseph on Mar 12, 2009 7:39 AMHi Johny,
which Workflow are you planning to use, Netweaver BPM or WF from ERP? If you use the ERP Workflow, first of all you have to configure the connection to an Exchange Server via SAPconnect (transaction SCOT, see http://help.sap.com/saphelp_nw04/helpdata/en/1b/b8e93a2876a81ae10000000a11402f/frameset.htm for details). Then you create a Workflow which sends a message to the responsible. The easiest way could be to include an URL which takes you to an approval page on your Enterprise Portal.
Regards
Michael Meissner -
Reg.Double click concept in classes
Hello,
I had developed a program which is extracting data from kna1 and vbak table.Now i am facing a problem when iam using a concept called doubleclick.In my first screen data from kna1 table is displayed.Now i want to see respective data from vbak table when i double click one particular custnumber.How can i use concept doubleclick for that.can anybody explain me in detail.Hello Priyanka
The sample report ZUS_SDN_TWO_ALV_GRIDS_0 shows how to display sales orders per customer using two ALV grids.
*& Report ZUS_SDN_TWO_ALV_GRIDS_0
*& Description: Display KNA1 in 1st ALV grid,
*& select VBAK data by double-clicking
*& SDN: Reg.Double click concept in classes
*& Screen '0100' contains no elements.
*& ok_code -> assigned to GD_OKCODE
*& Flow logic:
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
REPORT zus_sdn_two_alv_grids.
DATA:
gd_repid TYPE syrepid,
gd_okcode TYPE ui_func,
go_docking TYPE REF TO cl_gui_docking_container,
go_splitter TYPE REF TO cl_gui_splitter_container,
go_cell_top TYPE REF TO cl_gui_container,
go_cell_bottom TYPE REF TO cl_gui_container,
go_grid1 TYPE REF TO cl_gui_alv_grid,
go_grid2 TYPE REF TO cl_gui_alv_grid,
gs_layout TYPE lvc_s_layo.
DATA:
gs_knb1 TYPE knb1,
gt_header TYPE STANDARD TABLE OF kna1,
gt_position TYPE STANDARD TABLE OF vbak.
CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-DATA:
md_customer TYPE kunnr READ-ONLY.
CLASS-METHODS:
handle_double_click FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING
e_row
e_column
es_row_no
sender.
ENDCLASS. "lcl_eventhandler DEFINITION
CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_double_click.
define local data
DATA:
ls_header LIKE LINE OF gt_header.
CHECK ( sender = go_grid1 ).
READ TABLE gt_header INTO ls_header INDEX e_row-index.
CHECK ( ls_header-kunnr IS NOT INITIAL ).
md_customer = ls_header-kunnr.
Triggers PAI of the dynpro with the specified ok-code
cl_gui_cfw=>set_new_ok_code( 'DETAIL' ). " not 4.6c
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING
new_code = 'DETAIL'
IMPORTING
RC =
ENDMETHOD. "handle_double_click
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
START-OF-SELECTION.
SELECT * FROM kna1 INTO TABLE gt_header UP TO 500 ROWS.
Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
ratio = 90
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD go_docking->set_extension
EXPORTING
extension = 99999 " full-screen
EXCEPTIONS
cntl_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Create splitter container
CREATE OBJECT go_splitter
EXPORTING
parent = go_docking
rows = 2
columns = 1
NO_AUTODEF_PROGID_DYNNR =
NAME =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Get cell container
CALL METHOD go_splitter->get_container
EXPORTING
row = 1
column = 1
RECEIVING
container = go_cell_top.
CALL METHOD go_splitter->get_container
EXPORTING
row = 2
column = 1
RECEIVING
container = go_cell_bottom.
Create ALV grids
CREATE OBJECT go_grid1
EXPORTING
i_parent = go_cell_top
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Set event handler
SET HANDLER: lcl_eventhandler=>handle_double_click FOR go_grid1.
CREATE OBJECT go_grid2
EXPORTING
i_parent = go_cell_bottom
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Display data
gs_layout-grid_title = 'Customers'.
CALL METHOD go_grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'KNA1'
is_layout = gs_layout
CHANGING
it_outtab = gt_header
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
gs_layout-grid_title = 'Sales Order per Customer'.
CALL METHOD go_grid2->set_table_for_first_display
EXPORTING
i_structure_name = 'VBAK'
is_layout = gs_layout
CHANGING
it_outtab = gt_position " empty !!!
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Link the docking container to the target dynpro
gd_repid = syst-repid.
CALL METHOD go_docking->link
EXPORTING
repid = gd_repid
dynnr = '0100'
CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
NOTE: dynpro does not contain any elements
CALL SCREEN '0100'.
Flow logic of dynpro (does not contain any dynpro elements):
*PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
*PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
END-OF-SELECTION.
*& Module STATUS_0100 OUTPUT
text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'. " contains push button "DETAIL"
SET TITLEBAR 'xxx'.
Refresh display of detail ALV list
CALL METHOD go_grid2->refresh_table_display
EXPORTING
IS_STABLE =
I_SOFT_REFRESH =
EXCEPTIONS
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
MODULE user_command_0100 INPUT.
CASE gd_okcode.
WHEN 'BACK' OR
'END' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
User has pushed button "Display Details"
WHEN 'DETAIL'.
PERFORM entry_show_details.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form ENTRY_SHOW_DETAILS
text
--> p1 text
<-- p2 text
FORM entry_show_details .
define local data
DATA:
ld_title TYPE lvc_title.
SELECT * FROM vbak INTO TABLE gt_position
WHERE kunnr = lcl_eventhandler=>md_customer. " Sold-to-party
CONCATENATE 'Sales Order of customer' lcl_eventhandler=>md_customer
INTO ld_title
SEPARATED BY space.
CALL METHOD go_grid2->set_gridtitle
EXPORTING
i_gridtitle = ld_title.
ENDFORM. " ENTRY_SHOW_DETAILS
Regards
Uwe
Maybe you are looking for
-
SRM PR is not getting created in ECC backend
Hello Experts, We are running SRM 7.0 with SRM-MDM Catalog, we are using SRM for shopping. We do have PI 7.11 running in the Environment as well. We are on ECC 6.0 with Ehp 4.0 Purchase Order: However we can see the PO creating successfully using PI
-
Is there a version of Acrobat Reader that works for XP SP3??
I have spent 30 minutes trying to get either ver 8 or version 9 of Acrobat Reader to install on a fairly recent clean install of XP Pro Sp3 machine. I need to use Acrobat Reader for a application rather than another reader and want to know why Acroba
-
Why did Airdrop disappear on my ipad(latest model)?
Why did Airdrop disappear on my ipad(latest model)?
-
Download update Adobe Media Encoder 7.2.2.
I'm not able to download. Download only for 50%. How can I do. I use Mac Thanks
-
Win 7 64b recovery p2pp fail..please help
Have G7-1260us, windows 7 64b os. Hard drive stopped working so I bought new hd same make and size. Bought HP restore CD's and attempted a restore. Restore fails on final step? according to log due to P2PP registry devices check failed for synaptics