Академический Документы
Профессиональный Документы
Культура Документы
Step 1: Open Template.fmb with form builder save it with another name(XXMZ_Query_Find.fmb) and give the module name as XXMZ_QUERY_FIND.
Step2 : Delete BLOCKNAME from Window,Canvas and Data Block and delete DETAILBLOCK from Data Block.
Step 3: Create window(DEPT_WINDOW) apply subclass information as WINDOW and give the title.
Step 4: Give this window name in PRE-FORM trigger (Form Level) and give this window name in in APP_CUSTOM body Program_Unit( in place of window name).
Step 6: Now Create Data block(DEPT) with Wizard or Manual ,apply subclass information to the block as BLOCK and also apply subclass information to the items as TEXT_ITEM.
Step 7:Step 5: Drag QUERY_FIND Object Group from APPSTAND.fmb to Our Form(XXMZ_Query_Find.fmb) Object Group. Here we get window,canvas,datablock will come automatically with the name QUERY_FIND.
Step 8: Apply subclass information to Window,Canvas as well as Block. And drag these to first position as shown in below.
Give Block name as DEPT in WHEN-BUTTON-PRESSED trigger of New and Find Button. Compile and close.
Step 10: Next create Control item in the Query_Find Block apply subclass information as TEXT_ITEM and attach that item to the QUERY_FIND canvas.
Step 9:
Next drag the QUERY_FIND trigger from APPSTAND.fmb and Place it in DEPT block level trigger.
<Find window>,
APP_FIND.QUERY_FIND(DEPT_WINDOW, QUERY_FIND,'QUERY_FIND);
Step 10:
:parameter.G_query_find := FALSE;
END IF;
COPY(:QUERY_FIND.DEPTNO, DEPT.DEPTNO);
:parameter.G_query_find := FALSE;
END IF;
Step 11: In the form module(XXMZ_Query_Find) give the first navigation block as QUERY_FIND. In the QUERY_FIND datablock give next navigation block as DEPT.
Step 12: Finally Save and move your form from our Local Machine to CUSTOM_TOP using WINSCP tool.
Step 14: