Problem while copying standard program to Z Program
Hi SAP Forum,
I have copied one standard program to Zprg. and there are TWO Screens in standard program (100, 200). But in my Zprg only 200 copied, when I'm trying to copy Screen 100, it shows an error, "Screen already exists"..
And also, I've created one "Z" Transaction Code for my same program. In that, I've mention, Screen Number: 100.. When I execute "Z" Transaction, the Screen 100, will come as selection cretria is on that, and when I click on Execute Button, it comes back in SAP EASY ACCESS Screen (Initial Screen). But I want that, Screen 200 will come when I click on execute Button in Screen 100.
How can I resolve this?
Thanks
Devinder
Hi ags,
Thanks.. I've already changed the TCODE from code and second thing about Include, I've also changed the name of BOTH (two Includes) and it is working fine.. but error still coming...
Generation errors in program
Source code ???????????????????????????????????????? Line 0
Error when generating the selection screen "0100" of report "ZRVBBWULS
and also, I've done only one change in Include, I've added one select-options over there and getting the same error, but if I add PARAMETERS, then its executed successfully. But I want add a "Posting Date" as SELECT-OPTIONS.
Pls try to resolve this..
Thanks a lot in advance
Devinder
Edited by: Devinder Pawha on May 13, 2010 2:02 PM
Similar Messages
-
Getting problem while copying standard form
Hi All
In Tcode PDF8 I tried to copy the standard form for country grouping 40 i.e. India. But not getting any forms when I press F4 there. Tried for USA and Germany standard ones are there. Only for India no standard form is appearing.
Can anybody help me out plzz.
Regards
SwathiHi ags,
Thanks.. I've already changed the TCODE from code and second thing about Include, I've also changed the name of BOTH (two Includes) and it is working fine.. but error still coming...
Generation errors in program
Source code ???????????????????????????????????????? Line 0
Error when generating the selection screen "0100" of report "ZRVBBWULS
and also, I've done only one change in Include, I've added one select-options over there and getting the same error, but if I add PARAMETERS, then its executed successfully. But I want add a "Posting Date" as SELECT-OPTIONS.
Pls try to resolve this..
Thanks a lot in advance
Devinder
Edited by: Devinder Pawha on May 13, 2010 2:02 PM -
Copying standard prog to custome program with includes that includes hd inc
Hi gurus,
i got one requirement,
I have to copy standard program to custome program with includes ,that includes con tain few more includes. so how can i copy all the includes into the custome progam.
please tel me.Hi Vijayam,
In SE38, give the name of the standard program, in menubar goto program -> copy, which will take you to a pop up, check the checkbox for 'INCLUDES' to copy all the standard includes. But this will not copy the custom includes(starting with Z). To copy the custom include, you need to create new include in your copy program.To create a new include, click on icon 'Display Object List' which will display the objects list for your program, now right click on your program name in this list and select CREATE-> INCLUDE. Give the name of include and now copy the code from standard program include to your include.
I hope your problem is solved now.
Regards,
Pranjali -
Error: While Copying Standard Program FBCJ
Dear Experts,
I tried to copy the standard program because the requirement was to change the menu fuction for save and post.
So i copied the T.Code FBCJ to ZFBCJ. It Copied Successfully and i assigned the tcode also. But While executing the T code
the system Shows the error message
"System error in routine FI_TAX_GET_TXJCD_STRUCTURE
error code 1 function builder TAX2"
Kinldy help me to resolve this issue.
Waiting for your valuable replies.
Kindly give some ideas.
Thanks and Regards,
Karthik V
Edited by: karthikani on Nov 24, 2010 10:30 AMHi,
are the both client environments hav same version (ECC 6).
In ECC 6 version type X is not allowed.
To avoid this problem,
you need to declare the field of TYPE C.
you need to get the value from Cl_ABAP_CHAR_UTILITIES.
Regards
Sandeep Reddy -
Strange problem when copying standard program SAPF100 (transaction F.05)
Hi there ABAP'ers,
I've got a very strange problem I can't figure out :/
I'm doing a copy of a standard program - SAPF100, which stands for F.05 transaction.
I copy it to ZSAPF100 and after launching it, filling a selection-screen with data and F8 I'm receiving a dump
GETWA_NOT_ASSIGNED
Field symbol has not yet been assigned.
The termination occurred in the ABAP program "SAPF100" in "DO_SKC1C".
The main program was "ZSAPF100 ".
The termination occurred in line 253 of the source code of the (Include)
program "SAPF100_SBEW"
of the source code of program "SAPF100_SBEW" (when calling the editor 2530).
and when debugging the place in Zcode where error occurs - really a fs is not assigned, whilst in standard code is assigned.
Why such situation appeared? I just copied the standard program and launched a copy :/ How to deal with that problem?
I will be very very very thankful for a help.
Regards. P.I'm doing the copy:
Components:
Source
Text elements
Documentation
Variants
User interface
Screens
INCLUDEs
Includes:
FROM -> TO
<ICON> Z<ICON>
<LINE> Z<LINE>
FIUUMS40 ZFIUUMS40
RKASMAWF ZRKASMAWF
SAPF100_I1 ZSAPF100_I1
SAPF100_POSTINGS ZSAPF100_POSTINGS
SAPF100_SBEW ZSAPF100_SBEW
SAPF100_SLDATA ZSAPF100_SLDATA
SCHEDMAN_EVENTS ZSCHEDMAN_EVENTS
And still DUMP -
Error while submitting standard import purchase order program
Hi,
iam submitting Standard import purchase order concurrent program, iam getting
error in view - output like
Enter value for 12: EXEC FND_CONC_STAT.COLLECT;
Enter value for 14:
in view-log like
To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
AUDSID = 10451963
can any one help me?
Regards
BhaskarPlease paste the code here.. there may be some parameter issue while submission.
-
Problem while running dos command from java program
Dear friends,
I need to terminate a running jar file from my java program which is running in the windows os.
For that i have an dos command to find process id of java program and kill by using tskill command.
Command to find process id is,
wmic /output:ProcessList.txt process where "name='java.exe'" get commandline,processid
This command gives the ProcessList.txt file and it contains the processid. I have to read this file to find the processid.
when i execute this command in dos prompt, it gives the processid in the ProcessList.txt file. But when i execute the same command in java program it keeps running mode only.
Code to run this command is,
public class KillProcess {
public static void main(String args[]) {
KillProcess kProcess = new KillProcess();
kProcess.getRunningProcess();
kProcess = new KillProcess();
kProcess.readProcessFile();
public void getRunningProcess() {
String cmd = "wmic /output:ProcessList.txt process where \"name='java.exe'\" get commandline,processid";
try {
Runtime run = Runtime.getRuntime();
Process process = run.exec(cmd);
int i = process.waitFor();
String s = null;
if(i==0) {
BufferedReader stdInput = new BufferedReader(new
InputStreamReader(process.getInputStream()));
while ((s = stdInput.readLine()) != null) {
System.out.println("--> "+s);
} else {
BufferedReader stdError = new BufferedReader(new
InputStreamReader(process.getErrorStream()));
while ((s = stdError.readLine()) != null) {
System.out.println("====> "+ s);
System.out.println("Running process End....");
} catch(Exception e) {
e.printStackTrace();
public String readProcessFile() {
System.out.println("Read Process File...");
File file = null;
FileInputStream fis = null;
BufferedReader br = null;
String pixieLoc = "";
try {
file = new File("ProcessList.txt");
if (file.exists() && file.length() > 0) {
fis = new FileInputStream(file);
br = new BufferedReader(new InputStreamReader(fis, "UTF-16"));
String line;
while((line = br.readLine()) != null) {
System.out.println(line);
} else {
System.out.println("No such file");
} catch (Exception e) {
e.printStackTrace();
return pixieLoc;
} when i remove the process.waitFor(), then while reading the ProcessList.txt file, it says "No such file".
if i give process.waitFor(), then it's in running mode and program is not completed.
Colud anyone please tell me how to handle this situation?
or Is there anyother way to kill the one running process in windows from java program?
Thanks in advance,
SathishHi masijade,
The modified code is,
class StreamGobbler extends Thread
InputStream is;
String type;
StreamGobbler(InputStream is, String type)
this.is = is;
this.type = type;
public void run()
try
InputStreamReader isr = new InputStreamReader(is, "UTF-16");
BufferedReader br = new BufferedReader(isr);
String line=null;
while ( (line = br.readLine()) != null)
System.out.println(type + ">" + line);
} catch (IOException ioe)
ioe.printStackTrace();
public class GoodWindowsExec
public static void main(String args[])
try
String osName = System.getProperty("os.name" );
String[] cmd = new String[3];
if( osName.equals( "Windows 95" ) )
cmd[0] = "command.com" ;
cmd[1] = "/C" ;
cmd[2] = "wmic process where \"name='java.exe'\" get commandline,processid";
} else {
cmd[0] = "cmd.exe" ;
cmd[1] = "/C" ;
cmd[2] = "wmic process where \"name='java.exe'\" get commandline,processid";
Runtime rt = Runtime.getRuntime();
System.out.println("Execing " + cmd[0] + " " + cmd[1]
+ " " + cmd[2]);
Process proc = rt.exec(cmd);
System.out.println("Executing.......");
// any error message?
StreamGobbler errorGobbler = new
StreamGobbler(proc.getErrorStream(), "ERROR");
// any output?
StreamGobbler outputGobbler = new
StreamGobbler(proc.getInputStream(), "OUTPUT");
// kick them off
errorGobbler.start();
outputGobbler.start();
// any error???
int exitVal = proc.waitFor();
System.out.println("ExitValue: " + exitVal);
} catch (Throwable t)
t.printStackTrace();
}when i execute the above code, i got output as,
Execing cmd.exe /C wmic process where "name='java.exe'" get commandline,processid
and keeps in running mode only.
If i execute the same command in dos prompt,
CommandLine
ProcessId
java -classpath ./../lib/StartApp.jar;./../lib; com.abc.middle.startapp.StartAPP 2468
If i modify the command as,
cmd.exe /C wmic process where "name='java.exe'" get commandline,processid > 123.txt
and keeps in running mode only.
If i open the file when program in running mode, no contents in that file.
If i terminte the program and if i open the file, then i find the processid in that file.
Can you help me to solve this issue? -
Problem while copying layout set
Hi,
Can anyone please solve my probelm.
I have two clents Ct3(330) and Ct2(330).
in CT3(330) one layoutset is there called "Z_MEDRUCK_11120" is tehre inEnglish, German and Polish laguages.
But in CT3(330) "Z_MEDRUCK_11120" only having English, German languages but polish language related layoutset is not there.
My problem is i wanted to copy Z_MEDRUCK_11120 polish layout from ct3(330) to ct2(330). is there any procedure to copy the layoutset in cross client.
Regards,
Koti ReddyHi Koti garu ,,
you saying that system diffrent ....do you mean Servers diffrent right .... try to transport that script from one system to another system throught se09.
and in your requriment need in polish lang. also mean you have to ask to Functional people and TL to add new lang. in system..
.... If script is in $tmp (local object ),, go and change in RSWBO052 -Program and add package to that script.
From ,,
B.Madhu sudhan reddy .
Abap - cons..(Mumbai) -
Problem while copying Text from Jtext Area ..
I am trying to copy text from a JtextArea onto any Text Editor .. What happens is that the pasted text in the Text Editor eg : TextPad, JCreator etc .. has extra Carriage Return appended at the end of everyline (line separator to be exact).
Eg :- Actual Text on Text Area :
Executing PU for PMGS.................
Completed PMGS PU successfully.
- When Pasted on a Text Editor Blank Document becomes :
Executing PU for PMGS.................
Completed PMGS PU successfully.
I am not being able to understand how this extra CR (Carriage Return gets added .. Looking for an urgent solution to this problem ,,rathor5 wrote:
When I am copying a song from my pc to lumia 620 . It automatically create 3 or 4 links of that song in "music+video" hub . I have already refreshed my phone but the problem is still persists.
Do you already have the amber update on your Lumia? Pre-amber solution for that is to perform a complete hard reset of the device - so make it sure to do a backup first.
Good luck -
Problem while copying two files into same file
Hi,
I want to copy n number of files into the same file.I am using the below code for the purpose.
private void testFiles(){
FileOutputStream fos = null;
String file1 = "C:"+File.separator+"test1.doc";
String file2 = "C:"+File.separator+"test2.doc";
String file = "C:"+File.separator+"test123.doc";
File testFile = new File(file);
ArrayList arrFiles = new ArrayList();
arrFiles.add(file1);
arrFiles.add(file2);
try {
fos = new FileOutputStream(file,true);
for(int i = 0; i < arrFiles.size();i++){
int ReadBytes = 0;
int BUFSIZ = 4096;
long fileSize ;
long copiedBytes=0;
String curFileName = (String) arrFiles.get(i);
File srcFile = new File(curFileName);
FileInputStream fis = new FileInputStream(srcFile);
fileSize = srcFile.length();
byte Buf[] = new byte[BUFSIZ];
while(copiedBytes < fileSize)
ReadBytes = fis.read(Buf, 0, BUFSIZ);
fos.write(Buf,0,ReadBytes);
copiedBytes +=ReadBytes;
System.out.println("copied files::"+curFileName);
fis.close();
fos.flush();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally{
try {
if(fos != null){
fos.flush();
fos.close();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}Iam expecting that both the files will be copied sucessfully.But iam able to see only one file.But the file size of the destination file is the sum of both the source files copied.So that means the content is copied.Any ideas on possible causes/solutions.
Thanks in advance.Hi,
Just a thought, if you build a sequence of inputstream using SequenceInputStream something like that
String file1 = "C:"+File.separator+"test1.doc";
String file2 = "C:"+File.separator+"test2.doc";
FileInputStream s1 = new FileInputStream(file1);
FileInputStream s2 = new FileInputStream(file2);
FileInputStream[] array = new FileInputStream[2];
array[0] = s1;
array[1] = s2;
EnumerationImpl enumeration = new EnumerationImpl(array);
SequenceInputStream sequence = new SequenceInputStream(enumeration);
//code here the read to go through the sequence of inputstream and write them into FileOutputStream
// and your Enumberation implementation class as below
public class EnumerationImpl implements Enumeration<FileInputStream> {
private FileInputStream[] array;
private int index;
public EnumerationImpl(FileInputStream[] array) {
this.array = array;
public boolean hasMoreElements() {
return index < array.length;
public FileInputStream nextElement() {
if (index < array.length) {
return array[index++];
throw new NoSuchElementException();
} Regards,
Alan Mehio
London, UK -
Problem while copying the org unit
Hi,
SRM 4.0.
In PPOMA_BBP, user is trying to create a new org unit by copying an existing org unit. When the new org unit is created, the relationship B012 (Is managed by) is getting copied and is showing in PP01 and also showing in HRP1001 table. In the current org structure, every org unit is having a manger (with a red hat). When copying the org unit, the manager is not getting coped but the relationship is getting copied as mentioned above.
This should not happen. And this is not happening while creating a new org unit by clicking on the "Create" button in PPOMA_BBP.
Appreciate for any suggestion how to solve this.
Thanks & Regards,
AswiniHello Aswini,
I checked on a SRM 7 release and i get same behaviour as the one you described.
I did not find any OSS notes regarding this point.
I advise you to open an OSS message to have SAP clarification on this point.
Regards.
Laurent. -
Problem while copying datas using Copy Express
Hai Experts,
Greetings.
We were trying to copy Master and Configuration datas from test database to Live database using Copy express. The datas from Item Master, BP Master copied Correctly, but, in CoA (we are using Segmented Accounts) the G/L Account --> the Code column shows the System refernce no. (ie., _SYS00000002679) and the Name of the G/L Account is copied correctly.
Is there any solution to solve this problem.
Thanks and Regards
RajaOn your test company, there's segmented accounting setup. Is the segmented accounting setup on the Live company (or have you managed to use copy express to copy over the segments and other settings)?
If you've done that, then maybe you could export to XML your Copy Express worksheet and upload it somewhere so we can have a look? -
Problem while copying application
Hi,
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Application Express 3.0.1.00.08
I've got this message while copyin an application :
ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 16, column 14: PLS-00103: Encountered the symbol "ID_CIV" when expecting one of the following: ) , * & = - + < / > at in is mod remainder not rem <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_ LIKE4_ LIKEC_ between || multiset member SUBMULTISET_ <pre>declare h varchar2(32767)
Unable to copy application 113.
Anybody can help me ?
PS : excuse my english !the import is working through apex.oracle.com but it's not in my database
i've got a new error :
ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 10, column 1: PLS-00306: wrong number or types of arguments in call to 'CREATE_PAGE' ORA-06550: line 10, column 1: PL/SQL: Statement ignored <pre>begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'No help is available for this page.'; ph := null; wwv_flow_api.create_page( p_id => 1, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> 'A -
UNIQUE PROBLEM WHILE CHANING STANDARD REPORT
Hey guys,
I am adding few coloumns to exsisting ALV GRID(in a standard report which is developed for printing GL account detials of vendors)
But the problem is,the cloumn in position 12,comes again in position 13...
the original report has 12 coloumns,i added 8 more columns..
but the cloumn in 13 has same values as in 12..
why is it happening?how can i corecT?NAH,
i checked rechecked....
hasnt got to do anythign with structure of FC..
peculiarly,no matter what,the coloumn in 13 gets effected this way...
i.e if i try to hide the coloum creating problem,the coloum which replaced it behaves the same way...
i.e vlaues in coloumn 13 = vlaues in coloumn 12 no matter what.
intrestingly if i change reuse_alv_list_display to grid_display..
this paticular problem doesnt arise...
however i cannot display grid..i ahve to display list.. -
Problem while copying function modules..
Hi,
I am trying to copy a function module called MRM_ENTRY_ERS to Z function module.
Now the problem is there are 6 performs inside the function module and again in those 6 performs there
are around 10s of performs.
So its really hectic to create includes for form-endform for all of those performs.
Is there a way that when I copy all those form-endform without creating includes for every perform ?
I mean is there some easier way to do it ?
Thanks.
Rajesh.Hi,
I think copy the total Function group MRMN of this FM (MRM_ENTRY_ERS) into new function group like ZMRMN.
Please go to SE80, select function group, enter MRMN, press enter. Select the Function group MRMN, press the right butoon, click copy option, now you enter the new function group like ZMRMN,click copy, then after you select the copy function module(only if you need to Z fm), given the Z FM name and then press copy button, then it copies the function module successfully
subbarao
Maybe you are looking for
-
Using cookies to remember the last 2 links visited
Hey everyone, I am trying to use learn JSP and cookie. I am making a webpage, and it is suppose to remembers the last 2 links selected from the website. Basically, there are a few radio buttons. The user is to pick one, press submit. I am trying to w
-
Any help on this please.
-
HT1386 iphone 4s - need to sync with outlook on computer
i have the iphone 4s - i enter calendar info in outlook on my laptop - i want to be able to sync the everything in outlook (calendar, contacts) on my computer with my phone - for some reason, when i plug the phone into the computer and press sync, th
-
Urgent:Restart the Depreciation posting Period
Hi, We are having a problem. We are working on 4.7 version using the depreciation program RAPOST2000. The user executed the depreciation run for the period 01.2008 . The was not successful, subsequently they closed the periods and opened the 02.200
-
CS4 Helvetica-83pv-rksj-h*
Is anyone having issues with Helvetica-83pv-rksj-h* in illustrator CS4? Is this a legacy font that CS4 does not recognize? What can be done to get this font to load or what is the substitute?