ABAP Query not transporting properly
Hi,
I m trying to transport an ABAP Query and infoset together in a single change request. The infoset of query has generated fine except for some warnings about currency. And the query is also running fine on development. But when I transport the infoset and query together to the quality client the transport log shows the transport as successful, but doesnt show the.
Activate inactive runtime objects at all.
Also the query and infoset have not been transported, I checked in SQ02.
Please see the transport log below. I dont know what I m doing wrong. I cant move the infoset and query separately to production, I have to move them together. Any suggestions, will give points for the right answer. Thanks for reading
QTD Master Data QA
600 Selection for Import 11/30/2006 17:08:14 (0) Successfully Completed
Check Versions 11/30/2006 17:13:03 (0) Successfully Completed
600 Selection for Import 11/30/2006 17:13:50 (4) Ended with Warning
600 Import 11/30/2006 17:14:30 (0) Successfully Completed
5 Import steps not specific to transport request
Feedback after export or import 11/30/2006 17:13:15 (0) Successfully Completed
Hi
After transport the request from original system to destination system, you have to do the import.
So run trx SQ02, Enviroment->Transports
Here you should be in the same screen where you have created the request.
Now choose <b>IMPORT</b> options,<b> Overwriting allowed</b> chekbox ans insert the request number in <b>Dataset with imports</b>.
Max
Similar Messages
-
Query not ended properly..
hi frenz
I am running this program , taking data froom a file n passing it between th IN clause but when more that 100 values are passed to
it gives thae error that "Query not ended properly.."
plz help as soon as posible
String query = "SELECT * FROM "+service+"."+fileName + " where " + fileName + "." + colNames[0] + " IN (";
System.out.println("Curr Qry >>> "+query);
try {
String newFile = filePath+fileName+".CTL";
bufWrite = new BufferedWriter(new FileWriter(newFile));
bufWrite.write("LOAD DATA INFILE * APPEND INTO TABLE " + service + "." +
fileName + "\n");
bufWrite.write("FIELDS TERMINATED BY '" + delimiter +
"' OPTIONALLY ENCLOSED BY '\"' (");
for (int x = 0; x < fileDataFormat.length; x++) {
bufWrite.write(fileDataFormat[x]);
counter = 0;
while (counter < dateFields.length) {
System.out.println(" checking >> "+fileDataFormat[x]+" with >>> "+dateFields[counter]);
if (fileDataFormat[x].equals(dateFields[counter])) {
bufWrite.write(" DATE 'yyyymmdd' ");
System.out.println("EQUALITY check >>> "+fileDataFormat[x]+".equals("+dateFields[counter]+")"+fileDataFormat[x].equals(dateFields[counter]));
counter++;
if ( (x+1) != fileDataFormat.length) {
bufWrite.write(",");
bufWrite.write("\n");
bufWrite.write(") BEGINDATA \n");
bufWrite.flush();
con = SQLUploader.getConnectionObj(uName, uPass, driver, url);
System.out.println("1111");
//Check the code from here
enumer = hash.keys();
String personId = null;
while (enumer.hasMoreElements()) {
//Getting personid's in array
personId = (String) enumer.nextElement();
vector.add(personId);
qryBuff.append(personId);
ctr++;
if (ctr != hash.size())
qryBuff.append(",");
query += qryBuff.toString() + ")";
System.out.println("Query generated >>> " + query);
stmt = con.createStatement();
rs = stmt.executeQuery(query);Unreadable. Use code tags
Awful code. Appears to be a muddled mess to me.
That doesn't look like ANSI standard SQL to me. Which database uses "FIELDS TERMINATED BY"?
Some databases have a max query length and a limit to the number of entries in the IN clause. Maybe you've hit that.
Print out the SQL you've generated and see if it's correct. Hard to tell in code.
You should use PreparedStatement if your query involved Dates.
All that writing is confusing and messy. I'd prefer something like Log4J that I could turn off and on.
% -
Creting 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
farukhHi farukh,
1. If any query is re-generatred,
then some MANUAL INTERVENTION
is absolutely required.
2. Hence, what we prefer is this :
1. Generate first query.
2. Copy the code to a Z Program
3. Attach tcode to THIS z program.
4. Transport
3. Now,
whener the query is generated again,
AGAIN COPY THE CODE
TO OUR Z PROGRAM (2ND STEP ABOVE)
(which has already been created)
AND TRANSPORT JUST THIS Z PROGRAM.
REST WILL TAKE CARE OF ITSELF.
4. In such cases,
ONLY COPY-PASTE IS REQUIRED.
(and it takes not more than 15 SECONDS)
regards,
amit m. -
Absent of Alpha routine : Query not running properly
Hi All,
We are facing below problem in execution of query,
Problem: We have forgot to set ALPHA routine property in some info object and loaded full data in the data target,
But when we run report without leading zero, the query is giving wrong output
Ex:
Data in target: 0000201
Data in Query: 201
For above selection report will give wrong result because absent of ALPHA routine lead 0000201 and 201 as different value.
Constrains: We have loaded millions of data in targets so we couldnu2019t delete and reload data
Please provide me some valuable input to overcome above problem.If you are lucky you are still on BW3.5. In that case there is an ABAP that can do the correction for you.
In BW7.0 this ABAP is not working anymore and no support is available for alpha correction. The only solution that I see is indeed reload all data.
If you have an ODS before your cube and work with delta, you could:
- create another IOBJ with ALPHA.
- fill this IOBJ from the first IOBJ via transformation rules or analysis process
- add new IOBJ to ODS and CUBE and adapt transformation rules
- generate new (fresh) index on CUBE
- replace old IOBJ by new IOBJ in queries
Or, alternative:
- create a new cube with the new IOBJ and without the old IOBJ
- load the new CUBE
- rebuild queries on new cube
- discard old cube -
ABAP Query - Not showing the required changes through Z T.Code
Hi,
I have a ABAP Query for OPEN DELIVERY QUANTITY (T.Code - ZABC). I change something in QUERY and activate. After that i execute it, and saw required changes.
But when i execute it with the T.Code - ZABC, it does not show the changes. Even i Save and Test with the SQ01 t.code.
Please tell me, what is the problem in it. Why not showing the required changes through T.Code - ZABC.
Regards...HI,
Dear, it seems that you have changed the query in SQ02 and then just save it and not generated.
or may be after generation again clicked on SAVE button.
So untill unless you will not generate the query, it won't work.
Secondly, by chanegs in the query, i don't think it changes the name of the main program.
Regds,
Anil -
Dear all,
I have created ABAP query on purchasing. But in SQ1, when I executed " TEST", it throws message "List is wider than 255 characters (generation not possible) ". please let me know what changes I need for successful execution of query?
thanks and regards,
PrashanthHi Prashanth,
It seems that the output that you generate is wider than 255 char. try with lesser fields in the output and check.
Hope it helps.
Thanks,
Anju -
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 -
Web Dynpro ABAP personalization not transported to Quality
Hello,
We personalized the iView in portal with j2ee_admin credential for SRM7.0 implementation at Role level.
We got the pop up saying Do no Transport personalization and transport personalization. We chose Do Not Transport Personalization in portal.
We transport the personalization using the application WD_ANALYZE_CONFIG_USER , we transported for all user.
But when we check in the portal the personalized content is not shown.
Could anyone help on this asap since we are in phase of UAT?
Regards,
Senthil Kumar S.Please post it in forum [SAP Community Network Forums » SAP Solutions » Floorplan Manager for WebDynpro Abap |;
Close this thread. -
SAP ABAP Query not generated after upgrade
Hi All,
Our client has upgraded from 4.6c to ECC 6.0
In the upgraded server some SAP Queries have not been generated and others have generated. I wanted to know why all are not generated .
I also wanted to know if any table name exists which maintains query with generated program name
Please let me know your learnings on SAP/ABAP Query if any
Thanks in advanceI forgot to mention that FM will just give u the report name..wont generate it.
I dont think the report name is saved in any tables... it is generated ...
but u can derive the report name..if u know the user group and query name.. by concatenating those ..
for details..look into the code for that FM -
List of Character which cause Query not work properly
I want the List of characters and resolution which can leads the SQL query to not work properly
LIKE
Problem: Single Quotes " ' " in SQL query.
Solution: Use one more single Quotes
Example: Select 'D''Sa'as EName from dual;
Please provide all Such special cases so I take care while developing my application.That's what I ment by 'copied to every other iBook I have to create in this series' ( I mean 'linked in ePub export pop up').
I use a small CSS file containing what I need and have no surprises anymore. I learned a lot this weeks...
And concerning InDesign (as I always say in the IT-world): For every solution there is a problem...
Cees
information designer -
ABAP query not returning correct number of records
Hi,
I have created an ABAP Query using logical database VFV and nodes VBRK, VBUK and VBRP.
But, after entering values for Sales Organisation ( VBRK-VKORG ), Distribution channel ( VBRK-VTWEG ) and Date ( VBRK-FKDAT), the number of records that I get are very less in number as compared to the actual number in the database.
Please give some pointers to the reason. I have set Lines 60 and Columns length - 83 and selected ALV List.
Regards,
Garima.Hi Garima,
Please Check whether you are selecting all the Key fields in your Query.
Thanks & Regards,
Ashok kumar. -
Process Type ABAP does not work properly via process chain
Dear SDNers
I am running a process chain and it contains process type ABAP program. ABAP program was running correctly till now via this process chain. ABAP program process type generally takes approximately 2 hours to run. But now, this process type for ABAP program just run for less than 1 minute and finishes successfully. The issue is that ABAP program does not run at all.
I ran the ABAP program in background and it took approximately 2 hours to run. ABAP Program is local means in our BW system and does not involve Remote Function call. We have BI7.0 system
Has some one came across this type of issue?
Best Regards
PradipHas the aleremote user or which ever user you have defined for background scheduling changed permissions recently?
What happens if you create an adhoc chain and include this ABAP variant, does it run then?
What does the log say in SM37 when run via process chain?
Cheers
Craig -
I have a simple inventory query where the user can input a
search term, and a price span in 2 text boxes, named p1 and p2, the
search box is named s.
When I just change the price boxes and submit, it works
perfectly, but if I put anything in the search text box, it always
returns 0 records, even though I know it should be returning
hundreds of records. The real kicker here is that when I copy the
query submitted to the db in the debugging section, and I paste it
directly into the access database, it runs perfect.
What could make it run perfect in the db directly, but not
return any records when sent via CF?
Any suggestions would be helpful, thank you, and the CF code
is listed below, then below that the code found in the debugger
with my sample search.Welcome to the world of non-standard SQL. ANSI standard SQL
is a myth. Trial and error and experience is the only solution. Not
only are things vastly different between the database players (even
those that purport to be ANSI compliant), things are even different
amongst the different drivers (ODBC, JDBC, OLE, Native, etc.) that
you can use to go against those databases. Typically Database
differences will simply crash. With Driver differences, anything
can happen, although they are typically more restrictive. They will
often not allow certain keywords or constructs to pass through even
though the DB supports it. -
Migrated 3.x query not working properly
Hi All,
I am migrating existing 3.x queries in system to BI 7. Some queries are showing strange behaviour like when i am executing them in analyzer the results are perfect. When i am executing same queries on web through query designer or through a web template all the Key figures are coming completely balnk.
What may be the reason?? pls guide.
Regards:
Jitendra
Edited by: Jitendra Gupta on Apr 22, 2010 4:09 PMWelcome to the world of non-standard SQL. ANSI standard SQL
is a myth. Trial and error and experience is the only solution. Not
only are things vastly different between the database players (even
those that purport to be ANSI compliant), things are even different
amongst the different drivers (ODBC, JDBC, OLE, Native, etc.) that
you can use to go against those databases. Typically Database
differences will simply crash. With Driver differences, anything
can happen, although they are typically more restrictive. They will
often not allow certain keywords or constructs to pass through even
though the DB supports it. -
Condition Base Routine not transported properly
Hi Gurus,
I have created a Condition base Routine (For e.g 602) in T.code: <b>VOFM</b>
and written logic for Round off which is as follows.
<b>
FORM FRM_KONDI_WERT_602.
*{ INSERT DEVK905117 1
CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT'
EXPORTING
I_AMOUNT = xkomv-kwert
IMPORTING
E_AMOUNT = xkomv-kwert.
modify table xkomv transporting kwert.
xkwert = xkomv-kwert.
*} INSERT
ENDFORM.</b>
While creating it, it prompted for an accesskey. I given it and requested created.
The problem is the INCLUDE program is not appearing inside another program
<b>SAPLV61A</b>
How to include that INCLUDE program.
Please help.
Regards,
AnbuHi,
Have you activated the routine through program RV80HGEN.
In SE38 run this program to activate the routine.
Reward points if useful
Regards,
Amrish Purohit
Maybe you are looking for
-
How do I add a second Airport Express for Airtunes only?
I already have one Airport Express hooked up to my G5 for wireless internet. Works just fine. How, in simple english, do I add a second Airport Express to my downstairs stereo fot playing my iTunes music through. I have looked through the help sectio
-
FireWire is the only way to import Canon HV20 Camcorder videos into iMovie?
As a followup to my last post a moment ago tonight 1/30/08: Is it true that I need a FireWire cable to import Canon HV20 Camcorder videos into iMovie? If so, the Apple salesperson is wrong. He told me last Monday that purchasing the new iLife 2008 (t
-
Problem in mapping 1:M relationship
I am using toplink+jpa in my application. I have a 1:M unidirectional relationship (without association table) in my application. I am not able to find correct annotations to define it. Kindly help. Following code works when I use JPA+Hibernate but d
-
Pageflow calling on nested pageflow in different app
I have created a login app with a pageflow. I would like to create a totally separate app that could then call that login app if the person is logged in. I deployed the login app to the server and can get to it fine manually (ie http:\\localhost:7001
-
Can't modify bookmarks on managed account
I just tried to change some sites for my son's managed account in Safari 4 and it didn't work. Clicking on the (padlocked) bookmarks bar icon prompts for an administrator password as with Safari 3. However, nothing happens and the bookmarks bar doesn