Smartform Table Line types duplicate entries problem
Hi ,
I am getting one strange problem in Smartforms. i tried for information in SDN but i did not get any usefull ones.
I have created my main window with particular width. I created two different Line types. On particular condition i need use these line types.
First line item will have 6 columns in that one column is empty.
Second liitem will have 5 columns.
When i am generating the output, the last item data of the first line type is repeating twice, i.e with first line type and the second line type.
Can anyone give me the inputs to solve this.
Thanks,
Srinivas Bhavanam
Did you check SAP notes?
I don't understand what you get exactly:
For the last line of the internal table, you would like to get this:
A B C D E F
G H I J K
But you get that:
A B C D E F
A B C D E F
Did I understand correctly?
Did you use something special? (header, footer, conditions, ...)
Similar Messages
-
How to display smartforms table lines useing different background colour
Hi all:
How to display smartforms table lines useing different background colour .
for example:
line1:green
line2:red
line3:green
line4:red
line5:green
line6:red
line7:green
line8:red
Any help is highly appreciated!!
启明星Hi,
Create a two lines one for header and second for data in the table.
1)In table painter we can find the pencil mark.
2)select the pencil mark
3)now select the line which you need to shade
4) now select the shading colour in the table painter and the provide the resolution up to 100% and select table pattrn for that line.
5) Now you can use this for the header now only the header gets shaded and the remaining gets unshaded.
reward points if useful
Thanks and Regards,
Nishant -
Printing double line in Column label Box/Table Line Type of smartform
Hi,
In MAIN window, in ITEM table, the header box, (where column labels are printed), one double lines r printing!! it looks like (not exactly) instead of single line (________) its printing double lines (======), so, pls. let me know, Wht culd be the reason?
Thank youHi,
Check that if you used table borders in attributes of line types.
And also check if you are using sy-unline...
Regards,
Shankar. -
631 movement type Duplicate Entry in RG1 Register against IDH & ROP classif
Dear Friends,
After after RG1 Registerupdate in J1I5. I v check the J_1iRG1 table and found that
same material Document against 631 movement type reappear under IDH(Issue) and ROP (Recipt) classification.
Advise me
1. Where is my mistake
2. What should to do rectify this double entry.
Regards
ArunHi
You should enter the movement types and storage locations at the time of extraction and updation so that the only relevant entries will come.
Any way checkc this note
Note 189687 - Duplicate entries generated in RG1 register update
regards
Prashanth -
Smartforms- TABLE -Lines,rgrding passing Quan&DATS fields to smartforms
Hi All ..
Iam working on Tables in smartform ,
These are queries to which i need solution ..
1) In (Window) Table- Heading i have created 3 LINES in which my data had to display...( i have a line in that TEXT is used to display a particular fields of the Itab ) . as i came to know that in my Zprog iam gettting my data in the fields but wen in smartform these fields values are not displayed ( when these fields are placed in LINE ) but wen these fields are placed outof LINE that is outof table then iamgetting value for these fields.. so please let me know wat are the changes that ishould do to get my data in my table ( LINE )
2) How to pass DATS and QUAN fields to the smartforms..
as iam getting data to DATS and Quan Fields in my Zprog but these values are not showed in my smartForm .. ..
Thanks in Advance..
Looking for a good reply ..
Aslam..Hi,
you have created 3 linetypes for table .
you have create loop for multiple records display.
in loop you have to pass table from which you are displaying inti output.
To internal table we get data from print program and create text for corresponding cells.
then it will pass those data to table.
2) create programlines for that.
in that mention table from which table is containing quantity.
that is import parameter specified .
export parameters are your output fields using for calculation.
AMOUNT = TAB3-NETWR.
Netamount = Netamount + TAB3-NETWR.
here input is tab3 table it contains quantity data.
lamount,netamount are output parameters.
like that you can display quantity.
or in global definitions currency/quantity fields tab is available you can pass there also.
for dat fields write logic for conversion of date and pass that variabl in form output. -
XML Bursting duplicate entry Problem
Hi,
I have added XML bursting concept to one of my program. When I run my main program some times XML Publisher Report Bursting Program giving following error.
duplicate entry: /Filename_14:00:41.pdf
java.util.zip.ZipException: duplicate entry: /Filename_14:00:41.pdf
at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:186)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:504)
at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:275)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
Could you give me any Idea about this error?. Please help me in this.
Thanks in advanceHi,
I'm also getting this error, but my filenames are unique already. I tried with Bursting Designer, and it created the separate files.
Any ideas?
logfile:
XML Publisher: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XDOBURSTREP module: XML Publisher Report Bursting Program
++---------------------------------------------------------------------------++
Current system time is 25-NOV-2009 09:45:46
++---------------------------------------------------------------------------++
XML/BI Publisher Version : 5.6.3
Request ID: 68702228
All Parameters: Dummy for Data Security=Y:ReportRequestID=68702207:DebugFlag=Y
Report Req ID: 68702207
Debug Flag: Y
Updating request description
Updated description
Retrieving XML request information
Node Name:PRIMO2
Preparing parameters
null output =/opt/apps/ebs/conc/out/o68702228.out
inputfilename =/opt/apps/ebs/conc/out/o68702207.out
Data XML File:/opt/apps/ebs/conc/out/o68702207.out
Set Bursting parameters..
Temp. Directory:/opt/apps/ebs/apps/apps_st/comn/temp
+[112509_094600328][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.130 - Production+
+[112509_094600331][][STATEMENT] setOAProperties called..+
Bursting propertes.....
+{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=68702207, user-variable:cp:language=en, user-variable:cp:responsibility=20678, user-variable.OA_MEDIA=http://primo-app.natinst.com:8000/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=68702207, user-variable:cp:locale=en-US, user-variable:cp:user=A2MESZAR, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=68702228, user-variable:cp:org_id=5935, user-variable:cp:reportdescription=NI Invoice Print Selected Invoices XML, user-variable:cp:Dummy for Data Security=Y}+
Start bursting process..
Bursting process complete..
Generating Bursting Status Report..
--Exception+
duplicate entry: /NI_RAXINV_SEL_XML_1328363.PDF
java.util.zip.ZipException: duplicate entry: /NI_RAXINV_SEL_XML_1328363.PDF
+ at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:175)+
+ at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:524)+
+ at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)+
+ at oracle.apps.fnd.cp.request.Run.main(Run.java:157)+
Regards,
Attila -
Table field set as "Initial" is not acceptinf duplicate entries
Hi all,
I have inserted a custom include structure(which has only one field and is made as Initial) into a standard field.
Then values inserted using
INSERT <table> FROM TABLE <Internal table> ACCEPTING DUPLICATE KEYS.
But if the internal table contains an entry which has the custom field value same as one of the value in database table, the insert statement is not working and is returning sy-subrc value 4.
The custom field is not a key field in the table.
Any pointers will be very helpful.
Thanks in advance,
SreekanthHi,
first just provide some entries into the database table using SE16 then check whether the new field is containing data or not.
if not just goto menu->utilities->database object->adjust & activate the table.
if still there is no change than in the report check
if the <internal table> line type is same as that of the database table.
ie all the fields are arranged in the same order as in database table
hope this help
thanks
ravi aswani -
Duplicate entries in REGUH and REGUP table
Dear All
Whenever we make payment in SAP either through FBZ5 or APP or any other payment transactions, SAP updates 2 tables REGUH and REGUP tables.
I believe SAP allows to make full payment for given invoice only once.
We are seeing some duplicate entries in REGUH and REGUP table for the given Payment document and Invoice.
Does anybody faced similar kind of issue
Regards
Madhan DI have been facing same kind of problem but in REGUP table, in Payment programe I have make cheque formart in smartform and made Z copy of payment program ZRFFOUS_C, I have also not find out the solution yet, it might be the issue of Z programe or SAP. I am using the ECC5.
I have to control this issue during printing cheque and delete duplicate entry. but still REGUP table have the duplicate entry.
if you find some solution please share with me
Regards -
Mavericks "open with" duplicate entries
Hi guys~ I updated to Mavericks just a few days and I'm enperiencing the same duplicate-entries problem (multiple MPlayerXs) in "open with" as that on previous OS X versions. Unfortunately the Termial method didn't work this time as "No such directory exists" poped up in Termial when I tried. Can you help me?
Link to the Termial metod: https://discussions.apple.com/thread/4250905?start=0&tstart=0Hello Meridianistaken,
I would try renaming or removing the "com.apple.LaunchServices.plist" Preference file as mentioned in:
Archived - Mac OS X: Clearing the Finder "Open With" contextual menu
http://support.apple.com/kb/ta24770
Thank you for thinking of Apple Support Communities for your support needs.
Nubz -
Assigning Table/Structure Types using Field-Symbols
Hello Gurus,
How can we assign a table or structure type to a particulart internal table?
What I want to do is to make my data declaration for i_tab reusable.
i.e.
DATA: v_tab TYPE string.
v_tab = 'MARA'.
DATA : i_tab TYPE STANDARD TABLE OF v_tab.
The purpose is to make the declaration flexible so program can change v_tab to any table names like LIPS, KNA1...etc making the i_tab flexible and reusable enough. Can anyone help me please? I try to use field-symbols, but I can not achieve what I want. Any bright ideas please?DATA: dref TYPE REF TO data.
FIELD-SYMBOLS: <table> TYPE STANDARD TABLE,
<line> TYPE ANY.
PARAMETERS: pa_tab TYPE tabname DEFAULT 'BUT000'.
CREATE DATA dref TYPE STANDARD TABLE OF (pa_tab).
ASSIGN dref->* TO <table>.
SELECT * FROM (pa_tab) INTO TABLE <table>
UP TO 10 ROWS.
LOOP AT <table> ASSIGNING <line>.
ENDLOOP.
<LINE> will take the structure of the table line at runtime.
This is quite flexible.
But you can also declare it like this, as we did with the <table>:
DATA: dref1 TYPE REF TO data.
CREATE DATA dref1 TYPE (pa_tab).
ASSIGN dref1->* TO <line>.
This way <line> will already have the correct structure, even before the <ASSIGNING>.
Edited by: Micky Oestreich on Mar 24, 2009 8:21 AM -
2 line types to be on same page in a table in smartform output
Hi,
In smartforms i have created a table with 2 line types. These 2 linetypes i hav used in the main area of the Table. The data is coming as wanted, but the problem is if there is more data to span to the next page also, then it happens that one line comes in the previous page and the next line comes in the next page. But i want both lines to be on same page. Between them there should not be a break.
Please help me on this.
ThanksHi ,
I will give you the suggesstion and code as well by tomarrow. -
Problem in Smartform Table/window Line Using Dot Matrix Printer
Dear Experts,
I faced issue in printing smartform using dot matrix printer. In the print result, the table line (horizontal and vertical) is not printed. I already search the forum but none can solve my issue. I already changed the table line width into 30 or 40 TW but still not work. Everything is OK in the print result, except the table line.
If i manually print/write '__' (underscore), it appear in the print result, but to write horizontal line and vertical line manually in the smartform will be huge effort.
I used device type EPESCP9 for the output device.
Can you tell me what i need to do?
your help will be appreciated.
ThanksHi,
Check your device type.
http://forums.sdn.sap.com/thread.jspa?threadID=2016838
Jshree -
Mapping Line type Data to table data
Hi,
I am trying to refer to a data element present in the line type of a table type which belongs to an import parameter of a smartform. How will i access the data element to use in the where clause of a select statement.
For Eg:
Import Parameter name: PARTNER_H
TYPE: CRMT_OUTPUT_PARTNER_H_COMT (table type)
The line type attached to this table type is CRMT_OUTPUT_PARTNER_H_COM.
This line type is the structure that contains the data element that i need to use. the details are as below:
Component: RELATION_PARTNER
Component type: BU_PARTNER_GUID
I have written a select statement as below:
SELECT SINGLE * from BUT000 into I_FS_BUT000 where
PARTNER_GUID = PARTNER_H-RELATION_H.
I have given the input parameter as PARTNER_H.
It throws me an error that "PARTNER_H" is a table without a header line and therefore has no component called "RELATION_H".
Is this the correct way to access the data element?Please help.Hi Neena,
Since PARTNER_H is an internal table it may have multiple values. If you want only a single entry from BUT000, you ll have to determine which entry from PARTNER_H you need in select query.
If it is always going to have only a single value then , this will work :
data: wa_partner_h type line of CRMT_OUTPUT_PARTNER_H_COMT.
Read table partner_h into wa_partner_h index 1.
if sy-subrc is initial.
SELECT SINGLE * from BUT000 into I_FS_BUT000 where
PARTNER_GUID = WA_PARTNER_H-RELATION_H.
endif.
Regards,
Arun -
Short dumop in J2I5 (provide duplicate entry in Standard table)
Hello Expert ,
We have a problem in T.Code J2I5 ( Excise Register Extraction) input entry is lelect Excise group 20 . and a date from 04.08.09 onwards. and select the register RG23D . it shows the run time error ( Eg The ABAP/4 Open SQL array insert results in duplicate database record ) . but in the standard Tcode is there possible to provide duplicate entry in Standard table
Thaks & regards
Aditya Kr TripathiRuntime Errors SAPSQL_ARRAY_INSERT_DUPREC
Except. CX_SY_OPEN_SQL_DB
Date and Time 29.01.2010 10:57:09
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
problem occurs in this code :
assign I_RG23D_TAB-I_RG23D_TYP to <x_rg23dtyp> casting.
<x_extrctdata> = <x_rg23dtyp>.
class CL_ABAP_CONTAINER_UTILITIES definition load.
call method CL_ABAP_CONTAINER_UTILITIES=>FILL_CONTAINER_C
EXPORTING
IM_VALUE = i_rg23d_tab-i_rg23d_typ
IMPORTING
EX_CONTAINER = i_report_tab-extrctdata
EXCEPTIONS
ILLEGAL_PARAMETER_TYPE = 1
others = 2.
I_REPORT_TAB-EXTRCTDATA = I_RG23D_TAB-I_RG23D_TYP.
COMPUTE I_REPORT_TAB-EXTRCTLNGT = STRLEN( I_REPORT_TAB-EXTRCTDATA ).
APPEND I_REPORT_TAB.
ENDLOOP.
IF M_EXTRACTED = 'X'.
LOOP AT I_RG23D_KEY.
DELETE
FROM J_2IEXTRCT
WHERE BUDAT = I_RG23D_KEY-BUDAT
AND SERIALNO = I_RG23D_KEY-SERIALNO
AND REGISTER = I_RG23D_KEY-REGISTER
AND EXGRP = I_RG23D_KEY-EXGRP.
ENDLOOP.
ENDIF.
Control table check here for data Extraction
INSERT J_2IEXTRCT FROM TABLE I_REPORT_TAB.
If the insertion of the extract table is successfull then the table
for Extraction is Inserted
IF SY-SUBRC EQ 0.
PERFORM FILL_EXTDT USING C_RG23D M_EXTRACTED.
ENDIF.
ENDFORM. " RG23D
*& Form RG23CPART1
Purpose : RG23C Part I extraction logic
FORM RG23CPART1.
DATA: $PART1 TYPE PART1_TYP,
$LINCNT LIKE SY-LINCT,
M_EXTRACTED VALUE '',
$RC LIKE SY-SUBRC.
*********************************************************************************************8 -
Duplicate Entries in Internal Tables
Hallo Friends,
It Would be nice if some one let me know, if there is a way in ABAP to select the duplicates records in an internal tables.
Lets say I have two internal tabels, itabA have following structure:
BNAME | WORKAREA | ROLES
abc | wa1 | ro1
cde | wa1 | ro1
cde | wa3 | rol..
abc | wa2 | rol2
xyz | wa1 | rol3
xyz | wa3 | rol2..
the itabB have the following structure:
WORKAREA | ROLES|
wa1 | rol1
wa2 | rol1
wa3 | rol1
wa4 | rol1
Now problem is, I need to select the common WorkAreas from itabA ( which is commom in all BNAME ) in above example it will be workarea wa1. as it is commom in all i.e ( abc ,cde and xyz). I need to select this commom workarea, and then mark it with some flage in itabB ( to display that this workarea is common among the users...)
Would be nice if some one let me know, is there any way I can select the duplicate rows in an internal table or I have to go one by one and then do some kind of comparision.
Many thanks,
Thx in advance....
HaiderHi marek,
below information might help you.
The first criterion for comparing internal tables is the number of lines they contain. The more lines an internal table contains, the larger it is. If two internal tables contain the same number of lines, they are compared line by line, component by component. If components of the table lines are themselves internal tables, they are compared recursively. If you are testing internal tables for anything other than equality, the comparison stops when it reaches the first pair of components that are unequal, and returns the corresponding result.
DATA: BEGIN OF LINE,
COL1 TYPE I,
COL2 TYPE I,
END OF LINE.
DATA: ITAB LIKE TABLE OF LINE,
JTAB LIKE TABLE OF LINE.
DO 3 TIMES.
LINE-COL1 = SY-INDEX.
LINE-COL2 = SY-INDEX ** 2.
APPEND LINE TO ITAB.
ENDDO.
MOVE ITAB TO JTAB.
LINE-COL1 = 10. LINE-COL2 = 20.
APPEND LINE TO ITAB.
IF ITAB GT JTAB.
WRITE / 'ITAB GT JTAB'.
ENDIF.
APPEND LINE TO JTAB.
IF ITAB EQ JTAB.
WRITE / 'ITAB EQ JTAB'.
ENDIF.
LINE-COL1 = 30. LINE-COL2 = 80.
APPEND LINE TO ITAB.
IF JTAB LE ITAB.
WRITE / 'JTAB LE ITAB'.
ENDIF.
LINE-COL1 = 50. LINE-COL2 = 60.
APPEND LINE TO JTAB.
IF ITAB NE JTAB.
WRITE / 'ITAB NE JTAB'.
ENDIF.
IF ITAB LT JTAB.
WRITE / 'ITAB LT JTAB'.
ENDIF.
The output is:
ITAB GT JTAB
ITAB EQ JTAB
JTAB LE ITAB
ITAB NE JTAB
ITAB LT JTAB
This example creates two standard tables, ITAB and JTAB. ITAB is filled with 3 lines and copied to JTAB. Then, another line is appended to ITAB and the first logical expression tests whether ITAB is greater than JTAB. After appending the same line to JTAB, the second logical expression tests whether both tables are equal. Then, another line is appended to ITAB and the third logical expressions tests whether JTAB is less than or equal to ITAB. Next, another line is appended to JTAB. Its contents are unequal to the contents of the last line of ITAB. The next logical expressions test whether ITAB is not equal to JTAB. The first table field whose contents are different in ITAB and JTAB is COL1 in the last line of the table: 30 in ITAB and 50 in JTAB. Therefore, in the last logical expression, ITAB is less than JTAB.
reward with points and close the thread if your question is solved
regards,
venu.
Maybe you are looking for
-
Get Qualifier value from Qualified table
Hi, I am trying to get all the qualifier value for a qualified table. What is the best way to do it. Can I use QualifierSearchDimension to search for all the qualifier value. Re: Lookup [Qualified Flat] type field how to use as a query condition? lin
-
I had a query when doing GR/IR clearing. In FBL1N we see the vendor open and closed items.How do I make out which items are not cleared by GR/IR clearing? Even in the green items it shows only 2 series ie.Payment clearing number. However, every MIRO
-
How to cancel multi-message bounce
I recently accidentally hit Bounce with my entire Junk folder highlighted (rather than on a single message). My ISP reacted to the flood of SMTP traffic by blocking my account, understandably. The problem is, they keep re-blocking it, as though Mail
-
Does anyone know the meaning of a white square in the upper right corner of slides in the light table view in Keynote? I know the meaning of the icons in the lower right and left, but the square in the upper right is a new one to me. Thanks
-
DW CS5.5 in OSX Lion - anyone seeing problems with Spaces?
DW seems to have problems with Spaces in OSX Lion.Switching into DW from other spaces is not 'clean'. When DW comes up, sometimes the Code/Design is blank white, and windows within the workspace don't show their headers. Clicking on Code/Design redra