Wants to create T-Code with QuickViwer query (sqvi)
Dear Experts,
I create query with the help of SQVI (Quick viewer)
How to create t-code of quick view query ?
Thanks,
Farrukh khan
Edited by: farrukh khan on Dec 6, 2010 8:56 AM
Dear Experts,
Thanks for your all reply's.
What I am saying is that, I created quick View query in SQVI with join tables in DEV.
Query runs fine. Now, I want to create T-code of that query but when I go to SE93 and select transaction name then continue
but system wasn't find quickView query.
I did R&D it says that first quickviewer convert onto sap query then do SE93.
Please tell me how to convert quickview query onto sap query ?
Thanks,
Farrukh khan
Similar Messages
-
Creating Target group with Bi Query
Hi,
I am trying to create Target group with BI query, for that I created one query on real time info cube with 0BPARTNER, 0BP_GUID and selected all navigational attributes. In the query info object properties u2013 Advance setting I selecting u201C Values from Master Data Tableu201D & Access Type u201C Master Datau201D , In query Property u2013 selected u201C Allow External Access to Queryu201D
In CRM while creating Data source I can see the In objects selected in the query u2013 selected Business partner info object as 0BP_GUID ,In the attribute list I just selected one item Industry code against the above data source, while running the Segment Builder when I selected the industry code it gives me 0 business partner where as I am having 20 BP with that Industry code.
I appreciate your help ASAP.
Regards,
Rajiv JainHi Rajiv
I have the same issue with my BI Query. Hope you have resolved by now, if you have please do let me know.
What we have done is, created a BI Query and used this query in in CRM datasource, then created some filters where i can see the objects in the query while creating filters in Attributes List. But when we use these filters to create Target group, its not resulting any results in the query, i mean not brining any values on segmentation area. This issue is only in Production as we have already tested in Test and passed without any problems. But in Production we have this issue, i m not sure why this is happening, i spoke to BW team regarding this and they are not sure eitherl. If you know could you please let me know
Thank you in advance
Regards
shankar -
I want to create an ALV with two row fields name
Hi
I want to create an ALV with two row fields name. please suggest how to do it or send some sample code
thanksHi,
see this link
http://****************/Tutorials/ALV/ALVMainPage.htm
http://www.alvrobot.com.ar/tutorial.php
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b09ac4d5-e3ad-2910-6a81-96d1b861928c
http://abapprogramming.blogspot.com/2007/11/alv-check-boxes-sample-code.html
REPORT zalv5 NO STANDARD PAGE HEADING.
Description----
TOPICS INTRODUCED:
1. Learn about the u2018Standardu2019 PF-Status that comes as default.
2. Exclude function codes from u2018Standardu2019 PF-Status and customize it.
TYPE-POOLS: slis.
DATA: BEGIN OF i_data OCCURS 0,
qmnum LIKE qmel-qmnum,
qmart LIKE qmel-qmart,
qmtxt LIKE qmel-qmtxt,
ws_row TYPE i,
ws_char(5) TYPE c,
chk,
END OF i_data.
DATA: report_id LIKE sy-repid.
DATA: ws_title TYPE lvc_title VALUE 'An ALV Report'.
DATA: i_layout TYPE slis_layout_alv.
DATA: i_fieldcat TYPE slis_t_fieldcat_alv.
DATA: i_events TYPE slis_t_event.
DATA: i_header TYPE slis_t_listheader.
DATA: i_extab TYPE slis_t_extab.
SELECT qmnum
qmart
qmtxt
INTO TABLE i_data
FROM qmel
WHERE qmnum <= '00030000010'. LOOP AT i_data. i_data-ws_row = sy-tabix. i_data-ws_char = 'AAAAA'. MODIFY i_data. ENDLOOP. report_id = sy-repid. PERFORM f1000_layout_init CHANGING i_layout. PERFORM f2000_fieldcat_init CHANGING i_fieldcat. PERFORM f3000_build_header CHANGING i_header. PERFORM f4000_events_init CHANGING i_events. CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = ' ' i_callback_program = report_id * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * i_structure_name = ' ' * I_BACKGROUND_ID = ' ' i_grid_title = ws_title * I_GRID_SETTINGS = is_layout = i_layout it_fieldcat = i_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'A' * IS_VARIANT = it_events = i_events * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IT_ALV_GRAPHICS = * IT_ADD_FIELDCAT = * IT_HYPERLINK = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = i_data EXCEPTIONS program_error = 1 OTHERS = 2 . IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*& Form F1000_Layout_Init
FORM f1000_layout_init USING i_layout TYPE slis_layout_alv.
CLEAR i_layout.
i_layout-colwidth_optimize = 'X'.
i_layout-edit = 'X'.
ENDFORM. " F1000_Layout_Init
*& Form f2000_fieldcat_init
FORM f2000_fieldcat_init CHANGING i_fieldcat TYPE slis_t_fieldcat_alv.
DATA: line_fieldcat TYPE slis_fieldcat_alv.
CLEAR line_fieldcat.
line_fieldcat-fieldname = 'QMNUM'. " The field name and the table
line_fieldcat-tabname = 'I_DATA'. " name are the two minimum req.
line_fieldcat-key = 'X'. " Specifies the column as a key (Blue)
line_fieldcat-seltext_m = 'Notification No.'. " Column Header
APPEND line_fieldcat TO i_fieldcat.
CLEAR line_fieldcat.
line_fieldcat-fieldname = 'QMART'.
line_fieldcat-ref_tabname = 'I_DATA'.
line_fieldcat-hotspot = 'X'. " Shows the field as a hotspot.
line_fieldcat-seltext_m = 'Notif Type'.
APPEND line_fieldcat TO i_fieldcat.
CLEAR line_fieldcat.
line_fieldcat-fieldname = 'QMTXT'.
line_fieldcat-tabname = 'I_DATA'.
line_fieldcat-seltext_m = 'Description'.
APPEND line_fieldcat TO i_fieldcat.
CLEAR line_fieldcat.
line_fieldcat-fieldname = 'WS_ROW'.
line_fieldcat-tabname = 'I_DATA'.
line_fieldcat-seltext_m = 'Row Number'.
APPEND line_fieldcat TO i_fieldcat.
CLEAR line_fieldcat.
line_fieldcat-fieldname = 'WS_CHAR'.
line_fieldcat-tabname = 'I_DATA'.
line_fieldcat-seltext_l = 'Test Character Field'.
line_fieldcat-datatype = 'CHAR'.
line_fieldcat-outputlen = '15'. " You can specify the width of a
APPEND line_fieldcat TO i_fieldcat. " column.
CLEAR line_fieldcat.
line_fieldcat-fieldname = 'CHK'.
line_fieldcat-tabname = 'I_DATA'.
line_fieldcat-seltext_l = 'Checkbox'.
line_fieldcat-checkbox = 'X'. " Display this field as a checkbox
line_fieldcat-edit = 'X'. " This option ensures that you can
" edit the checkbox. Else it will
" be protected.
APPEND line_fieldcat TO i_fieldcat.
ENDFORM. " f2000_fieldcat_init
*& Form f3000_build_header
FORM f3000_build_header USING i_header TYPE slis_t_listheader.
DATA: gs_line TYPE slis_listheader.
CLEAR gs_line.
gs_line-typ = 'H'.
gs_line-info = 'This is line of type HEADER'.
APPEND gs_line TO i_header.
CLEAR gs_line.
gs_line-typ = 'S'.
gs_line-key = 'STATUS 1'.
gs_line-info = 'This is line of type STATUS'.
APPEND gs_line TO i_header.
gs_line-key = 'STATUS 2'.
gs_line-info = 'This is also line of type STATUS'.
APPEND gs_line TO i_header.
CLEAR gs_line.
gs_line-typ = 'A'.
gs_line-info = 'This is line of type ACTION'.
APPEND gs_line TO i_header.
ENDFORM. " f3000_build_header
*& Form f4000_events_init
FORM f4000_events_init CHANGING i_events TYPE slis_t_event.
DATA: line_event TYPE slis_alv_event.
CLEAR line_event.
line_event-name = 'TOP_OF_PAGE'.
line_event-form = 'F4100_TOP_OF_PAGE'.
APPEND line_event TO i_events.
CLEAR line_event.
line_event-name = 'PF_STATUS_SET'.
line_event-form = 'F4200_PF_STATUS_SET'.
APPEND line_event TO i_events.
ENDFORM. " f3000_events_init
FORM F4100_TOP_OF_PAGE *
FORM f4100_top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = i_header.
ENDFORM.
FORM F4200_PF_STATUS_SET *
FORM f4200_pf_status_set USING i_extab TYPE slis_t_extab.
REFRESH i_extab.
PERFORM f4210_exclude_fcodes CHANGING i_extab.
SET PF-STATUS 'STANDARD' OF PROGRAM 'SAPLSALV' EXCLUDING i_extab.
ENDFORM.
*& Form f4210_exclude_fcodes
FORM f4210_exclude_fcodes USING i_extab TYPE slis_t_extab.
DATA: ws_fcode TYPE slis_extab.
CLEAR ws_fcode.
ws_fcode = '&EB9'. " Call up Report.
APPEND ws_fcode TO i_extab.
ws_fcode = '&ABC'. " ABC Analysis.
APPEND ws_fcode TO i_extab.
ws_fcode = '&NFO'. " Info Select.
APPEND ws_fcode TO i_extab.
ws_fcode = '&LFO'. " Information.
APPEND ws_fcode TO i_extab.
ENDFORM. " f4210_exclude_fcodes
thanks
karthik
reward me if usefull -
How to create Item Codes with multiple Item Description
Hi,
for one of my client, we need to create Item Codes with multiple Item Description.
e.g.,
Item Code - M00285
Item Description 1 - Blue Paint
Item Description 2 - Red Paint
Is that possible in SAP Business One? If "Yes" kindly provide a solution. Else recommend an alternative method.
Regards,
Ammheya U. NaaikAmmheya,
I just wanted to add that there is an Add-On that handles "Style, Color, Size" situations like yours.
It allows you to define a "master" item, (Paint, for example) and then setup the various styles, colors and sizes it comes in.
This creates sub-items for each with the master in the ItemCode (Paint-Blue, Paint-Red, etc)
It's called MatrixOne from Navigator. You could find it on the partner portal with other Add-Ons.
Hope thathelps,
Brad Windecker -
I want to create a report with more than 64 column's.
I want to create a report with more than 64 column's. I have generated Query the XML.When I tried to create a template for the report.I have Inserted the colum's Wizard and finish it throughing error message. "you cannot create atable with more that 63 coloum's "
Hi ,
Can u Check the below thread
More than 63 columns in rtf template -
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? -
Create Employee code with the mix of alphabets & numeric
Hai,
Is there any possibility to create Employee code with the mix of alphabets & numeric instead of the system generated employee code in employee master data? If so, pls explain.
Any suggestion is appreciated.
Thanks,
Parvatha Solai.NHi Solai,
You can do a work around for it. Just Leave the Employee ID field as it is. Create a new User Defined field (Alpha Numeric Type) And make it visible on the the employee master data form.
Step2 : Depending upon your need write the code that is if it should be auto generated write the code for else leave it blank for the user to enter the employee code.
Step3: In before action = True. Make the newly created field as mandatory and check whether the value in the field is unique.
Refer Route Class. Hope you understand
Regards,
P. Anand
Edited by: Anand peter on Jan 2, 2012 11:59 AM -
HT2731 i want to creat an account with out cridit card but the opption of noon is not in page
sorry because my english is week but i well tri my best u understand my problem . i complate my all detta and i want to creat my account with out card what can i do
There are instructions on this page for creating a new account without giving a credit card number : http://support.apple.com/kb/HT2534 e.g. select a free app in the store and click on 'create Apple id' when 'buying' it
-
I want to create a form with a manager completing one section and a staff member another. Neither should be able to edit the others. Can different sections be password protected by different passwords? I'm thinking there might be an "official use only" function.
You can use 2 forms in one portfolio.
-
Want to create dynamic SQL with table join
I want to create a dynamic SQL query so that the user can enter any two table names on the selection screen and two field names that he wants to join. After which i should be able to dynamically generate the SQL (native or open) and show the result as report. I have already read the forum threads and know how to create dynamic SQL for single table, what i m struggling with is how to do inner join. I know i can use nested select but that will make the query very slow because i want to extend it to more than 2 tables later.
Will give points to useful answer for sure, thanks for reading.Hi,
Following is a piece of code which I have used in my program.
DATA: ws_flds(72) TYPE c.
DATA: ftab LIKE TABLE OF ws_flds.
ws_flds = 'rbukrs rprctr racct ryear '.
APPEND ws_flds TO ftab.
SELECT (ftab)
INTO CORRESPONDING FIELDS OF TABLE it_grp_glpca
FROM glpca FOR ALL ENTRIES IN i_cert_item
WHERE kokrs = c_kokrs
AND rldnr = '8A'
AND rrcty IN ('0','2')
AND rvers = '000'
AND rbukrs = i_cert_item-bukrs
AND ryear = p_ryear
AND rprctr = i_cert_item-prctr
AND racct = i_cert_item-saknr
AND ( poper BETWEEN '001' AND ws_poper )
AND aufnr IN s_aufnr
AND kostl IN s_kostl
AND rfarea IN s_fkber
AND rmvct IN s_rmvct
AND sprctr IN s_sprctr
AND ( racct BETWEEN c_low AND c_high ).
You can now pass your table name as (p_table) or append fieldnames to the internal table (ftab). if it is join then you can append this table like abukrs asaknr..etc.
Regards
Subramanian -
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; -
Creating t.code for ABAP query and Transport it TO Production and run it .
Hi Friends
Thanks for ur reply ,
The requirement is that i want to create tcode for abap query and that query can be regenearted ,
in case of regeneration programe name i got answer programame name will be change, i created and modified query but i saw the same programe name ,,, may be it changed when it is trasnported if so then what ??
and also pls give me solution for asiging tcode for query which is going to be regenerated.
thanks and regards
farukhDear Farukh,
As we know,
Query is created in Production server and a corresponding program is generated by System.
What we have to do is just to assign the program to the desired transaction code in Development server and transport it.
If you have any doubts please let me know.
Kindly assign points if you find this info usefull.
Regards,
Lijo Joseph -
Create Sequence Number with Select Query
Hi All,
I would like to create a sequence number in oracle but instead of hard coding the "start with" I want to select the max value of the primary key of a table and add 1 and use this instead:
So what I want is:
CREATE SEQUENCE crg_mrec_seq
MINVALUE 1
MAXVALUE 999999999999999999999999999
START WITH select max(primarykey)+1 from table1
INCREMENT BY 1
CACHE 20;I'm guessing I need to pass this max value as a variable into the create sequence number but I'm not sure what syntax to use.
Thanks,
Edspalato76 wrote:
Hi All,
I would like to create a sequence number in oracle but instead of hard coding the "start with" I want to select the max value of the primary key of a table and add 1 and use this instead:
So what I want is:
CREATE SEQUENCE crg_mrec_seq
MINVALUE 1
MAXVALUE 999999999999999999999999999
START WITH select max(primarykey)+1 from table1
INCREMENT BY 1
CACHE 20;I'm guessing I need to pass this max value as a variable into the create sequence number but I'm not sure what syntax to use.
Thanks,
Edconstruct SQL statement & then EXECUTE IMMEDIATE -
Want to create Monthly chart with weekly data.
Hi all. I'd like to create a chart that graphs data over the course of a month similar to this:
but where the data for the chart is only gathered once a week. I know from reading in the forums (and trying myself) that if you have missing data fields in your table, you end up with individual points that aren't connected to each other. So I assume that the solution has something to do with how the chart is labeled?
Can someone clue me in on how to build a chart that shows each day (as above), but connects weekly data fields (as below):
Thanks.
AndyHi Barry.
It looks like what you're describing is what I've already managed to figure out. The problem I'm having is that I want the bottom row of numbers (currently 3, 10, 17, 24) to be the days of an entire month (ie: March 1-31). Then have the values in the chart correspond to the proper day (3, 10, 17, 24).
Here's what happens if I create a table with all the days of the month, but only weekly fields filled in:
I realize that Numbers doesn't automatically connect the dots when there are empty fields in a table. But I can't seem to get to a point where I can have the graph show the entire month, but with a line connecting each of the weekly values.
I thought that I could do it by creating a custom label for the X axis. Here's what I tried:
But of course that didn't work, because the chart still only shows 4 labels (due to the table only having 4 categories). It just renamed the first four labels. -
Error while creating company code with country usa
hi all,
when I am creating company code for with us country here i am getting the following error
u201C Communication error with the external tax system (VERTEX_MS0018)u201D
Can any one please give the solution for this, that will be help full to me.Thanking you
maheshYou are probably using VERTEX as an external tax system. When using VERTEX, SABRIX, etc. as an external tax system linked to SAP, connections need to be set up properly. Please work with your Basis Team for RFC communication to work properly between SAP and VERTEX.
Maybe you are looking for
-
Unable to create Web i reports in Win 7 64 bit OS
Hi, I have WIN 7 64 bit installed on my Laptop. I am unable to create Web I reports in this machine. Does any one know why? BR, Nanda
-
How to connect printer, win laptop, & anroid phone through router
Without knowing the specifics. Cloud Print. http://www.google.com/cloudprint/learn/
-
Using CCC for the upgrade to Leopard
I know this has been covered a lot, but I want to make sure I'm getting it right. I have used Carbon Copy Cloner to make a bootable clone of my system. Everything is there. I plan on doing a Erase & Install of Leopard. At what point during the instal
-
Plugging in USB shuts down computer - now it won't start up
I have this USB cable that connects mics and other instruments to the computer. I'd used it before without a problem - but yesterday I plugged it in and the computer immediately shut down. I was clearing some dust out of the port and the computer sta
-
Backing up just few albums, not the whole library
Is there a way to create a backup DVD of just selected albums (like a playlist) and afterwards get them back to library with all the info remaining? I tried creating a Data DVD and some info (rating, play count..) burns to DVD, but play count resets