I want to create a program
Create program which parses a file of text and prints counts for the 10 most common words. Your program should also provide a mechanism for excluding a list of functional words (the, a, I, she, to, and, is, was, etc..)
I was trying but couldn't do that.
Can anybody help me with that?
Edited by: 913992 on Feb 12, 2012 4:52 PM
Edited by: 913992 on Feb 12, 2012 4:53 PM
So you haven't done anything yet? Then no, we can't help you. The purpose of this kind of forum is to help people who are having problems with programming. You aren't one of those people because you haven't started yet -- that's why I asked you to tell us about your problem.
So go to school, or get a book, or read some tutorials on line. There are video tutorials on line as well. Whatever is your preferred method of learning, do that.
Similar Messages
-
I want to create a programable menu, need advice...
I want to create a menu that will allow the viewer to select, and subsequently view, several segments and any order they want.
Can anybody give me some hints?
Thanks!http://discussions.apple.com/message.jspa?messageID=1995061#1995061
Some answers and possts of examples, I posted a basic one and there are others a bit more challenging (take a look towards bottom, I posted a couple of links, the last link is the easy one) -
Want to create program which will trigger workflow with PDF attachement
Hi Expert,
I m new for work flow.
I want to create abap program which trigger work flow with PDF attachment.
Thanks in advanced.
Regards,
Laxman Sankhla.HI i have written code as per below.
Now if i m running programe i m getting error "Unable to create work item container
(CL_SWF_RUN_WIM_FLOW->_IMPORT_CONTAINER) "
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = FP_FORMOUTPUT-PDF
APPEND_TO_TABLE = ' '
IMPORTING
OUTPUT_LENGTH = ZVAR1
TABLES
BINARY_TAB = IT_SOLIX_TAB.
IF SY-SUBRC = 0 AND NOT IT_SOLIX_TAB[] IS INITIAL .
SWC_SET_TABLE CONTAINER 'IT_SOLIX_TAB' IT_SOLIX_TAB.
SWC_SET_ELEMENT CONTAINER 'ZVAR1' ZVAR1.
SWC_SET_ELEMENT CONTAINER 'YBUS2012' OBJ.
GV_INITIATOR = SY-UNAME.
CALL FUNCTION 'SWW_WI_START_SIMPLE'
EXPORTING
CREATOR = GV_INITIATOR
PRIORITY = SWFCO_NO_PRIO
TASK = 'WS99900241'
CALLED_IN_BACKGROUND = 'X'
TABLES
AGENTS = IT_AGENTS
WI_CONTAINER = CONTAINER.
COMMIT WORK.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks in advanced
Laxman Sankhla. -
How to Create another program instance in iphone from a COPY previous proj
Say I've created one program by starting Xcode afresh.
Now I want to create another program using the previous program as a base, I copy and paste the project folder and rename it, unfortunately, when I run the program, it replaces the previous program in my iPhone.
How do I tell xcode it's a new program ?
Message was edited by: Bracer-JThank you
-
Want to create program (XYZ) for scheduling anther program(ABC)
Requirement :
I have one report ABC and I want to create program XYZ for scheduling the report ABC (without executing the program ABC ).
Output : Program XYZ
1) schedule the report ABC
2) Provide the output of ABCSeee if the below code help:
REPORT Z_MQSCHD NO STANDARD PAGE HEADING LINE-SIZE 170 LINE-COUNT 58 .
DATA: ZCOUNT LIKE SY-TABIX,
JOBNAME LIKE TBTCJOB-JOBNAME,
PARAMS LIKE PRI_PARAMS,
JOBCOUNT LIKE TBTCJOB-JOBCOUNT,
AUTHCKNAM LIKE TBTCJOB-AUTHCKNAM,
SDLSTRTTM LIKE TBTCJOB-SDLSTRTTM,
SDLSTRTDT LIKE TBTCJOB-SDLSTRTDT,
VARIANT LIKE RALDB-VARIANT,
REPORT LIKE SY-REPID,
ZTIME LIKE SY-UZEIT,
PREDJOB_CHECKSTAT LIKE TBTCSTRT-CHECKSTAT,
PRED_JOBCOUNT LIKE TBTCJOB-JOBCOUNT,
PRED_JOBNAME LIKE TBTCJOB-JOBNAME,
RELEASED LIKE BTCH0000-CHAR1.
*email variables
DATA: emailaddr(80) TYPE c.
data: objtxt like solisti1 occurs 10 with header line.
data: tab_lines like sy-tabix.
DATA: OBJECT_HD_CHANGE LIKE SOOD1.
DATA: OBJECT_TYPE LIKE SOOD-OBJTP.
DATA: OBJCONT LIKE SOLI OCCURS 0 WITH HEADER LINE.
DATA: RECEIVERS LIKE SOOS1 OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN: BEGIN OF BLOCK A1 WITH FRAME TITLE TEXT-001.
PARAMETERS:
NAME LIKE RS38M-PROGRAMM OBLIGATORY,
VAR LIKE RS38M-SELSET OBLIGATORY,
JOB LIKE TBTCJOB-JOBNAME,
FRQ1 LIKE SY-INDEX,
FRQ2(2) TYPE C.
SELECTION-SCREEN END OF BLOCK A1.
SELECTION-SCREEN: BEGIN OF BLOCK A2 WITH FRAME TITLE TEXT-002.
PARAMETERS: ZDATE LIKE SY-DATUM DEFAULT SY-DATUM OBLIGATORY.
SELECT-OPTIONS:
TIME1 FOR SY-UZEIT OBLIGATORY.
SELECTION-SCREEN END OF BLOCK A2.
SELECTION-SCREEN: BEGIN OF BLOCK A3 WITH FRAME TITLE TEXT-003.
PARAMETERS: p_mail AS CHECKBOX DEFAULT 'X'. "X = Mail report
SELECT-OPTIONS: so_mlist FOR emailaddr.
SELECTION-SCREEN END OF BLOCK A3.
AT SELECTION-SCREEN ON FRQ2.
IF FRQ2 NE 'H' AND FRQ2 NE 'M' AND FRQ2 NE 'S'.
MESSAGE E001(Z1) WITH 'Time Unit must be H or M or S'.
ENDIF.
AT SELECTION-SCREEN ON ZDATE.
IF ZDATE < SY-DATUM.
MESSAGE E001(Z1) WITH 'Date must be greater than current date'.
ENDIF.
AT SELECTION-SCREEN ON TIME1.
IF ZDATE = SY-DATUM AND TIME1-LOW < SY-UZEIT.
MESSAGE E001(Z1) WITH 'Time must be greater than current time'.
ENDIF.
AT SELECTION-SCREEN OUTPUT.
IF JOB IS INITIAL.
JOB = NAME.
ENDIF.
$$* Start of selection
START-OF-SELECTION.
IF JOB IS INITIAL.
JOB = NAME.
ENDIF.
clear params.
call function 'GET_PRINT_PARAMETERS'
EXPORTING
mode = 'CURRENT'
no_dialog = 'X'
IMPORTING
out_parameters = params.
params-paart = 'X_PAPER'.
ZTIME = TIME1-LOW.
JOBNAME = JOB.
VARIANT = VAR.
REPORT = NAME.
AUTHCKNAM = SY-UNAME.
PARAMS-PRIMM = SPACE.
SDLSTRTDT = ZDATE.
CLEAR: ZCOUNT.
WHILE ZTIME LE TIME1-HIGH.
SDLSTRTTM = ZTIME.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = JOB
IMPORTING
JOBCOUNT = JOBCOUNT
EXCEPTIONS
OTHERS = 4.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
AUTHCKNAM = AUTHCKNAM
JOBCOUNT = JOBCOUNT
JOBNAME = JOB
PRIPARAMS = PARAMS
REPORT = REPORT
VARIANT = VARIANT.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
SDLSTRTDT = SDLSTRTDT
SDLSTRTTM = SDLSTRTTM
JOBCOUNT = JOBCOUNT
JOBNAME = JOB
IMPORTING
JOB_WAS_RELEASED = RELEASED.
IF RELEASED = 'X'.
WRITE: / 'Job', JOBNAME, '(' ,JOBCOUNT, ')' ,'will run at', ZTIME,
'on', ZDATE, 'with program',NAME, 'and variant', VAR.
IF NOT P_MAIL IS INITIAL.
CLEAR OBJCONT.
CONCATENATE
'Job' JOBNAME '(' JOBCOUNT ')' 'will run at' ZTIME 'on' ZDATE
'with program' NAME 'and variant' VAR
INTO OBJCONT SEPARATED BY SPACE.
APPEND OBJCONT.
ENDIF.
ELSE.
WRITE: /
'Unable to release job', JOBNAME, '(' ,JOBCOUNT, ')' ,'at', ZTIME,
'on', ZDATE, 'with program',NAME, 'and variant', VAR.
IF NOT P_MAIL IS INITIAL.
CLEAR OBJCONT.
CONCATENATE
'Unable to release job' JOBNAME '(' JOBCOUNT ')' 'at' ZTIME
'on' ZDATE 'with program' NAME 'and variant' VAR
INTO OBJCONT SEPARATED BY SPACE.
APPEND OBJCONT.
ENDIF.
ENDIF.
CASE FRQ2.
WHEN 'H'.
ZTIME = ZTIME + ( 60 * 60 * FRQ1 ).
WHEN 'M'.
ZTIME = ZTIME + ( 60 * FRQ1 ).
WHEN 'S'.
ZTIME = ZTIME + FRQ1.
WHEN OTHERS.
ENDCASE.
ENDWHILE.
IF NOT P_MAIL IS INITIAL.
CHECK NOT SO_MLIST IS INITIAL.
PERFORM SENDEMAIL.
ENDIF.
*& Form SENDEMAIL
text
--> p1 text
<-- p2 text
FORM SENDEMAIL.
clear objcont.
append objcont.
append objcont.
concatenate
'This e-mail was sent from an automated system...' sy-sysid sy-mandt
into objcont.
append objcont.
clear objcont.
objcont = 'Do not reply to this message.'(013).
append objcont.
MOVE: SY-LANGU TO OBJECT_HD_CHANGE-OBJLA,
'NOTIFICATION' TO OBJECT_HD_CHANGE-OBJNAM,
'Report from job scheduler' TO OBJECT_HD_CHANGE-OBJDES.
MOVE 'RAW' TO OBJECT_TYPE.
describe table objtxt lines tab_lines.
read table objtxt index tab_lines.
*Now we will create the packing list entry for our text body.
describe table objtxt lines tab_lines.
read table objtxt index tab_lines.
OBJECT_HD_CHANGE-OBJLEN = tab_lines * 255.
*in this next section we create our recipient list.
LOOP AT so_mlist.
clear RECEIVERS.
move so_mlist-low to RECEIVERS-RECEXTNAM.
MOVE 'U' TO RECEIVERS-RECESC.
APPEND RECEIVERS.
if not so_mlist-high is initial.
move so_mlist-high TO RECEIVERS-RECEXTNAM.
MOVE 'U' TO RECEIVERS-RECESC.
APPEND RECEIVERS.
endif.
ENDLOOP.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
OBJECT_HD_CHANGE = OBJECT_HD_CHANGE
OBJECT_TYPE = OBJECT_TYPE
TABLES
OBJCONT = OBJCONT
RECEIVERS = RECEIVERS
EXCEPTIONS
ACTIVE_USER_NOT_EXIST = 1
COMMUNICATION_FAILURE = 2
COMPONENT_NOT_AVAILABLE = 3
FOLDER_NOT_EXIST = 4
FOLDER_NO_AUTHORIZATION = 5
FORWARDER_NOT_EXIST = 6
NOTE_NOT_EXIST = 7
OBJECT_NOT_EXIST = 8
OBJECT_NOT_SENT = 9
OBJECT_NO_AUTHORIZATION = 10
OBJECT_TYPE_NOT_EXIST = 11
OPERATION_NO_AUTHORIZATION = 12
OWNER_NOT_EXIST = 13
PARAMETER_ERROR = 14
SUBSTITUTE_NOT_ACTIVE = 15
SUBSTITUTE_NOT_DEFINED = 16
SYSTEM_FAILURE = 17
TOO_MUCH_RECEIVERS = 18
USER_NOT_EXIST = 19
ORIGINATOR_NOT_EXIST = 20
X_ERROR = 21
OTHERS = 22.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " SENDEMAIL -
I want to create an app. Can you tell me the difference between iOS developer program and the mac developer program?
Is the difference the device you're creating your app on, or for?iOS Developer Program is only for those who wish to develop iDevice apps. Mac program is for those only developing Mac applications. If you wish to do both, then you need to enroll in both programs.
-
Want To create Zip file using java,And Unzip without Java Program
I want to create a zip text file using java, I know Using ZipOutputStream , we can create a zip file, , But i want to open that zip file without java program. suppose i use ZipOutputStream , then zip file is created But for unZip also difftrent program require. We cant open that zip file without writing diff java program.
Actually i have one text file of big size want to create zip file using java , and unzip simply without java program.Its Possible??
Here is one answer But I want to open that file normal way(
For Exp. using winzip we can create a zip file and also open simply)
http://forum.java.sun.com/thread.jspa?threadID=5182691&tstart=0Thanks for your Reply,
I m creating a zip file using this program, Zip file Created successfully But when im trying to open .zip file i m getting error like "Canot open a zip file, it does not appear to be valid Archive"
import java.io.*;
import java.util.zip.*;
public class ZipFileCreation
public static void main (String argv[])
try {
FileOutputStream fos = new FileOutputStream ( "c:/a.zip" );
ZipOutputStream zip = new ZipOutputStream ( fos );
zip.setLevel( 9 );
zip.setMethod( ZipOutputStream.DEFLATED );
// get the element file we are going to add, using slashes in name.
String elementName = "c:/kalpesh/GetSigRoleInfo092702828.txt";
File elementFile = new File ( elementName );
// create the entry
ZipEntry entry = new ZipEntry( elementName );
entry.setTime( elementFile.lastModified() );
// read contents of file we are going to put in the zip
int fileLength = (int)elementFile.length();
System.out.println("fileLength = " +fileLength);
FileInputStream fis = new FileInputStream ( elementFile );
byte[] wholeFile = new byte [fileLength];
int bytesRead = fis.read( wholeFile , 0 /* offset */ , fileLength );
// checking bytesRead not shown.
fis.close();
// no need to setCRC, or setSize as they are computed automatically.
zip.putNextEntry( entry );
// write the contents into the zip element
zip.write( wholeFile , 0, fileLength );
zip.closeEntry(); System.out.println("Completed");
// close the entire zip
catch(Exception e) {
e.printStackTrace();
} -
I want to create a desk top icon to take me to a program
In bookmarks I have a specific link to a web page that I want to create a desktop icon (short cut) that will take me to the specified web page. I find no way to do this.
Any ideas?This link shows how to do that - https://support.mozilla.com/kb/Creating+a+desktop+shortcut+to+a+web+page
There are add-ons that can be used to do this, such as:
* deskCut - https://addons.mozilla.org/firefox/addon/deskcut/
* SaveLink - https://addons.mozilla.org/firefox/addon/savelink/
* Create Shortcut- http://www.pikey.me.uk/mozilla/?addon=cs -
I was given this address from the Apple customer support team.
I have an active existing iTunes store account and use the same Apple ID for signing into my iTunes Connect Account that distributes Apps.
I have created some books using the iBook author and in order to distribute content on the iBookstore I have been told electronically that I need a new Apple ID and password that is different to iTunes store account which I have already activated and completed contracts, tax information and bank information valid until 2013?
I want to create a Paid Books Account using the same email address, tax information and bank information. This has been most frustrating, as I cannot get passed the sign in section and there is no contact person I can speak to. I was of the understanding the iTunes connect account and the Developer programs which I paid good money for is all what I needed to be paid for selling iBooks on the iBookstore???
I only have one email address and wish to also use it for the Paid Books Account. I have books ready to be exported and published.
I am also having trouble locating and downloading iTunes Producer. I understand I need to have the Paid Books Account active to access the iTunes Producer program. Please help.
See additional information below:
What device did you use to connect to the store? Mac computer
Which operating system is installed? Mac OS X v10.7.x
What version of iTunes is installed on your computer? iTunes 10.6
Choose the iTunes Store or App Store for your country: Other
Please select your country: AustraliaHi Lrwill,
If the apps that are on your son's iPad were purchased under his Dad's Apple ID, then signing your Apple ID onto the iPad will not help you with updating those apps.
Also, if the iPad was sync'd with his Dad's iTunes library, then hooking it up to your computer/iTunes library, will require you to reset the iPad, and everything that was loaded under the other Library and Apple ID will be wiped out.
Can you provide a little more info about what was set up under which Apple ID and what iTunes library the iPad was sync'd with?
Cheers,
GB -
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; -
How to create a program which can be installed as NT service?
I wrote a server program using LW/CVI 5.5. I want to install it on NT/2000
OS and running as NT/2000 services. I know SRVANY.EXE can do this, but I
want to one step do this using INSTSRV.EXE or using install utility to modify
registry keys.
Thanks.Hi
Thanks for your fast replies.. I have created a new material and was able to create inventory thru MB1C. But I was not able to generate a goods delivery(VL01N) and billing document(VF01) for the sales order.
Error: No schedule lines due for delivery up to the selected date
Message no. VL248
Diagnosis
There are no schedule lines due for the given order item up to the date chosen.
System Response
The system does not create a delivery item for this order item.
Procedure
Check whether the order item to be delivered contains confirmed schedule lines.
If this is the case, set the selection date further into the future if you still want to create a delivery for this item.
Please suggest,
Tanks,
Suma
Edited by: Suma B on Sep 23, 2008 3:55 PM -
How to create a program to schedule a job
Hi Friends,
I want to create a report that will run another program(program2) in background. What I need to do is, when I enter the transaction code of this program(report), it will automatically run the program2 in background. I tried using JOB_OPEN, JOB_SUBMIT and JOB_CLOSE. But when I checked in SM36, the job is just scheduled. I still need to release for the program to run.I should not be doing that anymore. The second program should automatically run when I enter the transaction code.
Please help.
Thanks,
zryxelHi,
Check this example..
DATA: p_jobcnt LIKE tbtcjob-jobcount,
l_release(1) TYPE c.
<b>* Open the job</b>
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = 'ZMY_OBJ'
IMPORTING
jobcount = p_jobcnt
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
<b>* Submit the job.</b>
SUBMIT ztest_program VIA JOB 'ZMY_OBJ' NUMBER p_jobcnt
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
WITH destination = 'LOCL'
WITH immediately = space
WITH keep_in_spool = 'X' AND RETURN.
<b>* Close the job.</b>
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = p_jobcnt
jobname = 'ZMY_OBJ'
<b>strtimmed = 'X'</b>
prdmins = 15
IMPORTING
job_was_released = l_release.
Thanks,
Naren -
I have created some books using the iBook author and in order to distribute content on the iBookstore I have been told electronically that I need a new Apple ID and password that is different to iTunes store account which I have already activated and completed contracts, tax information and bank information valid until 2013?
I want to create a Paid Books Account using the same email address, tax information and bank information. This has been most frustrating, as I cannot get passed the sign in section and there is no contact person I can speak to. I was of the understanding the iTunes connect account and the Developer programs which I paid good money for is all what I needed to be paid for selling iBooks on the iBookstore???
I only have one email address and wish to also use it for the Paid Books Account. I have books ready to be exported and published.
I am also having trouble locating and downloading iTunes Producer. I understand I need to have the Paid Books Account active to access the iTunes Producer program. Please help.Did you use an existing Apple ID or create a new one just for paid books sales/distribution?
-
I want to create a fillable form using the templates that were in adobe acrobat
Hi all,
I am having trouble finding the templates that were offered in the previous version of Adobe. Before, when I wanted to create a form, I could simply click "create form" select from template, and I had access to dozens of varieties of forms. Now when I try the same thing, it only lets me scan in a paper form. I don't have a paper form. That's why I'm trying to make one.
Any advice would be appreciated, I have tried to search for my question but the help function keeps redirecting me back to "how to prepare a fillable form" and tells me to use a paper document. Why did this simple task become so difficult all of a sudden?
Thanks in advance,
Kind regards
MichaelThat was the FormsCentral designer software. Adobe has decided to discontinue FormsCentral, so it wasn't included with Acrobat DC.
The usual way to create a form in Acrobat is to create the layout in a program such as InDesign or Word and create a PDF. You can then add the fields in Acrobat, which can attempt to automatically add fields where it thinks they belong. -
I want to write ABAP Program in web dynpro Using se80 tra.code
hi
I want to write ABAP Program in web dynpro Using se80 tra.code and to Create URL for the same.
Please let me know the steps to do.
ThanksHi Shiva,
I understood , you want to create a Webdynpro Applicaiton and run it.
this will help you
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cb243c45-0801-0010-eb9c-88669007f130
Regards
Abhimanyu
Maybe you are looking for
-
BAPI for VA02 to check availability & update the Schedule lines
Hi Experts, Is there a BAPI which can 'check item availability' & update the Schedule lines for the same order? I have checked 'RV_AVAILABILITY_CHECK' 'BAPI_MATERIAL_AVAILABILITY' 'SD_BACKORDER_UPDATE' but it is not solving the purpose. Kindly give y
-
Credit memo billing document is not flowing in the order
Dear all , I have a problem, i created a credit memo request based on the billing, i have a seperate order type for returns and i have done returns order and returns delivery, based on the actual export sales i have done. The process of everyt
-
Image problems with keynote dropbox
We are having massive problems with images not appearing correctly in our Keynote when saved via dropbox. Images appear swaped with other images, or at times, completely missing all together. This has completely crippled the work flow at our business
-
I have three long and boring DVDs of soccer games that I am supposed to edit into a little video for the soccer team banquet. This is pro bono work and technical quality is not a factor. Is there any way to capture a DVD directly into FCP. I tried co
-
I can't install CS6 trial version
Hi, I can't unstill CS6 .trial version, it keeps giving me an error message th.en it's st.art over