Plz help simple list formatttin issue
hi all
i have a simple list in which i have a header
like
profit acknowledgement quantity data creation data scheduling
this header is acceding my page i am not able to take the print on a single page
i want to convert it into
profit acknowle quantity data data
dgment creation scheduling
plz tel me how to do it
thanx in advance
hi,
try this
hope it will b helpfull.
FORM build_eve .
DATA : wa_eve TYPE slis_alv_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = t_eve
EXCEPTIONS
list_type_wrong = 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.
READ TABLE t_eve WITH KEY name = slis_ev_top_of_page INTO wa_eve.
IF sy-subrc = 0.
MOVE 'TOP_OF_PAGE' TO wa_eve-form.
MODIFY t_eve FROM wa_eve INDEX sy-tabix.
ENDIF.
ENDFORM. " build_eve
FORM header_build USING p_gt_list_top_of_page TYPE slis_t_listheader.
DATA : year(4) TYPE c,
mon(2) TYPE c,
day(2) TYPE c,
date(30) TYPE c.
year = budat-low+0(4).
mon = budat-low+4(2).
day = budat-low+6(2).
CONCATENATE day mon year INTO date SEPARATED BY '.'.
CONCATENATE 'From' date 'To' INTO date SEPARATED BY space.
IF budat-high IS INITIAL.
budat-high = budat-low.
ENDIF.
year = budat-high+0(4).
mon = budat-high+4(2).
day = budat-high+6(2).
CONCATENATE date day INTO date SEPARATED BY space.
CONCATENATE date mon year INTO date SEPARATED BY '.'.
SELECT SINGLE butxt INTO comp_nm FROM t001 WHERE bukrs = bukrs.
CLEAR st_line.
st_line-typ = 'H'.
st_line-info = comp_nm.
APPEND st_line TO p_gt_list_top_of_page.
CLEAR st_line.
st_line-typ = 'S'. "H-HEADER,S-SELECTION,A-APPLICATION
st_line-info = 'CREDIT NOTE REGISTER'.
APPEND st_line TO p_gt_list_top_of_page.
IF budat IS NOT INITIAL.
CLEAR st_line.
st_line-typ = 'S'. "H-HEADER,S-SELECTION,A-APPLICATION
st_line-info = date.
APPEND st_line TO p_gt_list_top_of_page.
ENDIF.
ENDFORM. " HEADER_BUILD
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_list_top_of_page.
ENDFORM. "TOP_OF_PAGE
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 -
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 -
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 -
Plz help interactive list issue-urgent today is the deadline
hi experts ,
i have created an interactive list report .
in which when i click on value of first coloumn it should display another list report .
in my case when i click on the spaces next to the value it should not display the value .
i want when i click on the value like 34 it should display the next list not on the spaces .
to get the value i am using
GET CURSOR FIELD fld VALUE val.
Thanx in advancehi,
check the following code
here i used hide ang get cursor statements
in my prog i will display the next list only on clicking material number
otherwise it will display a message click on material number
modify accordingly
REPORT zp_interactive5 LINE-SIZE 100 LINE-COUNT 10(2).
TABLES: mara, marc, makt.
DATA: wa_mara LIKE mara,
it_mara TYPE TABLE OF mara,
wa_marc LIKE marc,
it_marc TYPE TABLE OF marc,
wa_makt LIKE makt,
it_makt TYPE TABLE OF makt.
DATA: value(20) TYPE c.
SELECT-OPTIONS: s_matnr FOR mara-matnr.
START-OF-SELECTION.
SELECT * FROM mara INTO TABLE it_mara
WHERE matnr IN s_matnr.
LOOP AT it_mara INTO wa_mara.
WRITE: / wa_mara-matnr COLOR COL_KEY INTENSIFIED ON,
wa_mara-ersda COLOR COL_KEY INTENSIFIED ON.
HIDE: wa_mara-matnr.
ENDLOOP.
CLEAR wa_mara-matnr.
AT LINE-SELECTION.
CASE sy-lsind.
WHEN '1'.
GET CURSOR FIELD value.
IF value = 'WA_MARA-MATNR'.
SELECT * FROM marc INTO TABLE it_marc
WHERE matnr = wa_maRA-matnr.
IF it_marc IS INITIAL.
MESSAGE 'NO RECORDS FOUND' TYPE 'I'.
ELSE.
WINDOW STARTING AT 10 l1
ENDING AT 50 l2.
LOOP AT it_marc INTO wa_marc.
WRITE: / wa_marc-matnr COLOR COL_KEY INTENSIFIED ON,
wa_marc-werks COLOR COL_KEY INTENSIFIED ON.
HIDE: wa_marc-matnr.
ENDLOOP.
ENDIF.
ELSE.
MESSAGE 'CLICK ON THE MATERIAL NUMBER' TYPE 'I'.
ENDIF.
WHEN '2'.
GET CURSOR FIELD value.
IF value = 'WA_MARC-MATNR'.
SELECT * FROM makt INTO TABLE it_makt
WHERE matnr = wa_maRC-matnr.
IF it_makt IS INITIAL.
MESSAGE 'NO RECORDS FOUND' TYPE 'I'.
ELSE.
WINDOW STARTING AT 10 l1
ENDING AT 50 l2.
LOOP AT it_makt INTO wa_makt.
WRITE: / wa_makt-matnr COLOR COL_KEY INTENSIFIED ON,
wa_makt-spras COLOR COL_KEY INTENSIFIED ON,
wa_makt-maktx COLOR COL_KEY INTENSIFIED ON.
ENDLOOP.
ENDIF.
CLEAR wa_makt-matnr.
ELSE.
MESSAGE 'CLICK ON THE MATERIAL NUMBER' TYPE 'I'.
ENDIF.
ENDCASE.
TOP-OF-PAGE.
WRITE: 'MATERIAL MASTER DETAILS'.
TOP-OF-PAGE DURING LINE-SELECTION.
CASE sy-lsind.
WHEN '1'.
WRITE: 'PLANT DETIALS'.
WHEN '2'.
WRITE: 'MATERIAL DESCRIPTION'.
ENDCASE.
REWARD IF HELPFUL
PRASANTH -
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. -
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 structure incompatible issue.
Hi all ,
while doing upgrade from 4.6c to ecc 6.0 i am gettig this error
"I_COSS" cannot be converted to the line incompatible. The line type
must have the same structure layout as "I_COSS" regardless of the
length of a Unicode . Unicode character. Unicode character.
and this error is coming in this line of code
PERFORM accepted TABLES i_coss USING zcoss quantity hour.
PERFORM accepted TABLES i_cosp USING zcosp quantity hour.
FYI:
these two perform calling a single form
FORM accepted TABLES w_table STRUCTURE i_cosp USING char6 char3 typ.
also
DATA: i_coss TYPE coss OCCURS 0 WITH HEADER LINE.
DATA: i_cosp TYPE cosp OCCURS 0 WITH HEADER LINE.
please help me in resolving this issue
thanks in advance .Hello Anit
Table COSP has 161 fields and table COSS 145 fields, most of which are common to both tables.
The TABLES parameter is of (line) type COSP. In order to get around the Unicode error you have to move the data from I_COSS to an itab having line type COSP:
DATA:
lt_cosp_tmp TYPE cosp OCCURS 0 WITH HEADER LINE.
LOOP AT i_coss INTO ls_coss.
clear: ls_cosp.
MOVE-CORRESPONDING ls_coss TO ls_cosp.
APPEND ls_cosp TO lt_cosp_tmp.
ENDLOOP.
" PERFORM accepted TABLES i_coss USING zcoss quantity hour. " Replace by:
PERFORM accepted TABLES lt_cosp_tmp USING zcosp quantity hour.
PERFORM accepted TABLES i_cosp USING zcosp quantity hour.
However, it is up to you to find out whether this coding is semantically correct.
Regards
Uwe -
HI, Unable to connect Visual administrator plz help me to this issue.
Installed SAP XI System every thing is fine except visual administrator,i am getting following error,
unable to lookup connection default.
http://sap:8101/msgserver/text/logon returned list of connection parametersHi-
You can use the template installer to do the post installtion for XI
To start Visual administrator execute the go.bat file.
You can find this file in j2ee admin folder.
J2ee+ ABAP Engine
C:\usr\sap\<SAPSID>\DVEBMGS<xx>\j2ee\admin\go.bat
J2EE Engine
C:\usr\sap\<SAPSID>\JC<xx>\j2ee\admin\go.bat
So here you can log on to Your Visual Administrator.
Check out this link its helpful
http://help.sap.com/saphelp_nw2004s/helpdata/en/98/fa9b6ec510404dbcfebf35cb107c04/frameset.htm -
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 -
Urgent!! Plz help.. Fonts issue
Hi all,
Does anyone know if Adobe CS4 supports the following fonts? If yes, can you please tell me where do I get it and how to install them?
Hindi
Kannada
Malayalam
Marathi
Tamil
Telugu
Punjabi
Urdu
Any help will be greatly appreciated.
OS used: Windows Xp
Many thanks
ShriThe ME edition won't even help at all. Many of these languages can be typeset in plain-vanilla English ID with some help from scripting, knowing about unsupported features, et cetera, but what the OP really needs to do is to contact Metadesign Solutions.
I'd offer to help, but frankly, this post sounds like at least 50 hours of consulting work, not five minutes of how-to posting. -
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.
-
Hai GURU 's plz help me in this Issue !
Hi
Guru !
Please let me know what is the difference between Subsequent Debit Note and the debit note.
Thanks in advance
GURU.Hi,
Debit Memo - It is a sales document used in complaints processing to request a debit memo for a customer. If the prices calculated for the customer were too low, for example, calculated with the wrong scaled prices, you can create a debit memo request. The debit memo request can be blocked so that it can be checked. When it has been approved, you can remove the block. It is like a standard order. The system uses the debit memo request to create a debit memo.
Credit Memo - A transaction that reduces Amounts Receivable from a customer is a credit memo. For eg. The customer could return damaged goods. A debit memo is a transaction that reduces Amounts Payable to a vendor because, you send damaged goods back to your vendor.
Credit memo request is a sales document used in complaints processing to request a credit memo for a customer. If the price calculated for the customer is too high, for example, because the wrong scale prices were used or a discount was forgotten, you can create a credit memo request. The credit memo request is blocked for further processing so that it can be checked. If the request is approved, you can remove the block. The system uses the credit memo request to create a credit memo.
As mentioned above, creating a credit or debit memo request enables you to create credit or debit memos based on a complaint. For this first create a sales document with the order type for a credit or debit memo request. You can create the debit or credit memo requests in the following ways:
Without reference to an order
With reference to an existing order
Here you enter which order the complaint refers to.
With reference to an invoice
Here you enter which invoice the complaint refers to.
In all cases, you specify the value or quantity that should be in the credit or debit memo
You can block the credit or debit memo request from being billed in Customizing. Go to Sales -> Sales Documents -> Sales document header -> Define sales document type and select the billing block field in the billing section. This request can later be reviewed along with similar ones, - if necessary, by another department. The request for a credit or debit memo can then be approved or rejected
Assin Points
Z -
PLZ HELP!! Strange issue after pacman -Syu
after running pacman -Syu and updating all, my system simply doesn't recognize any modules, and when I try to load them by modprobe <modu name> I receive a FATAL msg, even the hostname is set to (none) after reboot, I cant even get into menuconfig and now after some commands, the hdd starts reading (I don't know what) like crazy, and the system go all slow, I have no idea of what went wrong
RDDO wrote:after running pacman -Syu and updating all, my system simply doesn't recognize any modules, and when I try to load them by modprobe <modu name> I receive a FATAL msg, even the hostname is set to (none) after reboot, I cant even get into menuconfig and now after some commands, the hdd starts reading (I don't know what) like crazy, and the system go all slow, I have no idea of what went wrong
menuconfig? are you using a custom compiled kernel? perhaps this is the source of your problems? -
Plz help production issue(smartform)
hi experts plz help its a production issue
i have a box in my smartform in which in one line i can only show 50 characters .and i have a text of 70 characters but i only have to show 50 characters from 70 characters .
now wat i did i stored 70 characters variable into 50 char variable abd displaying it .
but the issue is
if i want to print .
hi this is sdn and here u can get all the information about sap .
now lets say
i of information is the 46th character of my line
now what is happening it is coming like
hi this is sdn and here u can get all the
infor
its showing 50 character only but if word is not completed it is printing it in next line.
it should print like
hi this is sdn and here u can get all the infor
plz help how to do it
thanx in advance .code i am using is ::::::::::::::::::::::::::::::::::::::::::::::::
data : TEXT_3I56(50) type c .
move is_bil_invoice-hd_gen-bil_number TO textname.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = '0002'
language = is_nast-spras
name = textname
object = 'VBBK'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = t_lines_3156
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 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.
*describe table t_lines lines n.
*if not n is initial.
*bank_note = 'X'.
*endif.
READ TABLE T_LINES_3156 INDEX 1 .
IF SY-SUBRC = 0 .
TEXT_3I56 = T_LINES_3156-TDLINE .
ENDIF.
Maybe you are looking for
-
Mozilla won't display web cam feed from web site
Mozilla won't display web cam feed from web site: http://www.fs.usda.gov/wps/portal/fsinternet/!ut/p/c4/04_SB8K8xLLM9MSSzPy8xBz9CP0os3gDfxMDT8MwRydLA1cj72DTUE8TAwjQL8h2VAQAMtzFUw!!/?ss=110803&navtype=BROWSEBYSUBJECT&cid=fsm9_029107&navid=091000000000
-
Problems downloading latest version
Im having trouble downloading itunes latest version on my computer. It keeps coming up with an error - invalid itunes signature. What does this mean & how do I fix it?????
-
Need a batch to make jpg's from raw (NEF) files
I have a map with 100 raw/nef files. How can I automate the process of making jpg's from them. I have CS3 Thanks
-
Help setting one sentence in a command field to Bold
I have created a report to send a letter to a customer. I used the "add command" functionality to create a specific table which retrieves the fields of data which need to be included in the letter (via Database Expert -> Add Command). I pasted in a
-
Hi guys! I badly need your help. I'm trying to bind string[] variable in Java(IDCGetInfoResult) to another string[] in JavaFX (simpleList). However, I can't seem to be able to do so. The code statement highlighted in red generates an error message: t