Experts plz help its very urgent
hi expert
plz help- me
previously i was getting dump in this statement
TRANSFER v_tab TO p_file.
FYI:
here v_tab is a table which hav som records
and p_file contains the path of a file like c:\new\ggg.txt
DATA: v_tab TYPE STANDARD TABLE OF t_line WITH HEADER LINE,
TYPES: BEGIN OF t_line,
pspid(9) TYPE c,
tab1 TYPE x,
post1 TYPE proj-post1,
tab2 TYPE x,
vernr TYPE prps-vernr,
tab3 TYPE x,
END OF t_line.
DUMP I WAS GETTIN :
For the statement
"TRANSFER f TO ..."
only character-type data objects are supported at the argument position
"f".
In this case. the operand "f" has the non-character-type "T_LINE". The
current program is a Unicode program. In the Unicode context, the type
'X' or structures containing not only character-type components are
regarded as non-character-type.
to avoid this dump i used feild symbol
assign V_TAB to <IN> casting.
p_file = <in>.
unassign <IN>.
nw there is no dump
but problem is p_file contains the contents of v_tab not the file path .
plz help me its very urgent
thanx in advance
Hey, no probs,
after your initial declaration, do this.
TYPES: BEGIN OF n_line,
pspid(9) TYPE c,
tab1(15) TYPE c, "check the length you want
post1 TYPE proj-post1,
tab2(15) TYPE c, "check the length you want
vernr TYPE prps-vernr,
tab3(15) TYPE c, "check the length you want
END OF t_line.
DATA: n_tab TYPE STANDARD TABLE OF n_line WITH HEADER LINE.
now after you fetch data into v_tab,
move it to n_tab.
using a loop at v_tab and move corresponding fields to n_tab's work area
append to n_tab.
once you have populated n_tab and are ready to TRANSFER.
OPEN your file using
open dataset <file> for output in text mode encoding default.
now
loop at n_tab.
TRANSFER n_tab to p_file.
endloop.
CLOSE DATASET.
Similar Messages
-
Error while opening a module. plz help me, very urgent.
when i try to open a module, the following error message appears on my screen.
" no j2ee component found in d:\krisp\programs\servlets".
i've installed bea in c: drive and my servlet program is in d: drive.
plz help me, it's very urgent.Can you provide some more information? What were you doing when this happened?
Can you post the entire error message?
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
How to write code for this logic, plz help me very urgent
Hi All,
i am new to sap-abap, i got this work and i m working on this can any body help me in writing code, plz help me, this is very very urgent.
here i m giving my logic, can anybody send me the code related to this logic.
this is very urgent .
this program o/p should be in ALV format and need to create one commond 'SAVE" on this o/t list if user clicks save processedon and processedby fields in ZFIBUE should be updated automatically.
i am creating one custom table zfibue having fields: (serialno, bukrs, matnr,prdha,hkont,gsber,wrbtr,budat, credate, cretime,processed, processedon, processedby,mapped)
fields of zfibue:
serailno = numc
bukrs = char
matnr = char
prdha = char
hkont = char
gsber = char
wrbtr = char
budat = date
credate = date
cretime = time
processed= char
processedon = date
processedby = char
mapped = char are belongs to above type data types
and seelct-optionfields: s_bukrs for bseg-bukrs
s_hkont for bseg-hkont,
s_budat for bkpf-budat,
s_processed for zfibue-processed,
s_processedon for zfibue-processedon,
s_mapped. for zfibue-mapped
parameters: p_chk1 as checkbox,
p_chk2 as checkbox.
p_filepath type rlgrap-filename.
1.1 Validate the user inputs (S_BUKRS and S_HKONT) against respective check tables (T001 and SKB1). If the validation fails, provide respective error message. Eg: Invalid input for Company Code.
1.2 Fetch SERIALNO, BUKRS, MATNR, PRDHA, HKONT, GSBER, WRBTR, BUDAT, CREDATE, CRETIME, PROCESSED, PROCESSEDON, PROCESSEDBY, MAPPED from table ZFIBUE into internal table GT_ZFIBUE where BUKRS IN S_BUKRS, HKONT IN S_HKONT, BUDAT IN S_BUDAT, PROCESSED IN S_PROCESSED, PROCESSEDON IN S_PROCESSEDON, and MAPPED IN S_MAPPED.
1.3 If P_CHK2 = X, go to step 1.11. Else continue.
1.4 If P_CHK1 = X, continue. Else go to step 1.9
1.5 Fetch MATNR, PRDHA from MARA into GT_MARA for all entries in GT_ZFIBUE where MATNR = GT_ZFIBUE-MATNR.
1.6 Sort and delete adjacent duplicates from GT_MARA based on MATNR.
1.7 Loop through GT_ZFIBUE where PRDHA = blank.
Read Table GT_MARA based on MATNR = GT_ZFIBUE-MATNR.
IF sy-subrc = 0.
Move GT_MARA-PRDHA to GT_ZFIBUE-PRDHA.
Modify Table GT_ZFIBUE. Update Product Hierarchy
Endif.
Fetch PRDHA, GSBER from ZFIBU into GT_ZFIBU for all entries in GT_ZFIBUE where PRDHA = GT_ZFIBUE-PRDHA.
Read Table GT_ZFIBU based on PRDHA = GT_ZFIBUE-PRDHA.
IF sy-subrc = 0.
Move GT_ZFIBU-GSBER to GT_ZFIBUE-GSBER.
Move X to GT_ZFIBUE-MAPPED.
Modify Table GT_ZFIBUE.
Endif.
Endloop.
1.8 Modify database table ZFIBUE from GT_ZFIBUE.
1.9 Fill the field catalog table GT_FIELDCAT using the details of output fields listed in section Inputs/Outputs (above).
Eg: LWA_ FIELDCAT -SELTEXT_L = 'Serial Number.
LWA_ FIELDCAT -DATATYPE = NUMC.
LWA_ FIELDCAT -OUTPUTLEN = 9.
LWA_ FIELDCAT -TABNAME = 'GT_ZFIBUE'.
LWA_ FIELDCAT-FIELDNAME = 'SERIALNO'.
Append LWA_FIELDCAT to GT_FIELDCAT
Note: a) The output field GT_ZFIBUE-PROCESSED will be editable marking INPUT = X in field catalog (GT_FIELDCAT).
b) The standard ALV functionality will be used to give the user option for selecting all or blocks of entries at a time.
c) The PF-STATUS STANDARD_FULLSCREEN from function group SLVC_FULLSCREEN will be copied to the program and modified to include a SAVE button.
1.10 Call the function module REUSE_ALV_GRID_DISPLAY passing output table GT_ZFIBUE and field catalog GT_FIELDCAT. Additional parameters like I_CALLBACK_PF_STATUS_SET (= ZFIBUESTAT) and I_CALLBACK_USER_COMMAND (=HANDLE_USER_ACTION) will also be passed to handle user events. Go to 2.14.
1.11 Download the file to P_FILEPATH using function module GUI_DOWNLOAD passing GT_ZFIBUE.
1.12 Exit Program.
Logic to be implemented in routine Handle_User_Action
This routine will have the following interface:
FORM Handle_User_Action USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
ENDFORM.
Following logic will be implemented in this routine:
1. If r_ucomm = SAVE, continue. Else exit.
2. Loop through GT_ZFIBUE where SEL_ROW = X. Row is selected
a. IF GT_ZFIBUE-PROCESSED = X.
i. GT_ZFIBUE-PROCESSEDON = SY-DATUM.
ii. GT_ZFIBUE-PROCESSEDBY = SY-UNAME.
iii. MODIFY ZFIBUE FROM work area GT_ZFIBUE.
Endif.
Endloop.Hi Swathi,
If it's very very urgent then you better get on with it, don't waste time on the web. Chop chop. -
Plz Help me.Very urgent
Hi Frds,
When i am creating generic data source for master data table KNKK, getting following error : Invalid extract structure template KNKK of data source ZRF_KNKK_CRDMNGT. why I am getting error?
In the table/view entered KNKK. may be this is wrong. So i have to create View compulsory to master data generic data source.
Plz Help me . Very urgentHi,
Check your table knkk...does that table have any currency or weight units?
if it have any of the above units then those units might be referring to some
fields.
Currency and weight unit fields should always refer to fields in its own table.
In your case,it should refer to some field in KKNK table.
If your currency or weight field is referring to some other table then while
creating the datasource you will get the error mentioned by you.
Regards,
Senoy -
Query on SRM Shopping Cart ,plz help its very very urgent
Hi Friends,
I have a query on workflow.
Users creates PO through SRM shopping cart and immedeately they receive a mail in there mail box.Below is the process flow of sending the mail to the user inbox from srm shopping cart.
SRM Shopping Cart>Business Object>Workflow-->Mail
Here my problem is.
The bususinees object generally holds the data for cart number and cart description, but when i am checking the workflow it does not contain any cart number or cart description,so that the mail that is going to user inbox also does not contain any cart number and cart description value.
Recenly our client upgrade from 4.6c to Ecc 6.0 and this problem is happening after the upgradation.
Please suggest if anyone face this kind of problem or anyone having any idea on this.
Pls give me some suggestion.
Thanks a lot
Mrutyun^Hi,
Your condition is puzzling... the workflow in SRM for SC is triggered after the SC is saved.
The PO is a follow-on document after the SC is approved. As such it has no relationship to the backend upgrade since the workflow engine is in the SRM server. Your worflow is triggered from the SC or PO?
Regards. -
Problem with Table.getSelectedColumn() method plz help its so urgent
Hi,
I need to display a input msg box while the given icode( coloumn name) is not there in database and the the input value should goto the product( 3rd column in my table) column in table. my code is bellow.
private void TablePropertyChange(java.beans.PropertyChangeEvent evt) {
// ss
i=0;
int s=1;
String icde=new String();
String Prdct=new String();
String result=new String();
// String CODE=new String();
String ICDE=new String();
String prd=new String();
int Colselected=Table.getSelectedColumn();
//column.getPreferredWidth();
try
TableColumn ICode = Table.getColumnModel().getColumn(1);
TableColumn product = Table.getColumnModel().getColumn(2);
TableColumn unit = Table.getColumnModel().getColumn(3);
TableColumn rate = Table.getColumnModel().getColumn(4);
TableColumn Amount = Table.getColumnModel().getColumn(5);
for(;i<s;++i)
//For loop starts
ICode.setPreferredWidth(76);
product.setPreferredWidth(157);
unit.setPreferredWidth(75);
rate.setPreferredWidth(85);
Amount.setPreferredWidth(95);
Table.setValueAt(i+1,i,0);
float gr=0,//Gross amt
qt=0,//Qty
rt=0,//Rate;
dcp=0,//Disc%
dcam=0,//Disc Amt
edrt=0,//EDrate
edrt1=0,
edam=0,//EDGross
taxrt=0,//TaxRate
taxam=0,//TaxAmt
netam=0;//netamt
try
Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
Connection con1 = DriverManager.getConnection(url1,"suresh", "special");
Statement stmt1 = con1.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
ResultSet.CONCUR_READ_ONLY);
Prdct=Table.getValueAt(i,1).toString();
Statement stmti= con1.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
ResultSet.CONCUR_READ_ONLY);
ResultSet rsi = stmti.executeQuery("select * from prd where ICODE='"+Prdct+"'");
java.util.Vector <String> prdct = new java.util.Vector <String>();
if(rsi.next())
String prodct=rsi.getString("ITEM");
prdct.add(prodct);
Table.setValueAt(prdct,i,1);
Double RT=rsi.getDouble("saleprice");
String RTS=RT.toString();
Table.setValueAt(RTS,i,4);
// int ColValue=Colselected==1;
else if(Colselected==1)
result = (String)JOptionPane.showInputDialog(this,
"Enter the new Item", "S-appsys's INFO",JOptionPane.INFORMATION_MESSAGE);
System.out.println("asdrf "+i);
Table.setValueAt(result,i,2);
// Colselected=0;
// Table.setV
// System.out.println("asdrf "+i);
}// Table.setValueAt(result,i,2);
}catch ( java.lang.ClassNotFoundException cl)
System.out.println("Error"+cl);
catch(java.sql.SQLException sq)
System.out.println("Error"+sq);
qt=Float.parseFloat(Table.getValueAt(i, 3).toString());
rt=Float.parseFloat(Table.getValueAt(i, 4).toString());
gr=qt*rt;
Table.setValueAt(gr,i,5);
s=Table.getRowCount();
}catch(java.lang.NullPointerException e){}
my problem is i can get the msg box while i am giving value in 1st time. but if i am giving the value in second row it will show the msgbox 4 times and it will change previous rows product column value twise and then it will change current row value. i need solution for this
plzzz help me
Thanks in advance
Suresh.Your description of the problem makes no sense to me.
The code you posted in not formatted or executable so I'm not going to waste time trying to understand it.
If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the code retains its original formatting. -
How to remove substitution please help its very urgent.....
Hi,
Please tell me how to remove Substitution? I extended my seeded AM. I did substitution, after that i ran jpxImport command. After running this command i could not able to open my standard page.
please tell me how to remove Substitution and tell me the command.
Thanks
SomaSekhar.Hi Somasekhar D ,
When we create any Substitution, the it will create a new document for that customization.
you can see the customized document by using follwing sql statement
exec jdr_utils.LISTCUSTOMIZATIONS('/oracle/apps/icx/lov/server/ReqSupplierAM')
Suppose if it is having any substitution document like *'/oracle/apps/icx/lov/server/customizations/site/0/ReqSupplierAM'*.
You can delete this document like
exec jdr_utils.DELETEDOCUMENT('/oracle/apps/icx/lov/server/customizations/site/0/ReqSupplierAM')
Now your substitution will be removed.
I hope this will help you.
Thanks... -
Pls help.Its very urgent
Hi,
We have upgraded to oracle11g from oracle10g and the query which was executing fine in 10g is giving the following error in oracle11g.
java.sql.SQLException: ORA-00910: specified length too long for its datatype
The same query is working fine in plsql developer or Toad but is throwing an error when executed through application code. so,I thought this will be because of drivers. I used the same classes12.jar that comes with 10g and I copied ojdbc5.jar into my classpath, the manifest file in the ojdbc jar specifies it as being driver for oracle 11 with jdk1.5.Still,I am getting same error.
My query is a simple SELECT statement and is as follows and i have no idea which datatype the error is referring to. There is no BLOB or CLOB object type in the columns I am selecting. The query when executed in PL/SQL developer returns 200 records.
SELECT * FROM (SELECT DISTINCT ValidFolder.Colour, f_FolderNumber2(NVL(Folder.FolderCentury, ''), Folder.FolderYear,Folder.FolderSequence,Folder.FolderSection ,Folder.FolderRevision,Folder.FolderType) FolderNumber, Folder.ReferenceFile, Folder.InDate, Folder.IssueDate, Folder.StatusCode StatusCode1, Folder.FolderName, Folder.FolderDescription, Folder.IssueUser IssueUser1, Folder.ExpiryDate, Folder.FinalDate, ValidFolder.FolderGroupCode, Folder.SubCode SubCode1, Folder.WorkCode, Folder.FolderType FolderType1, Folder.Priority, Folder.FolderRSN, Folder.PropertyRSN, Folder.ParentRSN, Folder.StatusCode, ValidFolder.FolderGroupCode FolderGroupCode1, Folder.IssueUser, Folder.SubCode, Folder.FolderType, ValidFolder.TabMask, Folder.FolderCentury, Folder.FolderYear, Folder.FolderSequence, Folder.FolderRevision, ROW_NUMBER() OVER (ORDER BY Lower(NVL(Folder.FolderDescription, '')) ASC ) r FROM Folder, ValidFolder, ValidFolderGroup, Property, ValidProvince WHERE ValidProvince.ProvinceType (+)= Property.PropProvince AND Folder.PropertyRSN = Property.PropertyRSN and ValidFolder.FolderType = Folder.FolderType and ValidFolderGroup.FolderGroupCode = ValidFolder.FolderGroupCode and ValidFolderGroup.GroupTypeCode = 3 and Folder.FolderType = 'B1' and ValidFolder.FolderGroupCode = 21 ) t where r between 0 and 200 ORDER BY Lower(NVL(t.FolderDescription, '')) ASC
Please advise on how to proceed with this issue. I am currently in the process of having Oracle 11g client installed in my machine but the point is that it needs to work with 10g client as well per my understanding.I would suggest that your NLS settings are different between the tools that you are using.
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://www.workflowfaq.com/blog ?
WorkflowFAQ support forum: http://forum.workflowfaq.com -
Contains invalid characters its very urgent
Hi,
I am working production system for master data full load address neumebr attributes. error is
Value 'R GARCIA LORCA, 301 LOJA 40 ' for characteristic 0STREET60 contains invalid charac RRSV 7.
Please help how to find which char has invalid char.please help its very urgent.
Thanks
SumanthI don't see any invalid char there, I don't think it is displaying all the char which was passed to the data target. There might be more, so go to the specific record in psa and see if there is any. If there is non, check your rskc setting in your system. It should be ALL CAPITAL.
Thanks
Wond -
plz help?????????/tell me e-book of recovery manager. its very urgent
its very urgentSatyaki De was asking how to get the ¿ character. I never said it was how you managed to get it. :))
Satyaki, I have windows Vista on my laptop. It's very pretty but does little more than windows XP as far as interface goes.
;) -
Lsmw issue plz help its urgent
Hi Experts ,
i need to create a LSMW using batch input .
but the requirement is on the basis of conditions my recording need to be changed .
dat means
3127POL09 3127POL09-1 CTR 3127-1003E 100 FUL
3127POL09 3127POL09-2 WBS 3127POL01 60 FUL
for ctr i ill have to post data in screen number 200
and for wbs i ill have to post data in screen number 400 .
can we put some conditions in recording in lsmw ?
i no we can create multiple recording but how can we use them to fullfill my requirement .
plz help its urgent
thanx in advanceHi,
Within LSMW, there is an option to write our own code wherein this code can be incorporated.
This is in the Field Mapping Option...
Just go to the Menu Extras->Layout
and click on the check box Form Routines
Global Data.
Here you can define Global Variables and also perform your ABAP Coding.
Regards,
Balaji. -
SQL SELECT Query Help ..Please its very Urgent!!
Hi All,
I am having Oracle Database whice is storing 1000's of records daily.
I need to select some information based on date and time.
I am having two coloumns for Date and time. The first column(testDate) of type Date stores date as MM/DD/YY format and the second column(testTime)of type Numeric stores the time in seconds.
The Example data is :
testDate ------=-- testTime
11/12/2002 --- 35000
11/12/2002 --- 43000
11/12/2002 --- 45000
11/12/2002 --- 75000
11/13/2002 --- 2000
11/13/2002 --- 3500
11/13/2002 --- 4300
11/13/2002 --- 9800
11/13/2002 --- 23000
11/14/2002 --- 5000
11/14/2002 --- 10000
11/14/2002 --- 15000
How can i write a SELECT Query to get the records of specific date and seconds to next day specific date and seconds.I mean i want all the records between 11/12/2002 --- 43000 seconds to 11/14/2002 --- 1000 seconds.
If any one helps me in this regard iam very thank full to them.Its very urgent for me.
ThanksHi m7nra,
I used the query as
SELECT * FROM table
WHERE testDate + (testTime/(24*60*60)) BETWEEN TO_DATE('MM/DD/YYYY','12.11.2002') AND TO_DATE('MM/DD/YYYY','14.11.2002')
its giving DATE FORMAT NOT RECOGNIZED error.
The Example data is :
testDate ------=-- testTime
11/12/2002 --- 35000
11/12/2002 --- 43000
11/12/2002 --- 45000
11/12/2002 --- 75000
11/13/2002 --- 2000
11/13/2002 --- 3500
11/13/2002 --- 4300
11/13/2002 --- 9800
11/13/2002 --- 23000
11/14/2002 --- 5000
11/14/2002 --- 10000
11/14/2002 --- 15000
infact i need all the records between 11/12/2002 --- 43000 seconds to 11/14/2002 --- 1000 seconds.
Please help me to find a full query beacuse iam very new to Oracle.
Thanks,
S R Mannava -
Please help me in creating and scheduling jobs. Its very urgent.
RDBMS: Oracle 9.2.0.4
OS: win2k
OWB Client: 9.2.0.2.8
OWB Repository: 9.2.0.2.0
Hi,
I have created a "process workflow" using OWB and deployed it successfully. Now, I would like to schedule this process. I have installed management server and tried to schedule it but all in vain. I am not able to understand anything. I have read "oracle administrator pdf" and couldnt understand anything. Please dont advise me to read any notes or pdf's because I have tried a lot and was not able to figure out the configuration.
I have a target database named "TARGET". I would like to schedule the workflow process I have created. I am not able to understand preferred credentials and how to execute the XML script generated by the "process workflow". Please help me coz its very urgent.
-AdityaWhy dont you try this? I found it after few tries,
In the create job dialog box
under General
for Override Node Preferred Credentials for entire job
username and password should be the NT or Unix
login where your Runtime database Server reside.
under Parameter
for Override preferred credentials
username and password should be of your runtime
repository user
Regards,
Shree -
Encrypting and Decrypting Data(Its Very Urgent, Please Help.)
Hi,
Can anyone tell me some idea in the below mentioned details.
Iam creating a Function for Encrypting and Decrypting Data Values using
DBMS_OBFUSCATION_TOOLKIT with UTL_RAW.CAST_TO_RAW by using
Key Value as normal.
But the problem, is it possible to have the key value more than 8.
Its showing me error when i give the key value less than 8 or more than 8.
Can u tell me why it happens, is that the limit of the key value or is any other way to do that.
Its Very Urgent, Please Help.
Thanks,
Murali.VIs this what you're looking for?
Usage Notes
If the input data or key given to the DES3DECRYPT procedure is empty, then the procedure raises the error ORA-28231 "Invalid input to Obfuscation toolkit."
If the input data given to the DES3DECRYPT procedure is not a multiple of 8 bytes, the procedure raises the error ORA-28232 "Invalid input size for Obfuscation toolkit." ORA-28233 is NOT applicable for the DES3DECRYPT function.
If the key length is missing or is less than 8 bytes, then the procedure raises the error ORA-28234 "Key length too short." Note that if larger keys are used, extra bytes are ignored. So a 9-byte key will not generate an exception.
C. -
Goods movement on a mass scale...Plz help, its urgent.
Hi Gurus,
I need to do the goods issue to a cost centre on a mass scale. Is there any way to do it in one hit or do i need to to put all the materials manually (around 3000 materials) and then enter the qty to be transfered?
Kindly help me out, its very urgent...
Thanks,
Swati.Ask your Abaper to write a BDC Program and give all the details in EXCEL sheet
Maybe you are looking for
-
Leopard causes Terminal to load on startup - Please help!
Hello all, I just registered with the forum here hoping someone could help me figure out what is going on with my MacBook Pro after I installed Leopard. After the machine has started up the Terminal app will open a window with the following text in i
-
IPhone 2 to use as iPod Touch; will not sync to iTunes
I am a mom to triplets. For their birthday, I got three deactivated iPhones to restore as iPod Touches (for games mostly). One is an iPhone 3 (no problems with turning it into an iPod); however, the two original iPhone 2s will not allow me to sync on
-
I lost one of my I pads and I want to find it I used the find my i pad app but it did not show me the I pad I lost it only showed me the I pad I had and I really want to find my I pad so I don't know how I find my I pad that's not coming up on the ap
-
Shortcut key to move the playhead to an in-point on the timeline?
Hi just made the switch from FCP 7. Is there a shortcut key to move the playhead to an inpoint on the timeline? In FCP it is the right arrow. Tiny little problem but makes all the difference in terms of speeding up the edit. Thanks Josie
-
Battery reporting it is fully charged when it isn't
Hello, Read through some of the forum posts last night and this morning to see if my question was answered but didn't really see anything. Here is the issue: Problem: Macbook Pro's Battery is reporting that it is fully charged when it isn't. This is