At least one entry into table
Hy!
How can I find if there's at least one entry into table ?
Thanks
Hi,
Ok..Check the example for the database table..
SELECT SINGLE * FROM MARA.
For internal table..
You can also use..
READ TABLE ITAB TRANSPORTING NO FIELDS INDEX 1.
IF SY-SUBRC = 0.
WRITE: / 'ONE RECORD FOUND'.
ELSE.
WRITE: / 'NO RECORD FOUND'.
ENDIF.
Thanks
Naren
Similar Messages
-
Bursting Error : ZIP file must have at least one entry
Hai All,
I am trying to Burst report in 11.5.10.2 instance. When tried bursting it the it got the following error.
XML Publisher: Version : 11.5.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XDOBURSTREP module: XML Publisher Report Bursting Program
Current system time is 04-JUN-2009 12:40:16
XML/BI Publisher Version : 5.6.3
Request ID: 387463
All Parameters: ReportRequestID=387460:DebugFlag=Y
Report Req ID: 387460
Debug Flag: Y
Updating request description
Updated description
Retrieving XML request information
Node Name:ERP
Preparing parameters
null output =/d02/appluat/uatcomn/admin/out/UAT_erp/o387463.out
inputfilename =/d02/appluat/uatcomn/admin/out/UAT_erp/o387460.out
Data XML File:/d02/appluat/uatcomn/admin/out/UAT_erp/o387460.out
Set Bursting parameters..
Temp. Directory:/tmp
[060409_124018651][][STATEMENT] Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 Production
[060409_124018653][][STATEMENT] setOAProperties called..
Bursting propertes.....
{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=387460, user-variable:cp:language=en, user-variable:cp:responsibility=50352, user-variable.OA_MEDIA=http://erp.adgs.ae:8030/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=387460, user-variable:cp:locale=en-US, user-variable:cp:user=GVU, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=387463, user-variable:cp:org_id=103, user-variable:cp:reportdescription=Pension Fund}
Start bursting process..
Bursting process complete..
Generating Bursting Status Report..
--Exception
ZIP file must have at least one entry
java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:292)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
Can anyone please help me on this..
RegardsPl help me is there any way to overcome this error, when supplier email address is present then , bursting file works fine, if supplier address is null , then it is giving me error , please find the error also.........
Bursting XML File ...........
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
<xapi:request select="/XXDBD_POPRPOP_SA/LIST_G_INIT_INFO/G_INIT_INFO/LIST_G_HEADERS/G_HEADERS">
<xapi:delivery>
<xapi:email server="mailgate.XXX.com" port="25" from="[email protected]">
<xapi:message id="emailpo" to="${CP_VENDOR_EMAIL}" cc="[email protected],[email protected]" attachment="true"
subject="Purchase Order No: ${POH_PO_NUM}">
Please find attached PO ${POH_PO_NUM}.
Regards,
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="Purchase Order ${POH_PO_NUM}" output-type="pdf" delivery="emailpo">
<xapi:template type="rtf" location="xdo://XXDBDPO.XXDBD_POXPRPOP_SA1.en.US/?getSource=true" filter=".//G_HEADERS[CP_VENDOR_EMAIL !='']"></xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
ERROR Generated from bursting file ............Pl help me...........its urgent .............
XML/BI Publisher Version : 5.6.3
Updating request description
Retrieving XML request information
Preparing parameters
Set Bursting parameters..
Bursting propertes.....
{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=529232, user-variable:cp:language=en, user-variable:cp:responsibility=20707, user-variable.OA_MEDIA=http://usncx054.XXX.com:8015/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=N, user-variable:cp:parent_request_id=529232, user-variable:cp:locale=en-US, user-variable:cp:user=RAJULAT, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=529233, user-variable:cp:org_id=84, user-variable:cp:reportdescription=DBD Printed Purchase Order Report English, user-variable:cp:Dummy for Data Security=Y}
Start bursting process..
Bursting process complete..
Generating Bursting Status Report..
--Exception
ZIP file must have at least one entry
java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Thanks -
Error in Workflow: At least one entry could not be found in object buffer
Hi All,
I am getting an error " At least one entry could not be found in object buffer" every time i try to open the BO in the binding section. I have cleared the buffer, have deleted the binding and BO and added again multiple times. But still the error is coming. Can anyone suggest a solution for this.What system are you on? ECC? CRM?
Are you sure that the object instance exists? -
Error log 'At least one entry could not be found in object buffer' in SLG1
Hi Experts,
We are getting error log 'At least one entry could not be found in object buffer' in SLG1 transaction.
Unable to trace the source of error. Could you please help us identifying the same.
Regards,
Santosh KachamHello,
the reason could be the use of order_save badi, mostly there is a wrong + faulty implementation which causes this error. Please check first if any own coding part is involved, when creating documents / tickets.
Thanks + regarsd
Rene -
ZipException: ZIP file must have at least one entry
When I place a security constraint on jar files in a Tomcat server to prevent unauthenticated access to the jar files
<security-constraint>
<display-name>Security Constraint</display-name>
<web-resource-collection>
<web-resource-name>ee</web-resource-name>
<url-pattern>*.jnlp</url-pattern>
<url-pattern>*.jar</url-pattern>
</web-resource-collection>
our jnlp applications can no longer download the needed jar resources and I get the following exception. ( It works fine when I take jar files out of the security-constraint list.) Any suggestions on why this is happening and how to get this to work?
Thanks.
java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(Unknown Source)
at java.util.zip.DeflaterOutputStream.close(Unknown Source)
at java.util.zip.ZipOutputStream.close(Unknown Source)
at com.sun.deploy.net.HttpDownloadHelper.download(Unknown Source)
at com.sun.deploy.cache.Cache.downloadResourceToTempFile(Unknown Source)
at com.sun.deploy.cache.Cache.downloadResourceToCache(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)What am i missing here???
ZipOutputStream zos = new ZipOutputStream(new FileOutputStream("out.zip"));
void goDir(String dirName) {
File dirObj = new File(dirName);
if (dirObj.exists() == true) {
if (dirObj.isDirectory() == true) {
// create an array of File objects
File[] fileList = dirObj.listFiles();
for (int i = 0; i < fileList.length; i++) {
if (fileList.isDirectory()) {
goDir(fileList[i].getPath());
else if (fileList[i].isFile()) {
goZip(fileList[i].getPath());
} // loop
else {
else {
void goZip(String filePath) {
try {
FileInputStream fis = new FileInputStream(filePath);
BufferedInputStream bis = new BufferedInputStream(fis);
ZipEntry fileEntry = new ZipEntry(filePath);
zos.putNextEntry(fileEntry);
byte[] buff = new byte[1024];
int len;
while ( (len = bis.read(buff)) > 0) {
zos.write(buff, 0, len);
zos.closeEntry();
bis.close();
catch (java.io.IOException ioe) {
ioe.printStackTrace() -
Problem: Stories must contain at least one entry
Hello, I have the following problem:
When I want to build/format a DVD project the following error message appear:
Starting DVD Build RV_MOVIES...
Compiler Initializing...
Precompiling Project RV_MOVIES
Parsing Assets...
Story 1:Stories must contain at least one entry
What do I need to do succeed burning the disc? How do I make an entry in the story? How do I delete a story if it is unnecessary?
Thanks for a good forum!Take a look here
http://dvdstepbystep.com/stories_details.php
A story needs at least one marker, if not you will get that message, To delete the story highligh it in outline view and press delete key (takee a look at the last picture in that link, it shows the English Play All Story being highlighted) -
Erro in bursting ZIP file must have at least one entry
Hi All ,
i am using bursting utility for xmlp report ,but getting the following error
--Exception
ZIP file must have at least one entry
java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
i have no clue y this error is coming ,any hint would be very helpful,
Thanks in advance
thanks
PratapHi All
i got resolved this error (Erro in bursting ZIP file must have at least one entry) ,was doing very silly mistake i was using the template name instead of Data Definition code name in location string
location= ' '
so the ZIP file error is removed ,now getting one more error after this ,which i am not able to under stand
--Exception
/tmp/011211_023243126/xdo1_164902_2.pdf (No such file or directory)
java.io.FileNotFoundException: /tmp/011211_023243126/xdo1_164902_2.pdf (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:532)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:299)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
Please help me on this
Thanks
Pratap -
At least one entry could not be found in object buffer
Hi All,
I am frequently getting the message <b>'At least one entry could not be found in object buffer'</b> when I am saving a service process through CRMD_ORDER.
Does anybody have faced the similar situation, if so pls help me on this.
(Note: For your information while saving the Service requwst, it automatically triggers some actions)
The above said error message is getting populated through the function module CRM_ORDER_H_READ_OB.
Any inputs on this will be highly appreciated.Hi Madireddy,
I assume you get error CRM_ORDER_MISC106. A possible reason might be
that the transaction type requests a main partner of partner function
type 0001. Maybe the Partner Determination procedure specified
for the transaction type in your system does not contain any
partner function belonging to the type 0001.The problem can be solved by adding a partner function of type 0001 (Sold-to) in the partner determination procedure.
Hopefully this helps. Please reward points!
Regards, Gerhard -
Uploading entries into table using bdc
hi,
I have save the recording first in the bdc and i got the source code in program. i want to add more entries multiple into the same tabel "zmat". with different zmatcode & zmat-zdesp.
please help me how to write the code. or what changes i have to do.
report ZRAJESH_BDC_01
no standard page heading line-size 255.
include bdcrecx1.
start-of-selection.
perform open_group.
perform bdc_dynpro using 'SAPLZMAT' '0002'.
perform bdc_field using 'BDC_CURSOR'
'ZMAT-ZMATCODE(01)'.
perform bdc_field using 'BDC_OKCODE'
'=NEWL'.
perform bdc_dynpro using 'SAPLZMAT' '0003'.
perform bdc_field using 'BDC_CURSOR'
'ZMAT-ZDESP'.
perform bdc_field using 'BDC_OKCODE'
'=SAVE'.
perform bdc_field using 'ZMAT-ZMATCODE'
'rajeshswami'.
perform bdc_field using 'ZMAT-ZDESP'
'test 1001'.
perform bdc_dynpro using 'SAPLZMAT' '0003'.
perform bdc_field using 'BDC_CURSOR'
'ZMAT-ZDESP'.
perform bdc_field using 'BDC_OKCODE'
'=NEXT'.
perform bdc_field using 'ZMAT-ZDESP'
'TEST 1001'.
perform bdc_dynpro using 'SAPLZMAT' '0003'.
perform bdc_field using 'BDC_CURSOR'
'ZMAT-ZDESP'.
perform bdc_field using 'BDC_OKCODE'
'=SAVE'.
perform bdc_field using 'ZMAT-ZMATCODE'
'ram 0001'.
perform bdc_field using 'ZMAT-ZDESP'
'test 0001'.
perform bdc_dynpro using 'SAPLZMAT' '0003'.
perform bdc_field using 'BDC_CURSOR'
'ZMAT-ZDESP'.
perform bdc_field using 'BDC_OKCODE'
'=UEBE'.
perform bdc_field using 'ZMAT-ZDESP'
'TEST 0001'.
perform bdc_dynpro using 'SAPLZMAT' '0002'.
perform bdc_field using 'BDC_CURSOR'
'ZMAT-ZMATCODE(02)'.
perform bdc_field using 'BDC_OKCODE'
'=BACK'.
perform bdc_dynpro using 'SAPLZMAT' '0002'.
perform bdc_field using 'BDC_CURSOR'
'ZMAT-ZMATCODE(02)'.
perform bdc_field using 'BDC_OKCODE'
'=BACK'.
perform bdc_transaction using 'ZMAT'.
perform close_group.hi archana , first thanks for helping me.
well this the code which i wrote.
report ZRAJESH_07 &
no standard page heading line-size 255. &
PARAMETERS: zcode type ZMAT-ZMATCODE, &
zdesp type ZMAT-ZDESP. &
data: itab type table of zmat, &
wa_itab like line of itab. &
include bdcrecx1. &
start-of-selection. &
perform open_group. &
perform bdc_dynpro using 'SAPLZMAT' '0002'. &
perform bdc_field using 'BDC_CURSOR' &
'VIM_POSITION_INFO'. &
perform bdc_field using 'BDC_OKCODE' &
'=NEWL'. &
perform bdc_dynpro using 'SAPLZMAT' '0003'. &
perform bdc_field using 'BDC_CURSOR' &
'ZMAT-ZDESP'. &
perform bdc_field using 'BDC_OKCODE' &
'=SAVE'. &
perform bdc_field using 'ZMAT-ZMATCODE' &
'raj1'. &
perform bdc_field using 'ZMAT-ZDESP' &
'test raj'. &
perform bdc_dynpro using 'SAPLZMAT' '0003'. &
perform bdc_field using 'BDC_CURSOR' &
'ZMAT-ZDESP'. &
perform update_nextdata using 'zcode' 'zdesp'. &
perform bdc_transaction using 'ZMAT1'. &
perform close_group. &
form update_nextdata using wa_itab-ZMATCODE wa_itab-ZMAT-ZDESP. &
loop at itab into wa_itab. &
perform bdc_field using 'BDC_OKCODE' &
'=NEXT'.
*perform bdc_field using 'ZMAT-ZDESP' &
'TEST RAJ'.
perform bdc_dynpro using 'SAPLZMAT' '0003'. &
perform bdc_field using 'BDC_CURSOR' &
'ZMAT-ZDESP'. &
perform bdc_field using 'BDC_OKCODE' &
'=SAVE'. &
perform bdc_field using 'ZMAT-ZMATCODE' &
wa_itab-ZMATCODE. &
perform bdc_field using 'ZMAT-ZDESP' &
wa_itab-ZDESP. &
perform bdc_dynpro using 'SAPLZMAT' '0003'. &
perform bdc_field using 'BDC_CURSOR' &
'ZMAT-ZDESP'. &
perform bdc_field using 'BDC_OKCODE' &
'=ENDE'. &
perform bdc_field using 'ZMAT-ZDESP' &
'RAJ2 TEST'. &
endloop. &
endform. &
regards,
<<Email address removed>>
Edited by: Matt on Mar 4, 2010 3:41 PM -
How to make entry into table J_1IEWT_ACKN
Dear Sir,
As per SAP Note 1172387 , for printing Acknowledgement Number in TDS Certificate (Tcode used for Certificate generation is J1INCERT) , Records pertaining to Acknowledgement Numbers need to be created in Table J_1IEWT_ACKN .
Kindly guide us , as how can we created Records into this table .
With Thanks and Regards
Sonia AgarwalaHi ,
Go to SE16 , Enter View Name -> V_EDSDC and Click on Display / Change Button to maintain entries .
Please note that you must have authorization to do maintainance for this table ; failing which you can only view the table .
If you are unable to add entries , I can tell you an alternative for doing so , through debugging . -
Simple tutorial for using alv-grid for data entry into table, please!
Hi friends,
I urgently need a basic, simple tutorial or step-by-step or sample code on the following:
I want to have a alv-grid like entry list where i can add/remove additional lines/entries that then are saved into an internal table. Please help me with that, as i studied already some documents but do not really get the idea of how to do - <REMOVED BY MODERATOR>
Thanks in advance,
Edited by: Alvaro Tejada Galindo on Jan 11, 2008 6:18 PMhi clemens,
follow this link it may be useful to u
http://www.sap-basis-abap.com/sapab033.htm
http://www.abapprogramming.blogspot.com/2007/04/alv-details.html
for tutorial on alv:
http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/ALV_tutorial.html
i have pdf material also ican give it to you if u give your email id.
hope this helps you
regards,
sravanthi -
How to get entries into table corresponding to transaction screen
Hi Folks,
i have got a new requirement i.e i need to develope a sceen which retrieves the records from the few ztables which i already created. I need to create log entry records in to another ztables about who have run that transactions, what are changes they have done and time , text , etc. How to achieve this , please let me know , thanks.
regards
Vishal.You can also look into USER_EXIT ( SUSR0001) in TR.SMOD.
Here you can code and update the table with log , who run when run etc .. See the SYST table in SE11 for different system parameters.
I code once in this user exit to calculate the frequency and time for different transaction with user and time stamp in certain period and I safe the log in my custom table .
Hope thisll give you idea!!
<b>Pl... award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise" -
Error Entry into Tables?
I am trying to capture errors that occur on pages throughout the application, and enter the data into the table below. The first 3 columns constitute the primary key. I need to grab the errors that occur and the necessary information, and ensure that it is entered into this table. Is there a simple way to do that through a procedure that runs on all pages? Thanks!
User_id NUMBER
Program_id NUMBER
Program_start_date DATE
Program_end_date DATE
Error_page VARCHAR2(32)
Return_code NUMBERWhich version of OWB is it? Is the SQL directory deployed that the external table is using?
Cheers
David -
" At least one entry could not be found in object buffer" Error
Hi there,
When I launch my PCUI application, I'm getting the above error. Is there a way that I can clear the buffer? This is strange, I keep refreshing but it doesn't seem to enter my application?!
Thanks in advance for any help.
CheersI just found a way to manage the sessions: -
<b>6.2.1.2 State Manager and List Manager</b>
The PCUI Framework features a component called the State Manager which lets applications store the state of their user interface between sessions. The State Manager provides an enhanced sense of continuity as the user switches from one application to another and then comes back to the previous application. It stores such attributes as the visual state of user interface elements, the list of objects displayed in the search result list, and so on. All list-related operations are accomplished by a component called the List Manager, which is also part of the PCUI Framework. Both the State
Manager and the List Manager are completely transparent to applications and require no additional coding in the model access classes. They are called directly by the BSP controllers. The State Manager and the List Manager operate based on specific customizing settings that can be accessed through the CRMV_BSP_SESMGTC maintenance view. This maintenance view is based on the CRMC_BSP_SESMGTC customizing table CRMC_BSP_SESMGTC -
Add more than one entry into a database from single form
I have a page that has 1 form that allows you to add 1 job.
I want to be able to have a button or something that says add
job and add another job.
When creating the database I did not create a table to hold
the order just add the job.
I am attempting to create a new version of the site with
order referencing job_id and customer_id so that a job can belong
to an order. And I can an order that has many jobs.
What is the best way I can do this and then I will need it to
be displayed on the invoice.
I also need to beable to create an invoice for the particular
job.
but that does not need to be done here.I have posted previously, but the requirement from my friend
has changed somewhat.
I have a add job page (add.php) and I need to add a
button/link to add more fields of the same to add a job to the
chosen customer.
Maybe you are looking for
-
Running a BEx report with more than one query in Background
I am having a workbook with 2 queries .This workbook needs to be executed at a particular time every day and then save this file to a application server location . The file name has to dynamic, as everday a new file has to be created with some date s
-
Invoking ORACLE Stored Procedure
Hello guys, I have an ORACLE stored procedure which I need to invoke. I'm currently unable to invoke the stored procedure since I'm always getting the same error: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing
-
How to build a https, simply, but detailled way
HI there! It took tones of hour trying to setup a https connexion and finally, it still not work. I went to tones of forums and try all the tricks written, nothing worked. Most of the time it is not clear. Most of the time it changed nothing. YOU are
-
[SOLVED] Nautilus icons disappeared after update
Probably after the last update, the icons in nautilus are replaced by some standard dummy icon. Last edited by strpeter (2013-06-11 07:32:46)
-
I've been having this problem for awhile now. If I type a word while using firefox (in a form, searching a page for that word/phrase, etc.), Firefox will later (at a seemingly random time) do an automatic search for that word/phrase and redirect me t