Want to create multiuser example
Hi,
I want to create a application in which same vi will run on 3 or 4 computers connected on LAN.Its like a multiplayer game.
Is it possible? Are there any examples of such application. can someone give me such application to design.
Thank you
Gaurav K
Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
thanks for reply. Yes i want to design same application, where in users will try to operate same vi,will try to operate a perticular variable...and i will have a combine effect of their action in vi.
Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
Similar Messages
-
Want to create XML tag from the query
Here i want to create a xml output from the below code for the given P_repair_number can anyone help me for the code i have written
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
facing the above error when run from concurrent program
Procedure dfdfdf(p_repair_number number,
errbuf OUT VARCHAR2,
retcode OUT NUMBER) as
v_error_code NUMBER; -- error code
v_error_message VARCHAR2(255); -- error message
v_text_msg VARCHAR2(100);
cursor Rodetails(p_repair_number IN NUMBER) is
SELECT
dra.repair_number,
dra.repair_line_id,
items.concatenated_segments item_name,
items.description item_desc,
dra.inventory_item_id,
sr.incident_number sr_incident_number,
decode(dra.customer_product_id, '',dra.serial_number,cp.serial_number) serial_number,
ltrim(oeh.order_number) rma_number,
rstl.resource_name ro_owner_name,
fndl.meaning flow_status_name,
dra.status ro_status_code,
drtt.name repair_type_name,
dra.problem_description,
dra.promise_date,
rgtl.group_name repair_org_name,
decode(dra.customer_product_id, '',dra.item_revision,cp.inventory_revision) revision,
cp.lot_number,
dra.unit_of_measure uom_code,
uom.unit_of_measure_tl uom_name,
dra.quantity,
cp.instance_number ib_instance_number,
plkup.meaning ro_priority_meaning
FROM
csd_repairs dra,
csd_repair_types_tl drtt,
cs_incidents_all_b sr,
csi_item_instances cp,
fnd_lookups fndl,
csd_flow_statuses_b fsb,
mtl_system_items_kfv items,
mtl_units_of_measure_tl uom,
jtf_rs_resource_extns_tl rstl,
jtf_rs_groups_tl rgtl,
oe_order_headers_all oeh,
cs_estimate_details edt,
csd_product_transactions txns,
fnd_lookups plkup
WHERE dra.repair_type_id = drtt.repair_type_id
AND drtt.language = userenv('LANG')
AND dra.repair_mode = 'WIP'
AND dra.incident_id = sr.incident_id
AND dra.CUSTOMER_PRODUCT_ID = cp.INSTANCE_ID(+)
AND dra.flow_status_id = fsb.flow_status_id
AND fsb.flow_status_code = fndl.lookup_code
AND fndl.lookup_type = 'CSD_REPAIR_FLOW_STATUS'
AND dra.inventory_item_id = items.inventory_item_id
AND dra.unit_of_measure = uom.uom_code
AND uom.language = userenv('LANG')
AND dra.resource_id = rstl.resource_id (+)
AND rstl.category (+) = 'EMPLOYEE'
AND rstl.language (+) = userenv('LANG')
AND dra.owning_organization_id = rgtl.group_id (+)
AND rgtl.language (+) = userenv('LANG')
AND dra.repair_line_id = txns.repair_line_id
AND txns.estimate_detail_id = edt.estimate_detail_id
AND edt.order_header_id = oeh.header_id
AND edt.line_category_code = 'RETURN'
AND dra.currency_code = oeh.transactional_curr_code
AND dra.ro_priority_code = plkup.lookup_code(+)
AND plkup.lookup_type(+) = 'CSD_RO_PRIORITY'
AND items.organization_id = cs_std.get_item_valdn_orgzn_id
AND dra.repair_number=p_repair_number
AND rownum <50;
begin
errbuf := NULL;
retcode := 0;
SAVEPOINT Create_external_orders;
--retcode := FND_API.G_RET_STS_SUCCESS;
IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level) THEN
fnd_log.STRING (fnd_log.level_procedure, 'CSD.PLSQL.XXTNT_CSD_CREATEORDER.SUBMIT_CREATE_ORDER.BEGIN', 'Enter - PrintTraveller');
END IF;
--FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<?xml version="1.0"?>');
--FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<REPAIR_ORDER>');
FOR v_rodetails IN Rodetails(p_repair_number)
LOOP
/*For each record create a group tag <G_RODETAILS> at the start*/
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<?xml version="1.0"?>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<REPAIR_ORDER>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<G_RODETAILS>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<REPAIR_NUMBER>' || v_rodetails.repair_number ||
'</REPAIR_NUMBER>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<REPAIR_LINE_ID>' || v_rodetails.repair_line_id
|| '</REPAIR_LINE_ID>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<ITEM_NAME>' || v_rodetails.ITEM_NAME
||'</ITEM_NAME>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<ITEM_DESC>' || v_rodetails.ITEM_DESC
|| '</ITEM_DESC>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<SR_INCIDENT_NUMBER>' || v_rodetails.SR_INCIDENT_NUMBER ||
'</SR_INCIDENT_NUMBER>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<SERIAL_NUMBER>' ||v_rodetails.SERIAL_NUMBER
||'</SERIAL_NUMBER>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<RMA_NUMBER>' || v_rodetails.RMA_NUMBER
|| '</RMA_NUMBER>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<RO_OWNER_NAME>' ||v_rodetails.RO_OWNER_NAME ||
'</RO_OWNER_NAME>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<FLOW_STATUS_NAME>' || v_rodetails.FLOW_STATUS_NAME
||'</FLOW_STATUS_NAME>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<RO_STATUS_CODE>' || v_rodetails.RO_STATUS_CODE
|| '</RO_STATUS_CODE>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<REPAIR_TYPE_NAME>' || v_rodetails.REPAIR_TYPE_NAME ||
'</REPAIR_TYPE_NAME>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<PROBLEM_DESCRIPTION>' || v_rodetails.PROBLEM_DESCRIPTION
||'</PROBLEM_DESCRIPTION>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<PROMISE_DATE>' || v_rodetails.PROMISE_DATE
|| '</PROMISE_DATE>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<RO_OWNER_NAME>' || v_rodetails.RO_OWNER_NAME ||
'</RO_OWNER_NAME>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<REPAIR_ORG_NAME>' || v_rodetails.REPAIR_ORG_NAME
||'</REPAIR_ORG_NAME>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<RO_STATUS_CODE>' || v_rodetails.RO_STATUS_CODE
|| '</RO_STATUS_CODE>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<REVISION>' || v_rodetails.REVISION ||
'</REVISION>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<LOT_NUMBER>' || v_rodetails.LOT_NUMBER
||'</LOT_NUMBER>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<UOM_CODE>' || v_rodetails.UOM_CODE
|| '</UOM_CODE>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<UOM_NAME>' ||v_rodetails.UOM_NAME ||
'</UOM_NAME>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<QUANTITY>' || v_rodetails.QUANTITY
||'</QUANTITY>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<IB_INSTANCE_NUMBER>' || v_rodetails.IB_INSTANCE_NUMBER
|| '</IB_INSTANCE_NUMBER>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<RO_PRIORITY_MEANING>' || v_rodetails.RO_PRIORITY_MEANING ||
'</RO_PRIORITY_MEANING>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</G_RODETAILS>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</REPAIR_ORDER>');
END LOOP;
IF(retcode != FND_API.G_RET_STS_SUCCESS) THEN
RAISE FND_API.G_EXC_ERROR;
END IF;
IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level) THEN
fnd_log.STRING (fnd_log.level_statement, 'CSD.PLSQL.XXTNT_CSD_CREATEORDER.SUBMIT_CREATE_ORDER', ' In PrintTraveller');
END IF;
fnd_file.put_line(fnd_file.log, 'Successfully completed PrintTraveller');
EXCEPTION
|| Catch all error.
WHEN OTHERS THEN
ROLLBACK;
v_error_code := SQLCODE;
v_text_msg := 'Fatal Error, Oracle Error is: '
|| TO_CHAR (v_error_code, '99999');
fnd_file.put_line (fnd_file.log, v_text_msg);
v_error_message := SQLERRM;
fnd_file.put_line (fnd_file.log, v_error_message);
end dfdfdf;Edited by: user12053530 on Apr 19, 2010 5:54 AMHowever using SYS.ODCIVARCHAR2LIST makes sense if your query is a part of bigger processing (PL/SQL procedure or function) and you will do some processing depending on File_Type, like in this example (not compiled, could contain syntax errors):
DECLARE
l_stid VARCHAR2(10);
l_address VARCHAR2(30);
l_File_Type_tab SYS.ODCIVARCHAR2LIST;
cur_cursor IS SELECT STID,
ADDRESS,
CAST(COLLECT(DISTINCT File_Type) AS SYS.ODCIVARCHAR2LIST) AS File_Type
FROM (
SELECT STID,
ADDRESS,
File_Type
FROM DUMMY
GROUP BY STID, ADDRESS;
BEGIN
OPEN cur_cursor;
<<main_loop>>
WHILE (1=1) LOOP
FETCH cur_cursor INTO l_stid, l_address, l_File_Type_tab;
EXIT WHEN cur_cursor%NOTFOUND;
-- Now do processing for each File_Type in l_File_Type_tab;
<<each_file_type>>
FOR i IN l_File_Type_tab.FIRST .. l_File_Type_tab.LAST LOOP
-- for example:
-- IF l_File_Type_tab(i) = 'SALES'
-- THEN
-- do_something(l_stid, l_address);
-- ELSIF l_File_Type_tab(i) = 'TRANSFER'
-- THEN
-- do_something_else(l_stid, l_address);
-- ELSE
-- do_something_default(l_stid, l_address);
-- END IF;
END LOOP each_file_type;
END LOOP main_loop;
CLOSE cur_cursor;
END; -
List View Filter - I want to create List View based on a specific user
I want to create a List View Filter based on specified user ID. I dont want to specify the [Me] for filtering the view based in current logged in User.
I want the view to be based on specific user ID for Ex: "AD\JohnDoe"
Thanks
NateThe People/Group Picker field has several options for how the name is displayed. For example you can set it to be the friendly name or the account name. When you create your View Filter, make sure that you are using the same format as the field's display
type.
Dimitri Ayrapetov (MCSE: SharePoint) -
I want to create a HD disc with my Adobe Premier Elements but I am getting low resolution. When I go to share the DVD to disc the form only offers 8pixels at the bottom. How do I burn this DVD in HD with higher number of pixels? I have read other forums on burning HD DVD's but I do not see the option to turn the 8 pi into 40 pi the one forum recommended. I want my DVD to be HD so I may sell these videos online for my business. I can't sell them the low quality they are burning now. Hopefully you can help me. Thanks.
desalvom
Thank you for your reply.
You cannot burn your high resolution video that you can view on your computer to an AVCHD on DVD disc
that will replay through a regular DVD player. But players are marketed under a variety of names with
different support opportunities. One manufacturer may call its product MultiMedia Player, media player, Blu-ray player,
etc.The bottom line is the specifications for each of the players that are candidates for the playback of
the AVCHD format on DVD disc or the format of interest.
If you upload your HD (1920 x 1080) video to YouTube, YouTube converts the video to flash format, but it goes up as the HD video.
But, beware. Look at the YouTube viewing setting when your uploaded video is playing back. The YouTube default is not
HD. It might be 360p, 480p. If you have a 1080p video, then before the YouTube playback, you should be looking
at the video with the YouTube 1080p HD setting for best viewing. That is a YouTube matter.
Best results depend on you
a. setting up the Premiere Elements project preset to match the properties of the source media. That means, if
you have 1080p source, you (manually) or the project (automatically) set the project preset at
NTSC
DSLR
1080p
DSLR [email protected]
or the PAL counterpart, depending on your region need.
b. if you upload your video to YouTube using the Premiere Elements feature, there is a HD preset, but you cannot
customize it.....if you need customization, then you can export your Timeline to a file...in this example
Publish+Share
Computer
AVCHD
with Presets = MP4 H.264 1920 x 1080p30 or PAL counterpart
and then customize the preset under the Advanced Button/Video Tab of that preset. In increase quality, you might look to increase
the Bitrate under Advanced Button/Video Tab settings - without compromising the file size.
Then you would upload that file to YouTube at the YouTube web site.
All of the above are factors that need looking into in order to determine the why for what you wrote
I have published a shortened advertisement video to YouTube- say 5 minutes-
and it is low quality
Often SD video upscaled to HD can present poorly. But, you are dealing with a HD workflow so that should not be introduced into the matter. The setup of the project and
the properties of the source video are important, but let us start with the above and rule in or out those considerations first.
Thank you. As always, any clarification needed, please do not hesitate to ask.
ATR -
I want to create a back up of my iPhoto library on an external hard (not the time machine backup). I've searched the iPhoto help, but unfortunately it does not tell me 'how' to create this additional backup of my library. Thanks
Most Simple Back Up:
Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store -
I want to create an HTML table of img maps dynamically from DB retrieves...
Hi,
How do I build dynamic HTML code in a function and then populate a HTML region to render it.. (did I say that right?)
I want to create an HTML table of img maps dynamically from DB retrieves...
Thank you, BillVikas and Andy,
Using Andy's code I'll go further...
I want to create a function that returns HTML code that has been built dynamically.
create or replace function "GET_CH_TABLE"
return VARCHAR2
is
HTML_STRING VARCHAR2(2000); -- Create a string variable
BEGIN
HTML_STRING:= '<table align="center">' ||chr(10)||
' <tr>' ||chr(10)||
' <td> TEST ' ||chr(10)||
' /td>' ||chr(10)||
' /tr>' ||chr(10)||
' tr>' ||chr(10)||
' td>' ||chr(10)||
' a href=https:// ............etc. etc.. building the <TABLE> and <TD> cells having whatever I want... example.. changing the name of an image dependant on something else..
return HTML_STRING; -- output the string to the region
--also tried htp.p(HTML_STRING);
END;
=====================================
Building the dynamic HTML is not my problem. It is how to get it into a region and to be read as HTML from a function call...
I'd like the source of the region to be the returned HTML from a function call to GET_CH_TABLE();
but it gives error:
ORA-06550: line 1, column 7: PLS-00221: 'GET_CH_TABLE' is not a procedure or is undefined
ORA-06550: line 1, column 7: PL/SQL: Statement ignored
Debug:
1: begin
2: GET_CH_TABLE();
3: end;
I -
I have made an 8.5 x 11 flyer and want to create handbills, four to a page, with Photoshop or Adobe Acrobat Pro. Waht do I do?
Create a new document the size of the handbill 4-up {example if handbill is 3"X4" then the new document would be 6"X8" Plus an optional margin and bleed (don't forget to include the gutters between the handbills - The gutter is used for the opposite margin to make the white space around the individual handbill equal)}
place the original document into the new document
make sure the layers are grouped for easy moving
Drag out guides from the ruler (make sure ruler is visible) - Make the guides for each edge of the page for the margin, 2 guides between where each document should be (both rows and columns) Readjust if necessary until it looks right
Optional - Scale original document to fit the guides if necessary
Alt drag the group to the next location
Repeat 6
I can't make it any more or less detailed without see something from your screen, when in doubt post screen shots -
Want to create a InDesign document that is Interactive as a PDF
I want to create an InDesign form that is made into a PDF that can be filled out (populated with their answers) and returned via email to someone.
Can I make the document in InDesign or do I have to do it in Acrobat? I am running CS2.
If you can point me into the right direction I would greatly appreciate it.
Thanks
BarbJust started doing interactive PDFs so I'm learning as I go. Been using Sandee's VQS and Scott Citron's Professional Design Techniques to learn the mechanics. Scott's book is my current favorite. Sure hope he gets well soon.
I rushed through most of the books to get the first issue out but I have a week or so to smooth out my template. Main concern is navigation. I don't want page numbers on the pages but I do want people to click on nav guide and be taken to a specific page. Here's an example of what I mean (note how the page you're on is indicated in red):
layout template
I can't upload the entire PDF since it's proprietary material. Not even sure there is still an Adobe magazine. Is that now called Layers?
Reading up on bookmarks, buttons and hyperlinks this morning. If I complete my template today, I'll put it up later. -
Want to Create View as per Condition Fires After Parameter Form.
Hi ..
I want to create a report from a view,and that view would create after parameter form of that
report.
Example..
I want to select max(sal) of each Dept.where employee hired between 1-jan-2007 and 31-jul-2007'
I want when i Passes dates in Parameter FOrm
a view i.e select empno,deptno,sal, from emp created.
that means that view contains only data about that certain period
SO in Report Query i can write
select deptno,max(sal) from vw_employee
group by deptno.
This is just an example....my real problem is very hard and only can be done by doing create a view as per given dates in Report Parameter Form.
Waiting for Reply
Regards
Danish HayderWrong ideea.
You should have the parameters in the report's query:
select empno,deptno,sal, from emp where hired between :p_start_date and :p_end_date
Why do you want to create a view in the report, seeing that it's best to use parameters.
Moreover, think that the oracle user running the report would have to have the priviledges to create views, which may not be good security policy.
Still, if you insist on creating the view when running the report, then you'd better create the view from a stored procedure, that would receive as parameter the SQL select for creating the view.
So, you'd have the stored procedure:
proc_view(p_select in varchar2, p_view_name in varchar2) is
begin
execute immediate 'create or replace view '||p)view_name||' as '||p_select;
end;
You then would compose the select in the afterpform trigger and call the proc_view procedure.
Note that I did not allow proc_view to execute immediate any SQL one would pass, for that would be really dangerous. What if one would pass to the procedure executing dynamic SQL the following: 'drop table my_table cascade constraints'? -
I have an hd movie on final cut pro x; i want to create an sd disk of that movie. compressor created 2 files: dolby.... and mpeg2. How do I get these files burned to disc to create my sd movie?
These are elementary streams and they would be used by DVD authoring apps that use them for reasons like foreign language capability. Examples would be DVD Studio Pro, Adobe Encore, Toast.
The most straightforward way to burn your DVD is either to use the Share feature in FCP or the Batch Template feature in Compressor.
If you can find a boxed copy of iLife (try Amazon), it should have iDVD as part of the suite of apps. iDVD offers far more complete authoring capability than FCP or C4. iDVD doesn't work with elementary streams; you'd just drag in your HD movie and you'd be good to go.
Good lluck.
Russ -
I want to create a form that I can change at an instance that will store the information without replacing it: Here are examples of what i have:
This is the form: The True/False in column B are actually check boxes
Date
Job Name
Start
End
Hours Worked
Per Diem
Wednesday, Mar 5, 2014
Duke University
7:30 PM
2:30 AM
7.00
Arellano, Paul
TRUE
Wednesday, Mar 5, 2014
Duke University
7:30 PM
2:30 AM
7.00
0.00
Blackwell, Zach
FALSE
Christian, Charles
TRUE
Wednesday, Mar 5, 2014
Duke University
7:30 PM
2:30 AM
7.00
0.00
Christian, John
FALSE
Currence, John
FALSE
Curtis, Brandon
FALSE
Hawkins, Tyre
FALSE
King, Corey
FALSE
Nunez, Jose
FALSE
Rangel, Antonio
FALSE
Rice, Eric
FALSE
Salgado, Ricardo
FALSE
and the sheet that the index to looks like:
Saturday, Mar 15, 2014
Rice, Eric
Providence College
9:00 AM
7:30 PM
10.50
1
Saturday, Mar 15, 2014
Rice, Eric
Virginia Beach
7:30 PM
2:30 AM
7.00
Saturday, Mar 15, 2014
Salgado, Ricardo
0.00
Sunday, Mar 16, 2014
Arellano, Paul
Providence College
7:00 AM
8:00 PM
13.00
1
Sunday, Mar 16, 2014
Blackwell, Zach
0.00
Sunday, Mar 16, 2014
Christian, Charles
0.00
Sunday, Mar 16, 2014
Christian, John
0.00
Sunday, Mar 16, 2014
Currence, John
Providence College
7:00 AM
8:00 PM
13.00
1
Sunday, Mar 16, 2014
Curtis, Brandon
0.00
I want to be able to fill out the form and it place itself into Sheet 1 without changing everytime. I can index the array from the form, but it changes everytime.You think it would be the other way around.
Just speculation, but forms probably came to iOS first because of likely use for data entry in the field that syncs back to the Mac. On a small screen with a touch interface, forms make inputing values easier.
On the Mac, with its bigger screen, typing directly into a data table often works well enough.
SG -
Want to create a module pool pr by se38..
hi everyone.. I want to create a module pool program by SE38 tr code n going by modular programm rather than executable pr..can anyone tell me from very begining how to do this... also send me screenshots regarding this or link..plz....
Hi Shekhar,
REPORT ZBHMOD1 .
DATA:OKCODE1 LIKE SY-UCOMM,
OKCODE2 LIKE SY-UCOMM.
DATA:N1(10) TYPE N,N2(10) TYPE N,RES(12) TYPE N.
MODULE USER_COMMAND_1000 INPUT.
CASE OKCODE1.
WHEN 'NEXT'.
RES = N1 + N2.
SET SCREEN 1001.
WHEN 'CLEA'.
CLEAR:N1,N2.
WHEN 'BACK'.
SET SCREEN '0'.
ENDCASE.
ENDMODULE. " USER_COMMAND_1000 INPUT
MODULE STATUS_1000 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'TIT1'.
ENDMODULE. " STATUS_1000 OUTPUT
MODULE USER_COMMAND_1001 INPUT.
CASE OKCODE2.
WHEN 'BACK'.
SET SCREEN 1000.
ENDCASE.
ENDMODULE. " USER_COMMAND_1001 INPUT
MODULE STATUS_1001 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'TIT2'.
ENDMODULE. " STATUS_1001 OUTPUT
FLOW LOGIC:
PROCESS BEFORE OUTPUT.
MODULE STATUS_1000.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_1000.
PROCESS BEFORE OUTPUT.
MODULE STATUS_1001.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_1001.
2)
REPORT ZBHMOD2.
DATA: OKCODE1 TYPE SY-UCOMM,
OKCODE2 TYPE SY-UCOMM,
ENAME(10) TYPE C,
DNAME(10) TYPE C.
MODULE STATUS_1000 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'TIT1'.
ENDMODULE. " STATUS_1000 OUTPUT
MODULE STATUS_1001 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'TIT2'.
ENDMODULE. " STATUS_1001 OUTPUT
MODULE USER_COMMAND_1000 INPUT.
CASE OKCODE1.
WHEN 'BACK'.
SET SCREEN '0'.
WHEN 'NEXT'.
DNAME = ENAME.
SET SCREEN '1001'.
ENDCASE.
ENDMODULE. " USER_COMMAND_1000 INPUT
MODULE USER_COMMAND_1001 INPUT.
CASE OKCODE2.
WHEN 'BACK'.
SET SCREEN '1000'.
ENDCASE.
ENDMODULE. " USER_COMMAND_1001 INPUT
FORM ON_CTMENU_FORM USING ZDEMO1 TYPE REF TO CL_CTMENU.
CALL METHOD ZDEMO1->LOAD_GUI_STATUS
EXPORTING
PROGRAM = 'ZDEMO1'
STATUS = 'ZDEMO1'
MENU = ZDEMO1.
ENDFORM. " ON_CTMENU_FORM
FLOW LOGIC:
PROCESS BEFORE OUTPUT.
MODULE STATUS_1000.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_1000.
PROCESS BEFORE OUTPUT.
MODULE STATUS_1001.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_1001.
Every Screen has a pbo and a pai.
Screen elements are the textbox, buttons, radio buttons and check boxes .....
If we want to pass data from a abap program to a screen element, we have to create a variable with the name we have given in the screen.So whatever the value is present in that variable is reflected on to the screen element.
Here is an example :
Using subscreens and some of the screen elements
REPORT demo_dynpro_subscreens.
DATA: ok_code TYPE sy-ucomm,
save_ok TYPE sy-ucomm.
DATA: number1(4) TYPE n VALUE '0110',
number2(4) TYPE n VALUE '0130',
field(10) TYPE c, field1(10) TYPE c, field2(10) TYPE c.
CALL SCREEN 100.
MODULE status_100 OUTPUT.
SET PF-STATUS 'SCREEN_100'.
ENDMODULE.
MODULE fill_0110 OUTPUT.
field = 'Eingabe 1'(001).
ENDMODULE.
MODULE fill_0120 OUTPUT.
field = field1.
ENDMODULE.
MODULE fill_0130 OUTPUT.
field = 'Eingabe 2'(002).
ENDMODULE.
MODULE fill_0140 OUTPUT.
field = field2.
ENDMODULE.
MODULE cancel INPUT.
LEAVE PROGRAM.
ENDMODULE.
MODULE save_ok INPUT.
save_ok = ok_code.
CLEAR ok_code.
ENDMODULE.
MODULE user_command_0110 INPUT.
IF save_ok = 'OK1'.
number1 = '0120'.
field1 = field.
CLEAR field.
ENDIF.
ENDMODULE.
MODULE user_command_0130 INPUT.
IF save_ok = 'OK2'.
number2 = '0140'.
field2 = field.
CLEAR field.
ENDIF.
ENDMODULE.
MODULE user_command_100 INPUT.
CASE save_ok.
WHEN 'SUB1'.
number1 = '0110'.
WHEN 'SUB2'.
number1 = '0120'.
CLEAR field1.
WHEN 'SUB3'.
number2 = '0130'.
WHEN 'SUB4'.
number2 = '0140'.
CLEAR field2.
ENDCASE.
ENDMODULE.
flow logic for screen 100
PROCESS BEFORE OUTPUT.
MODULE STATUS_100.
CALL SUBSCREEN: AREA1 INCLUDING SY-REPID NUMBER1,
AREA2 INCLUDING SY-REPID NUMBER2.
PROCESS AFTER INPUT.
MODULE CANCEL AT EXIT-COMMAND.
MODULE SAVE_OK.
CALL SUBSCREEN: AREA1,
AREA2.
MODULE USER_COMMAND_100.
flow logic for screen 110
PROCESS BEFORE OUTPUT.
MODULE FILL_0110.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0110.
flow logic for screen 120
PROCESS BEFORE OUTPUT.
MODULE FILL_0120.
PROCESS AFTER INPUT.
flow logic for screen 130
PROCESS BEFORE OUTPUT.
MODULE FILL_0130.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0130.
flow logic for screen 140
PROCESS BEFORE OUTPUT.
MODULE FILL_0140.
PROCESS AFTER INPUT.
Kindly Reward Points If You Found The Reply Helpful,
Cheers,
Chaitanya. -
I want to create a SWF for my small web site. How do I do this? Do I need to purchase "Flash Builder"?
Hi Developer_46038,
if for example all the properties and object are stated as list, i think there is a tool that overcome cross list.
http://listrollup.codeplex.com/
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/13a51be5-4007-46e8-bbb2-5e04320dfebd/cross-list-webpart?forum=sharepointcustomizationlegacy
you can also using dataview webpart to show the cross lists:
http://office.microsoft.com/en-us/sharepoint-designer-help/create-a-data-view-HA010094804.aspx
http://office.microsoft.com/en-us/sharepoint-designer-help/connect-two-data-views-HA010169133.aspx
3rd party: http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2009/03/11/relational-database-capabilities-for-sharepoint-lists-cross-list-web-part.aspx
but i am not quite sure how crystal report will do, if you can make the crystal report as also list, i think its possible,
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/8247edf5-dee8-49d8-b7ee-9e49bfd97b9b/crystal-report-in-sharepoint-2010-webpart?forum=sharepointdevelopmentprevious
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
I want to create a interaractive reporting in that i want to create 3 repor
I want to create a interaractive reporting in that i want to create 3 reporrs...I created one interactive report,,after than can I use at-line selection again or else plz help me in thsi reg ..
Hello,
You can write at line-selection one time only.
After that depending upon the system field you can get the reports.
For example , the sample code will be like this,
At line-selection.
case sy-lsind.
when 1 .
/ Code for first secodary list /
when 2.
/Code for the second list/
when 3. / code for the third list/
when 20 . / code for the 20 th list/
endcase
Regards,
Satya -
Want to create dynamic link with ActionEvent
Hi all,
I am developing an application in JSF. I want to create links dynamically with their action event. I can create links dynamically, but I don't know how to provide actionEvent OR actionListener to those links.
Any help will be appreciated. ( If possible, give me an example / sample code. )
Thanks in advance,
JSF GEEKS
Edited by: jsfgeeks on Nov 24, 2009 10:15 AMcommandLink?
What do you mean when you say: "I want to create links dynamically with their action event."
Do you need parameters? Or different action events?
Maybe you are looking for
-
Shuttle oddity - Not populating all values
APEX 4.1 Oracle 11g I have a form where you select a department, P37_PROD_DEPT_CD, select list Always replacing any existing value in session state Static Assignment <code> select PROD_DEPT_CD || ' ' || PROD_DEPT_NM d, PROD_DEPT_HIER_CD r from PRODUC
-
Get ROWIDs from Interactive Report
Hi, I'm using an interactive report but I'd like to use the rows returned in a process so is it possible to get the rowsids that have been selected and make up the filtered report Thanks Andy
-
10.5.8 server open directoy replica to master
Hello, I'm using a XServe runnig 10.5.8 Server as open directory master and another Xserve also runnig 10.5.8 Server as open directoy replica. Now I want to turn off the master and the replica as new Master. If I want to switch from replica to master
-
Used vs new MacBook Pro?
I need to buy a new machine and am considering a two-year-old, 17" MacBook Pro, with the Leopard OS. (I currently work on an iMac G5.) What problems do you foresee in buying a two-year-old machine? What are pros and cons of it vs. a new machine with
-
I can't import videos into Photoshop CS6?
I just ripped a whole load of Doctor Who episodes, and I have been wanting to make .gifs of them, but every time I try to import them into Photoshop (file > import > video frames into layers (how I normally make gifs)), I get a message saying, "Could