Plz help selection screen desplay issue
Hi experts
plz help
small query
i have two fields
dateto and date from in my selection screen
i ill have to use parameter for both the feilds i cannot use select-options here
but wen i m using parameter its coming line by line
like
p_dateto "i/o feild"
but i want like we get in select option
p_dateto "i/o feild" p_datfrm "i/o feild"
plz help me doin this .
thanx i9n advance.
hey,
why dont u use select-options?
but if u want parameters only,
u can do like below.
selection-screen begin of screen <scrno>.
selecion-screen begin of line.
parameters: date_from type sy-datum,
date_to type sy-datum.
selection-screen end of line.
selection-screen end of screen <scrno>.
Message was edited by:
Hymavathi Oruganti
Similar Messages
-
Plz help me solving following issues
Hi SD experts,
Plz help me solving following issues
1) What do you mean by POD(proof of delivery) what is the use of pod? What are the con figuration you done in your project?
2) When I am punching order after entering data like material No and quantity system should pop-up a screen of delivery date and status and invoice data and details, How can we configure this?
3) Client requirement is he want horizon period in days format. but standard sap system It's in months format(gray mode). how can we change months to days?
4) Quotation has been created for product-D, 10 quantities, sales order is created with reference to the quotation, system copies 10 quantities in sales order. How do you restrict in sales order end user should not change quantities, system should not allow for changes by en user?
5) when i creating the sales order the system show error "No customer master record exist for sold to party". How to rectify it?
suitable solutions will be rewarded
thansx & regardshi,
Proof of delivery (POD) is an instrument involved in business processes in which an invoice is issued only after the customer has confirmed the delivery's arrival. In addition to the proof of delivery itself, you can also record the POD date, POD time, the actual quantity that arrived and the reason for possible differences in quantities. This is especially important for deliveries where the delivery quantity varies because of the nature of the goods or for which the exact delivery quantity is unknown from the start.
You are now in a position to issue an accurate invoice based on the customer's confirmation of goods received. You no longer need to create credit memos. The reasons for deviation that occur most frequently in "real world" scenarios such as stock shrinkage, theft, certain characteristics of goods (volatility, for example), and transportation damage are recorded and analyzed in the system. This analysis is especially valuable when you are negotiating with forwarding agents, vendors, or customers, since all deviations can be reflected
With regards
Rajesh -
At selection- screen output issue
Hi,
I have a issue regarding at selection-screen output event with radio buttons,
Fields are like,
Block B1
RB1
Block B2
RB2
field 1 (Check box)
field 2 (Check box)
User can select one radio button at a time. If the user clicks on radio button RB1 then fields under Block B2 will be disabled. If user click on RB2 field 1 and fields 2 will be input enabled. Could you please give the solution asap
Note: Radio buttons are in different selection screen blocks.Check this code -
*SELECTION-SCREEN BEGIN OF BLOCK B WITH FRAME.
*PARAMETERS:
*Pi1 TYPE C RADIOBUTTON GROUP G1 DEFAULT 'X',
*Pi2 TYPE CHAR25,
*Pi3 TYPE C RADIOBUTTON GROUP G1,
*Pi4 TYPE CHAR25.
*SELECTION-SCREEN END OF BLOCK B.
*PARAMETERS check AS CHECKBOX.
*PARAMETERS show_all AS CHECKBOX USER-COMMAND flag.
*SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
*PARAMETERS: ip1(10) TYPE c,
ip2(10) TYPE c,
ip3(10) TYPE c.
*SELECTION-SCREEN END OF BLOCK b1.
*SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
*PARAMETERS: ip4(10) TYPE c MODIF ID bl2,
ip5(10) TYPE c MODIF ID bl2,
ip6(10) TYPE c MODIF ID bl2.
*SELECTION-SCREEN END OF BLOCK b2.
*AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF show_all <> 'X' AND
screen-group1 = 'BL2'.
screen-active = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Regards,
Amit Khare
reward all helpful replies. -
Selection screen regeneration issue in Module pool
Hi experts,
I have designed a module pool in which i have included a selection screen as sub screen , and for the scenario i need to give custom f4 help for the selection field for that i have included logic ,My issue is when ever i am changing other code in the programs (other screen logic) the selection screen is reverting back to normal ...again i have to do the flow logic and screen change of selection screen.
Suggest me how i can avoid this .
Regards,
Siva Prasad.and for the scenario i need to give custom f4 help for the selection field for that i have included logic
was the error, use some AT SELECTION-SCREEN ON VALUE-REQUEST FOR {para|selcrit-low|selcrit-high} or PARAMETERS/SELECT-OPTIONS MATCHCODE OBJECT search_help statement, and your problem will vanish... (Edition of a generated object is hardly ever a good idea and never good practice)
Regards,
Raymond -
am not able to log in to my user account after installation of OSXLion,have called up the support centre many times,but was left in vain ...i belief its a simple problem ,but why is apple support center not able to help me out ...have given them all the required information with respect to everything...somebody plz help me to log in as am not able to access my docs and do any work...
My phone works all fine when am in mumbai but as soon s i leave mumbai I am not able to make an otgoing call
This is entirely a carrier issue. If your carrier (airtel) doesn't provide service outside of Mumbia, this has nothing to do with your iPhone.
i feel i need to change my brand
This is a user-to-user tech support forum, not Apple. No one here cares at all about your threats.
NEVER post personal info in this public forum -
How to pass the default value to search help selection screen
Hi
I need to push a certain value as a default value based on a condition to the slection screen of search help in web UI.
Could you please let me know how can we do this?
When we try to open the 'F4' help in web ui then it should populate a certain value as a default value to the selection screen of this 'F4' help. We will get this default value based on condition.
Regards
AnilHi Arun
I'm using SE11 search help.I'm giving you my code for your reference here.
DATA:
ls_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
lt_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
lr_qs TYPE REF TO cl_crm_bol_dquery_service,
lr_current TYPE REF TO if_bol_bo_property_access,
lv_category TYPE STRING.
ls_map-context_attr = 'struct.zzattr_i_1'.
ls_map-f4_attr = 'ATTRIBUTE'.
APPEND ls_map TO: lt_inmap,lt_outmap.
CLEAR ls_map.
ls_map-context_attr = 'struct.zzattr_i_1'.
ls_map-f4_attr = 'SERVICE_LINE'.
APPEND ls_map TO: lt_inmap.
CREATE OBJECT rv_valuehelp_descriptor
TYPE
cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = 'ZATTR1'
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
iv_trigger_submit = abap_true
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.
Here 'ZATTR1' is my search help name in SE11 and the field which is having 'F4' help is 'ATTRIBUTE'.
Now when I press 'F4' on 'ATTRIBUTE' then it will give a popup and this popup is having 3 fields..
1.'ATTRIBUTE'
2.'SERVICE_LINE'
3.Description of 'SERVICE_LINE' and hence by pressing 'F4' i should get a value in the field 'SERVICE_LINE' based on
a condition.
However, if there is a value for ATTRIBUTE on the screen and when we press 'F4' on this then in the popup the value of
ATTRIBUTE which is there on the screen is appearing in the 'ATTRIBUTE' field and the same value is being copied to
'SERVICE_LINE' field in the popup.
Please guide me how do we populate the value to 'SERVICE_LINE' field inside the search help popup of 'ATTRIBUTE'.
Best Regards
Anil -
Report Painter Select Screen Character Issue
I have a report make from report painter. In the select screen, it supposed to show in ficical year, accounting periond, controllong area, for selection, but the character could not be shown correctly,
it show as "#####".
Question: How can I fix the charater issue?
Thank you in advance.hi
set the optimize column width = 'X" -
Search Help Selection Screen Window Title
Hi Experts,
I have created a search help in se11 with import as well as export parameter.
While I press F4 on the field to which it is assigned then Search Help seelction screen opens up with a Window Tilte 'Sede Tecnica(1)' i.e. some standard text.
Can I change this F4 window title to user custom label?
Thanks
DepeshHi Depesh
While creating the search help exit following parameters are mandatory.
Changing
SHLP TYPE SHLP_DESCR
CALLCONTROL TYPE DDSHF4CTRL
Tables
SHLP_TAB TYPE SHLP_DESCT
RECORD_TAB LIKE SEAHLPRES
Regards
Bala -
Variable Selection Screen - Text issue
Hi,
In BEx Query, I have a variable in the Var.selection screen and I cannot have the text displaying corresponding to one of the Variable after providing the value and click the button "Check".
- I have checked "Provider-Specific Properties" in RSA1 and is ok. and display attributes in Query Designer as well.
Please advice on this.
Best regards,
VenkataHi,
Can you please check whether text data is loaded or not?
Check selections under Business explorer tab of a characterstic.
Hope it is useful.
Thanks,
Ashok -
Radio button on selection screen event issue.
Hi all,
I have two radio buttons and two input mandatory fields on selection screen.
- If first radio button selected then some value 'ABC' should fill in second input field.(because it is a mandatory field)
- If second radio button selected then some value 'XYZ' should fill in first input field..(because it is a mandatory field)
If suppose, user deletes first input value (ABC) and selects second Radio then, ABC to automatically display on first input field as this is mandatory. Same like,If he deletes second input field value and selects first radio, it should display XYZ in second input field. (As these fields are mandatory and requires some value).
I tried with below code, but not working. Appreciate your quick response.
PARAMETER ppart RADIOBUTTON GROUP src DEFAULT 'X'.
SELECT-OPTIONS p_sndprn FOR edoc_stat-sndprn OBLIGATORY DEFAULT 'ABC'.
PARAMETER psndr RADIOBUTTON GROUP src.
SELECT-OPTIONS p_sendid FOR zabc-sndlad OBLIGATORY DEFAULT 'XYZ'.
AT SELECTION-SCREEN ON RADIOBUTTON GROUP src.
IF SSCRFIELDS-UCOMM = 'PRGP'.
IF ppart EQ 'X'.
P_SENDID-LOW = 'XYZ'.
ELSE.
P_SNDPRN-LOW = 'ABC'.
ENDIF.
ENDIF.
Thanks,
Ranjith.Search the forum... don't make fields obligatory and use event AT SELECTION-SCREEN OUTPUT.
-
i have a requirement where i have to customize the layout dynamically in the report output.the layout should be changed as per the selection screen field entry.is this possible?
Hi,
Check this one, How it is changing dynamically
TABLES : mara,marc.
************************Selection screen fields******************************************
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS : p_meth1 RADIOBUTTON GROUP g1 USER-COMMAND g1,
p_meth2 RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK matnr
WITH FRAME TITLE text-002.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS : so_matnr FOR marc-matnr MODIF ID m1.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS : so_werks FOR marc-werks MODIF ID m1 .
SELECTION-SCREEN END OF BLOCK matnr.
SELECTION-SCREEN BEGIN OF BLOCK file WITH FRAME TITLE text-003.
SELECTION-SCREEN SKIP 1.
PARAMETERS: p_fpath TYPE ibipparms-path MODIF ID m2 LOWER CASE.
SELECTION-SCREEN END OF BLOCK file.
SELECTION-SCREEN BEGIN OF BLOCK date WITH FRAME TITLE text-004.
SELECTION-SCREEN SKIP 1.
PARAMETERS : p_date TYPE datuv. "CCT51576.
SELECTION-SCREEN END OF BLOCK date.
***********************Screen Validation*********************************************
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
CASE screen-group1.
WHEN 'M1'.
IF p_meth1 <> 'X'.
screen-active = 1.
ENDIF.
IF p_meth2 = 'X'.
screen-active = 0.
ENDIF.
WHEN 'M2'.
IF p_meth2 = 'X'.
screen-active = 1.
ELSE.
screen-active = 0.
ENDIF.
IF p_meth1 = 'X'.
screen-active = 0.
ENDIF.
ENDCASE.
MODIFY SCREEN.
ENDLOOP. -
Plz help me! AdobeReader9 Issues getting the pic to go to full screen
PLEASE ANSWER IF YOU CAN BE OF ANY HELP!!!
I am not the most computer savy person, but I can do the basic things I need to. I have always been able to use the full screen option on Adobe Reader 9 when viewing free movies at [url removed by host] I have not used it in a couple weeks. As of today, I am unable to use the full screen option on any movies I play using Adobe Reader 9.
Is this a system wide problem?
Did Adobe take away this option from non paying users such as myself?
Am I the only one having this problem, or are others also all of a sudden experiencing this?Reader has nothing to do with viewing movies online. Perhaps you are watching Flash-based movies. If this is the case you can re-install the Flash Player. It is available for download from the main Adobe website: www.adobe.com.
-
Plz help to solve my issue its urgent
Hi,
my user uploaded invoice,debit memos and credit memos transactions.
after uploading she had done auto invoice.
invoice and debimemos auto invoice was completed successfully but credit memos she got an error.
again she did auto invoice for credit memos,then it was completed but with zero records.
actually there are two records for credit memos.
please help me.
this is an urgent issue.
im getting error due to auto invoice
APP-AR-11526: ORA-01427: single-row subquery returns more than one row
UPDATE RA_INTERFACE_LINES L1
SET REQUEST_ID = :b1,
LAST_UPDATE_DATE = !
APP-AR-11526: 3966142/ar/src/autoinv/raamil.lpc 1333
UPDATE RA_INTERFACE_LINES L1
SET REQUEST_ID = :b1,
LAST_UPDATE_DATE = sysdate,
LAST_UPDATED_BY = :b2,
LAST_UPDATE_LOGIN = :b3,
CUSTOMER_TRX_ID = NULL,
INTERFACE_LINE_ID = NVL(INTERFACE_LINE_ID,
RA_CUSTOMER_TRX_LINES_S.NEXTVAL),
SET_OF_BOOKS_ID = NVL(SET_OF_BOOKS_ID, :b4),
LINK_TO_LINE_ID =
SELECT INTERFACE_LINE_ID
FROM RA_INTERFACE_LINES L2
WHERE L2.REQUEST_ID = :b5
AND L2.INTERFACE_LINE_CONTEXT = 'TTAS'
AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
AND L1.LINK_TO_LINE_ATTRIBUTE2 = L2.INTERFACE_LINE_ATTRIBUTE2
AND L1.LINK_TO_LINE_ATTRIBUTE3 = L2.INTERFACE_LINE_ATTRIBUTE3
AND L1.LINK_TO_LINE_ATTRIBUTE5 = L2.INTERFACE_LINE_ATTRIBUTE5
WHERE NVL(INTERFACE_STATUS, '~') != 'P'
AND (REQUEST_ID IS NULL OR REQUEST_ID IN (:b6)
AND EXISTS
SELECT 'x'
FROM RA_INTERFACE_LINES L2
WHERE L2.REQUEST_ID = :b7
AND L2.INTERFACE_LINE_CONTEXT = 'TTAS'
AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
AND L1.LINK_TO_LINE_ATTRIBUTE2 = L2.INTERFACE_LINE_ATTRIBUTE2
AND L1.LINK_TO_LINE_ATTRIBUTE3 = L2.INTERFACE_LINE_ATTRIBUTE3
AND L1.LINK_TO_LINE_ATTRIBUTE5 = L2.INTERFACE_LINE_ATTRIBUTE5
Error calling raamil()
Error calling raapft()
raafds()+ Current system time is 17-DEC-2008 15:42:22
raafeb()+ Current system time is 17-DEC-2008 15:42:22
raafeb()- Current system time is 17-DEC-2008 15:42:22
raafds()- Current system time is 17-DEC-2008 15:42:22
Start of log messages from FND_FILE
End of log messages from FND_FILE
No completion options were requested.
Concurrent program returned no reason for failure.
Concurrent request completed
Current system time is 17-DEC-2008 15:42:22
this im getting because in the query im must add one line l2.mtl_system_items_seg1=l1.mtl_system_items_seg1
but this is autoinvoice program and the executable method for this program is SPAWNED and in d:\oracle\prodappl\ar\11.5.0\bin\raxtrx.exe or raxtrx.map
but nopw how can i modify the query please help me.
please its an urgent issue.
Edited by: user649793 on Dec 18, 2008 8:01 PMYou don't need to keep posting different threads.
There's nothing we users here can do for you if you brought your phone into a LEGITIMATE authorized service center in your area and they're telling you there is no problem.
Contact Apple customer service and see if they can do anything for you. -
Plz help me on below issue.
Hi all,
Below procedure used to generate monthly report.Now it's taking more than 12 hr's for 1 month data.Could you please some one give me new idea for re write the procedure or any tips for reducing time.As it is procedure i can't create explain plan.
Below code 1/4 of the procedure.I unable to post more than this.
Database Version :10.2.0.3.0
/* Formatted on 10/8/2009 3:03:59 PM (QP5 v5.115.810.9015) */
CREATE OR REPLACE PROCEDURE "SP_MONTHLY_DUMP" (
AD_FROM_DT IN DATE DEFAULT NULL ,
AD_TO_DT IN DATE DEFAULT NULL
IS
LS_REP_FILE UTL_FILE.FILE_TYPE;
LS_RESTART_FLAG VARCHAR2 (20) := NULL;
LS_RESUME_FLAG VARCHAR2 (20) := NULL;
LS_RESTART_POSITION VARCHAR2 (500) := NULL;
LN_CNT NUMBER := NULL;
LN_DATE_CNT NUMBER := NULL;
TYPE RES_TYPE_DET_ID IS RECORD (
TEST_SESSION_ID TEST_SESSION.TEST_SESSION_ID%TYPE,
TEST_TYPE_ID TEST_TYPE.TEST_TYPE_ID%TYPE,
TEST_DETAIL_ID TEST_SESSION_DETAIL.TEST_DETAIL_ID%TYPE,
TEST_SESSION_DETAIL_ID TEST_SESSION_DETAIL.TEST_SESSION_DETAIL_ID%TYPE
TYPE TY_TYPE_DET_ID
IS
TABLE OF RES_TYPE_DET_ID
INDEX BY BINARY_INTEGER;
TB_TYPE_DET_ID TY_TYPE_DET_ID;
TYPE RES_QUEST_ID
IS
RECORD (QUESTION_ID COMPANINON_STUDENT_RESPONSE.QUESTION_ID%TYPE);
TYPE TY_QUEST_ID
IS
TABLE OF RES_QUEST_ID
INDEX BY BINARY_INTEGER;
TB_QUEST_ID TY_QUEST_ID;
TYPE RES_PROMPT_ID IS RECORD (
WRITEPLACER_PROMPTS_ID WRITEPLACER_ESSAY_RESPONSE.WRITEPLACER_PROMPTS_ID%TYPE,
WRITEPLACER_STATUS_ID WRITEPLACER_ESSAY_RESPONSE.WRITEPLACER_STATUS_ID%TYPE,
WRITEPLACER_PROMPT_TYPE WRITEPLACER_PROMPTS.WRITEPLACER_PROMPT_TYPE%TYPE,
STATUS_TYPE WRITEPLACER_PKT_SUBMISSION.STATUS_TYPE%TYPE
TYPE TY_PROMPTS_ID
IS
TABLE OF RES_PROMPT_ID
INDEX BY BINARY_INTEGER;
TV_PROMPTS_ID TY_PROMPTS_ID;
TYPE RES_RESPONSE_ID
IS
RECORD (ITEM_RESPONSE_ID CAT_ITEM_USER_RESPONSE.ITEM_RESPONSE_ID%TYPE);
TYPE TY_RESPONSE_ID
IS
TABLE OF RES_RESPONSE_ID
INDEX BY BINARY_INTEGER;
TV_RESPONSE_ID TY_RESPONSE_ID;
TYPE TY_COMMA_TBL
IS
TABLE OF VARCHAR2 (4000)
INDEX BY PLS_INTEGER;
TV_COMMA_TBL TY_COMMA_TBL;
TV_POOL_TBL TY_COMMA_TBL;
TYPE TY_COUNT_TBL
IS
TABLE OF VARCHAR2 (4000)
INDEX BY PLS_INTEGER;
TV_COUNT_TBL TY_COUNT_TBL;
BEGIN
/* DATE RANGE MANUPULATION IF THE INPUT PARAMETERS IS NULL*/
IF AD_FROM_DT IS NULL AND AD_TO_DT IS NULL
THEN
SELECT TRUNC (TRUNC (SYSDATE, 'MM') - 1, 'MM'),
TRUNC (SYSDATE, 'MM') - 1
INTO LD_FROM_DT, LD_TO_DT
FROM DUAL;
ELSE
LD_FROM_DT := AD_FROM_DT;
LD_TO_DT := AD_TO_DT;
END IF;
DBMS_OUTPUT.PUT_LINE( 'THE REPORT GENERATED FOR THE DATE RANGE FROM'
|| LD_FROM_DT
|| 'TO'
|| LD_TO_DT);
LS_DT_FORMAT := 'DD-MON-YY';
LS_REP_FILE_NM :=
'MONTHLY_DATA_DUMP'
|| '_'
|| TO_CHAR (LD_FROM_DT, 'YYYYMM')
|| '_'
|| TO_CHAR (LD_TO_DT, 'YYYYMM')
|| '_'
|| TO_CHAR (SYSDATE, 'DDMONYY_HH24MISS')
|| '.CSV';
DBMS_OUTPUT.PUT_LINE ('REPORT NAME IS ' || LS_REP_FILE_NM);
LS_REP_FILE :=
UTL_FILE.FOPEN ('EXTRACT_DIR',
LS_REP_FILE_NM,
'W',
32767);
SELECT (TO_DATE (LD_TO_DT, LS_DT_FORMAT)
- TO_DATE (LD_FROM_DT, LS_DT_FORMAT))
+ 1
INTO LN_DATE_CNT
FROM DUAL;
FOR LN_DT_CNT IN 1 .. LN_DATE_CNT
LOOP
DBMS_OUTPUT.PUT_LINE ('LD_FROM_DT -' || LD_FROM_DT);
TB_TYPE_DET_ID.DELETE;
SELECT D.TEST_SESSION_ID TEST_SESSION_ID,
C.TEST_TYPE_ID TEST_TYPE_ID,
A.TEST_DETAIL_ID TEST_DETAIL_ID,
A.TEST_SESSION_DETAIL_ID TEST_SESSION_DETAIL_ID
BULK COLLECT
INTO TB_TYPE_DET_ID
FROM TEST_SESSION_DETAIL A,
TEST_DETAIL B,
TEST_TYPE C,
TEST_SESSION D
WHERE C.TEST_TYPE_ID = B.TEST_TYPE_ID
AND A.TEST_SESSION_STATUS_ID = 3
AND C.TEST_TYPE_ID IN (1, 2, 6)
AND B.TEST_DETAIL_ID = A.TEST_DETAIL_ID
AND D.TEST_SESSION_ID = A.TEST_SESSION_ID
--AND A.TEST_SESSION_DETAIL_ID IN (320050,2710987,50660,1553303,1267843)
AND TRUNC (A.TEST_END_DATE) >=
TO_DATE (LD_FROM_DT, LS_DT_FORMAT)
AND TRUNC (A.TEST_END_DATE) <=
TO_DATE (LD_FROM_DT, LS_DT_FORMAT)
ORDER BY D.TEST_SESSION_ID, A.TEST_SESSION_DETAIL_ID;
FOR TEST_TYP_ID_CNT IN NVL (TB_TYPE_DET_ID.FIRST, 1) .. NVL (
TB_TYPE_DET_ID.LAST,
0
LOOP
LS_DETAILS := NULL;
LS_DETAILS1 := NULL;
LS_DETAILS2 := NULL;
LS_DETAILS3 := NULL;
LS_DETAILS4 := NULL;
LS_BG := NULL;
BG1 := NULL;
BG2 := NULL;
BG3 := NULL;
BG4 := NULL;
BG5 := NULL;
BG6 := NULL;
BG7 := NULL;
BG8 := NULL;
BG9 := NULL;
BG10 := NULL;
BG11 := NULL;
BG12 := NULL;
BG13 := NULL;
LS_OP1 := NULL;
LS_OP2 := NULL;
LS_OP3 := NULL;
LS_BR := NULL;
LS_FINAL := NULL;
LS_DETAILS5 := NULL;
LS_SCORE1 := NULL;
LS_SCORE2 := NULL;
LS_SCORE3 := NULL;
LS_DET := NULL;
LS_COMP := NULL;
LS_COMP_1 := NULL;
LS_COMP_2 := NULL;
LS_COMP_3 := NULL;
LS_COMP_4 := NULL;
LS_COMP_A := NULL;
LS_DETAILS4_A := NULL;
LS_FINAL_1 := NULL;
LS_SCORE2_A := NULL;
LS_SCORE3_A := NULL;
LS_DETAILS5_A := NULL;
LS_CNT := NULL;
LN_COUNT := NULL;
LS_OP_1 := NULL;
LS_OP_2 := NULL;
LS_OP_3 := NULL;
LS_OP_4 := NULL;
/*PROCESSING THE TEST SESSION WHICH HAS CAT,WRITEPLACER,COMPANION TEST ASMINISTERED */
BEGIN
/*RETRIEVING THE STUDENT INFORMATION */
SELECT NVL (SUBSTR (REPLACE (A.STUDENT_ID, '^', '*'), 1, 20),
|| '^'
|| NVL (
SUBSTR (REPLACE (A.FIRST_NAME, '^', '*'), 1, 100),
|| '^'
|| NVL (
SUBSTR (TRANSLATE (A.LAST_NAME, ',^', '-*'),
1,
100),
|| '^'
|| SUBSTR (REPLACE (A.MIDDLE_NAME, '^', '*'), 1, 1)
|| '^'
|| NVL (SUBSTR (C.INSTITUTION_ID_DISPLAY, 1, 6), ' ')
|| '^'
|| NVL (SUBSTR (C.INSTITUTION_ID_DISPLAY, 1, 10), ' ')
|| '^'
|| NVL (TO_CHAR (A.DOB, 'yyyymmdd'), ' ')
INTO LS_DETAILS
FROM STUDENT A, INSTITUTION C, TEST_SESSION B
WHERE A.INSTITUTION_ID = C.INSTITUTION_ID
AND B.TEST_SESSION_ID =
TB_TYPE_DET_ID (TEST_TYP_ID_CNT).TEST_SESSION_ID
AND A.STUDENT_ID_PK = B.STUDENT_ID_PK;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
LS_DETAILS := '^' || '^' || '^' || '^' || '^' || '^';
WHEN OTHERS
THEN
Sp_Insert_Error_Log (
LS_OBJECT_NAME,
SYSDATE,
'OTHERS_1',
'WHEN OTHERS TRIGGERED' || '-' || SQLERRM
END;
/* FETCHING THE STANDARD BACKGROUND QUESTION RESPONSE*/
FOR BG_QES_CUR
IN (SELECT DISTINCT BG_QUESTION_SEQUENCE, BG_QUESTION_CODE
FROM STANDARD_BG_QUESTION_CODE
UNION
SELECT 13, 'b13'
FROM ITEM
WHERE UIN = 'SBG013'
ORDER BY BG_QUESTION_SEQUENCE)
LOOP
BEGIN
LS_BG := NULL;
SELECT NVL (SUBSTR (MAX (H.BG_RESPONSE_NUMBER), 1, 2), '-3')
INTO LS_BG
FROM BG_QUESTION_USER_RESPONSE G,
STANDARD_BG_QUESTION_CODE H,
BG_SESSION_DETAIL I,
TEST_SESSION B
WHERE G.ITEM_ID = H.ITEM_ID
AND H.BG_REPONSE_TEXT = G.RESPONSE_KEY
AND G.BG_SESSION_DETAIL_ID = I.BG_SESSION_DETAIL_ID
AND I.TEST_SESSION_ID = B.TEST_SESSION_ID
AND H.BG_QUESTION_CODE = BG_QES_CUR.BG_QUESTION_CODE
AND B.TEST_SESSION_ID =
TB_TYPE_DET_ID (
TEST_TYP_ID_CNT
).TEST_SESSION_ID;
IF BG_QES_CUR.BG_QUESTION_CODE = 'b1'
THEN
BG2 := NVL (LS_BG, '-3');
ELSIF BG_QES_CUR.BG_QUESTION_CODE = 'b2'
THEN
BG1 := NVL (LS_BG, '-3');
ELSIF BG_QES_CUR.BG_QUESTION_CODE = 'b3'
THEN
BG3 := NVL (LS_BG, '-3');
ELSIF BG_QES_CUR.BG_QUESTION_CODE = 'b4'
THEN
BG4 := NVL (LS_BG, '-3');
ELSIF BG_QES_CUR.BG_QUESTION_CODE = 'b5'
THEN
BG5 := NVL (LS_BG, '-3');
ELSIF BG_QES_CUR.BG_QUESTION_CODE = 'b6'
THEN
BG6 := NVL (LS_BG, '-3');
ELSIF BG_QES_CUR.BG_QUESTION_CODE = 'b7'
THEN
BG7 := NVL (LS_BG, '-3');
ELSIF BG_QES_CUR.BG_QUESTION_CODE = 'b8'
THEN
BG8 := NVL (LS_BG, '-3');
ELSIF BG_QES_CUR.BG_QUESTION_CODE = 'b9'
THEN
BG9 := NVL (LS_BG, '-3');
ELSIF BG_QES_CUR.BG_QUESTION_CODE = 'b10'
THEN
BG10 := NVL (LS_BG, '-3');
ELSIF BG_QES_CUR.BG_QUESTION_CODE = 'b11'
THEN
BG11 := NVL (LS_BG, '-3');
ELSIF BG_QES_CUR.BG_QUESTION_CODE = 'b12'
THEN
BG12 := NVL (LS_BG, '-3');
END IF;
LS_DETAILS1 :=
BG12
|| '^'
|| BG11
|| '^'
|| BG1
|| '^'
|| BG2
|| '^'
|| BG7
|| '^'
|| BG10
|| '^'
|| BG9
|| '^'
|| BG8
|| '^'
|| BG4
|| '^'
|| BG5
|| '^'
|| BG6
|| '^'
|| BG3;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
LS_DETAILS1 := ' ';
WHEN OTHERS
THEN
Sp_Insert_Error_Log (
LS_OBJECT_NAME,
SYSDATE,
'OTHERS_2',
'WHEN OTHERS TRIGGERED' || '-' || SQLERRM
END;
END LOOP;
BEGIN
/*FETCHING THE RESPONSE FOR MAJOR BACKGROUND QUESTION */
BG13 := 'x';
SELECT CASE
WHEN RESPONSE_KEY = 'Undecided'
THEN
'0'
WHEN RESPONSE_KEY = 'I choose not to answer'
THEN
'1'
WHEN RESPONSE_KEY NOT IN
('Undecided', 'I choose not to answer')
THEN
(SELECT REPLACE (MAJOR_CODE, '^', '*')
FROM MAJOR
WHERE MAJOR_ID = RESPONSE_KEY)
END
INTO BG13
FROM BG_QUESTION_USER_RESPONSE B,
ITEM I,
BG_SESSION_DETAIL G,
TEST_SESSION T
WHERE B.ITEM_ID = I.ITEM_ID
AND B.BG_SESSION_DETAIL_ID = G.BG_SESSION_DETAIL_ID
AND G.TEST_SESSION_ID = T.TEST_SESSION_ID
AND B.ITEM_ID IN (SELECT ITEM_ID
FROM ITEM
WHERE UIN = 'SBG013')
AND G.BG_SESSION_DETAIL_ID IN
(SELECT MAX (BG_SESSION_DETAIL_ID)
FROM BG_SESSION_DETAIL
WHERE TEST_SESSION_ID =
TB_TYPE_DET_ID (
TEST_TYP_ID_CNT
).TEST_SESSION_ID);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
BG13 := 'x';
WHEN OTHERS
THEN
Sp_Insert_Error_Log (
LS_OBJECT_NAME,
SYSDATE,
'OTHERS_3'
|| TB_TYPE_DET_ID (TEST_TYP_ID_CNT).TEST_SESSION_ID,
'WHEN OTHERS TRIGGERED' || '-' || SQLERRM
END;
IF BG13 = 'x'
THEN
LS_BG_1 := -3;
LS_DETAILS2 := LS_DETAILS1 || '^' || LS_BG_1;
ELSE
LS_DETAILS2 := LS_DETAILS1 || '^' || BG13;
END IF;
/* RETRIEVING THE DATA SPECIFIC TO COMPANION TEST*/
IF TB_TYPE_DET_ID (TEST_TYP_ID_CNT).TEST_TYPE_ID = 6
THEN
BEGIN
SELECT NVL (SUBSTR (B.TEST_SESSION_ID, 1, 6), ' ') || '^'
|| NVL (SUBSTR (D.TEST_SESSION_DETAIL_ID, 1, 15),
|| '^'
|| NVL (
TRANSLATE (
SUBSTR (C.BRANCHING_PROFILE_NAME, 1, 50),
',^',
|| '^'
|| NVL (TO_CHAR (D.TEST_START_DATE, 'yyyymmdd'), ' ')
|| '^'
|| NVL (TO_CHAR (D.TEST_END_DATE, 'yyyymmdd'), ' ')
|| '^'
|| NVL (SUBSTR (A.TEST_ALIAS, 1, 50), ' ')
INTO LS_DET
FROM TEST_DETAIL A,
TEST_SESSION B,
BRANCHING_PROFILE C,
TEST_SESSION_DETAIL D
WHERE A.TEST_DETAIL_ID = D.TEST_DETAIL_ID
AND B.TEST_SESSION_ID = D.TEST_SESSION_ID
AND A.TEST_TYPE_ID =
TB_TYPE_DET_ID (TEST_TYP_ID_CNT).TEST_TYPE_ID
AND B.TEST_SESSION_ID =
TB_TYPE_DET_ID (
TEST_TYP_ID_CNT
).TEST_SESSION_ID
AND B.BRANCHING_PROFILE_ID = C.BRANCHING_PROFILE_ID
AND D.TEST_DETAIL_ID =
TB_TYPE_DET_ID (TEST_TYP_ID_CNT).TEST_DETAIL_ID
AND D.TEST_SESSION_DETAIL_ID =
TB_TYPE_DET_ID (
TEST_TYP_ID_CNT
).TEST_SESSION_DETAIL_ID;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
LS_DETAILS3 := '^' || '^' || '^' || '^' || '^';
WHEN OTHERS
THEN
Sp_Insert_Error_Log (
LS_OBJECT_NAME,
SYSDATE,
'OTHERS_4',
'WHEN OTHERS TRIGGERED' || '-' || SQLERRM
END;
LS_DETAILS3 := LS_DET;
BEGIN
/*RETRIVING THE SCORE DATA FOR COMPANION TEST */
SELECT NVL (SUBSTR (A.COMPANION_FORM, 1, 1), ' ')
|| '^'
|| '^'
|| '^'
|| '^'
|| '^'
|| '^'
|| '^'
|| '^'
|| '^'
|| '^'
|| '^'
|| '^'
|| '^'
|| '^'
|| CASE
WHEN A.SCORE < 20
THEN
20
WHEN A.SCORE > 120
THEN
120
WHEN A.SCORE >= 20 AND A.SCORE <= 120
THEN
ROUND (A.SCORE)
END
|| '^'
|| CASE
WHEN A.SCORE < 20
THEN
20
WHEN A.SCORE > 120
THEN
120
WHEN A.SCORE >= 20 AND A.SCORE <= 120
THEN
ROUND (A.SCORE, 7)
END
|| '^'
|| '^'
|| '^'
|| '^'
|| '^'
|| '^'
|| CASE
WHEN A.SCORE < 20
THEN
20
WHEN A.SCORE > 120
THEN
120
WHEN A.SCORE >= 20 AND A.SCORE <= 120
THEN
ROUND (A.SCORE, 2)
END
INTO LS_COMP
FROM TEST_SESSION_DETAIL A, TEST_SESSION B
WHERE A.TEST_SESSION_ID =
TB_TYPE_DET_ID (TEST_TYP_ID_CNT).TEST_SESSION_ID
AND A.TEST_SESSION_ID = B.TEST_SESSION_ID
AND A.TEST_DETAIL_ID =
TB_TYPE_DET_ID (TEST_TYP_ID_CNT).TEST_DETAIL_ID
AND A.TEST_SESSION_DETAIL_ID =
TB_TYPE_DET_ID (
TEST_TYP_ID_CNT
).TEST_SESSION_DETAIL_ID;
/* THE QUESTIONS ADMINSTERED IN EACH TEST SESSION IS FETCHED*/
TB_QUEST_ID.DELETE;
SELECT QUESTION_ID
BULK COLLECT
INTO TB_QUEST_ID
FROM TEST_SESSION_DETAIL A,
TEST_SESSION B,
COMPANINON_STUDENT_RESPONSE C
WHERE A.TEST_SESSION_ID =
TB_TYPE_DET_ID (TEST_TYP_ID_CNT).TEST_SESSION_ID
AND A.TEST_DETAIL_ID = C.TEST_DETAIL_ID
AND A.TEST_SESSION_DETAIL_ID =
C.TEST_SESSION_DETAIL_ID
AND A.TEST_SESSION_ID = B.TEST_SESSION_ID
AND A.TEST_DETAIL_ID =
TB_TYPE_DET_ID (TEST_TYP_ID_CNT).TEST_DETAIL_ID
AND A.TEST_SESSION_DETAIL_ID =
TB_TYPE_DET_ID (
TEST_TYP_ID_CNT
).TEST_SESSION_DETAIL_ID
ORDER BY COMPANINON_STUDENT_RESPONSE_ID;
FOR TB_QUEST_ID_CNT IN NVL (TB_QUEST_ID.FIRST, 1) .. NVL (
TB_QUEST_ID.LAST,
0
LOOP
/*THE RESPONSE KEY, IS_CORRECT FLAG FOR EACH QUESTION INEACH SESSION IS FETCHED */
BEGIN
SELECT NVL (SUBSTR (C.RESPONSE_KEY, 1, 1), ' ')
INTO LS_COMP_1
FROM TEST_SESSION_DETAIL A,
TEST_SESSION B,
COMPANINON_STUDENT_RESPONSE C
WHERE A.TEST_SESSION_ID =
TB_TYPE_DET_ID (
TEST_TYP_ID_CNT
).TEST_SESSION_ID
AND A.TEST_DETAIL_ID = C.TEST_DETAIL_ID
AND A.TEST_SESSION_DETAIL_ID =
C.TEST_SESSION_DETAIL_ID
AND A.TEST_SESSION_ID = B.TEST_SESSION_ID
AND C.QUESTION_ID =
TB_QUEST_ID (TB_QUEST_ID_CNT).QUESTION_ID
AND A.TEST_DETAIL_ID =
TB_TYPE_DET_ID (
TEST_TYP_ID_CNT
).TEST_DETAIL_ID
AND A.TEST_SESSION_DETAIL_ID =
TB_TYPE_DET_ID (
TEST_TYP_ID_CNT
).TEST_SESSION_DETAIL_ID;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
LS_COMP_1 := ' ';
WHEN OTHERS
THEN
Sp_Insert_Error_Log (
LS_OBJECT_NAME,
SYSDATE,
'OTHERS_5',
'WHEN OTHERS TRIGGERED' || '-' || SQLERRM
END;
BEGIN
SELECT NVL (SUBSTR (C.IS_CORRECT, 1, 1), ' ')
INTO LS_COMP_3
FROM TEST_SESSION_DETAIL A,
TEST_SESSION B,
COMPANINON_STUDENT_RESPONSE C
WHERE A.TEST_SESSION_ID =
TB_TYPE_DET_ID (
TEST_TYP_ID_CNT
).TEST_SESSION_ID
AND A.TEST_DETAIL_ID = C.TEST_DETAIL_ID
AND A.TEST_SESSION_DETAIL_ID =
C.TEST_SESSION_DETAIL_ID
AND A.TEST_SESSION_ID = B.TEST_SESSION_ID
AND C.QUESTION_ID =
TB_QUEST_ID (TB_QUEST_ID_CNT).QUESTION_ID
AND A.TEST_DETAIL_ID =
TB_TYPE_DET_ID (
TEST_TYP_ID_CNT
).TEST_DETAIL_ID
AND A.TEST_SESSION_DETAIL_ID =
TB_TYPE_DET_ID (
TEST_TYP_ID_CNT
).TEST_SESSION_DETAIL_ID;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
LS_COMP_3 := ' ';
WHEN OTHERS
THEN
Sp_Insert_Error_Log (
LS_OBJECT_NAME,
SYSDATE,
'OTHERS_6',
'WHEN OTHERS TRIGGERED' || '-' || SQLERRM
END;
LS_COMP_2 := LS_COMP_2 || '^' || LS_COMP_1;
LS_COMP_4 := LS_COMP_4 || '^' || LS_COMP_3;
END LOOP;user575115 wrote:
I'm using toad could you please advice how to use profiler .This link may help you,
http://www.toadworld.com/Default.aspx?tabid=67&EntryID=76
Twinkle -
In BAPI creation iam getting some problem plz help me in this issue?
Hi All
I am new to BAPI.
I did one program by watching the below link
http://www.saptechies.com/step-by-step-procedure-to-create-bapi/
By watching that tutorial iam able to develop up to the creation of BAPI.
While the releasing of my BAPI object its showing the following error
Released object types must be transportable.
While the releasing the method its showing the following message
Object type components have higher release level than oject type.
If any one knows how to resolve this issue please help in this topic
Thanku.
Regards,
K.S.L.Neelima.Hi Neelima,
As the error message shows: Released object types must be transportable
This means you have saved the object type also as local object under $tmp. You should not do this. Create the object type under any dev package and then try releasing it. This will work for sure.
Maybe you are looking for
-
Double clicking on icons doesn't open up applications anymore
My iMac recently went thru a electrical surge in my house that ultimately caused an electircal fire in the wall of my home. Anyway, I'm no longer to able to just simply double click on a desktop icon which, in turn, wold open up the appropriate appli
-
Why doesn't LR let us use embedded/standard previews (at least optionally)?
I bought LR but cannot commit to using it mainly because it is too slow importing and browsing previews but also because LR's previews are worse than the embedded previews in RAW images or JPGs as displayed by other standard programs like Photo Mecha
-
Problems with Boot Camp and Drive Partition
First of all, let me preface this by saying I have in the past successfully partitioned my drive and installed Windows, but it was a while back and I can remember it was frustrating, but I don't remember the exact details. Also, I apologize for the r
-
Crossdomain.xml Not Loading
This may be a newb question. I'm trying to figure out why my swf file, running from localhost, is bypassing the crossdomain.xml when loading a xml file from a remote domain. I stored the crossdomain.xml at the root of the domain. http://www.mydomain.
-
Hi, I am new here. I got a problem of installation. I have install AppServer7 and studio 5 upgrade 1 successfully. The default JDK directory is c:\j2sdk1.4.2_05. One day, I rename the C:\j2sdk1.4.2_05 to C:\jdk. After that, when I tried to run studio