Displaying multiple rows in html
Hi folks, another newbie question for you:
Is it possible to have an HTML area which displays multiple rows of a query?
I can get the page to display the first row of the query but I need all the possible rows to show up (in new lines where possible....). It's to be displayed as a final report for an application, pulling in details from numerous tables, so a normal report page was a no no. Can anybody help??
Dave
It's kind of difficult to explain but the report heading is taken from one table. the next paragraph (a list of people) is taken from another table (but dependant on the title info - place date etc..). the rest of the information is using data from three tables depending on (yet again) the title (which is an LOV returning an ID just now). the rest of the information is broken into sections which are headed by two lots of info from two of the three tables and sectioned by item from these two tables. If I tried one query I'd end up with LOTS of copies of the same info all over the shop. All I need is the pl/sql to check a table and return the info from the only column I need from that table, display the mulriple rows in a section and I can do the rest I think. As I said, I can display the first row and that's it.....
sorry if that was confusing and long-winded (welcome to my day... :) )
Similar Messages
-
Displaying multiple rows in a form layout problem?
HI,
I displayed multiple rows using form layout,but form browse buttons displaying one row multiple times like if i click next it is displaying same rows in next page also ?
how can I prevent this?
very urgent
Thanks in advanceSet the table range size property to the number of rows you want to display.
Then as a post-generation action, drag and drop the Next Set and Previous Set operations of your View Object usage as buttons onto your page.
Then move the button code to a custom template, and uncheck group-level checkbox "Clear Page Definition before generation" to preserve the NextSet and PreviousSet action bindings.
Steven Davelaar,
JHeadstart Team. -
Displaying Multiple Row Header for Matrix...
Hi
Can you please tell me, whether we can display Multiple row headers for the Matrix object same as that in the Posting Period SAP Form...
Please check the Link: http://img198.imageshack.us/img198/3491/postingperiodform.jpg..
Thanking you in advance...
Thanks
HariI am extremly sorry...Please check the following link...
Link Address : http://www.freeimagehosting.net/image.php?d499726589.jpg
Edited by: hari angamaly on Jun 17, 2009 1:20 PM
Edited by: hari angamaly on Jun 17, 2009 1:21 PM -
Displaying multiple rows in interactive PDF form
hi All,
I am creating a web dynpro application to display the data retrived from back end in an interactive form.
Data is stored in the back end in the form of tables.
Now I want to display the entire data coming from tables in rows in the PDF which I am generating.
please guide me how to go ahead.
thanks and regards
krishi Markus,
Thanks for the information.
Let me be clear about my problem with you.
I am using a RFC to get data from SAP system and display them in the web dynpro application using Interactive form.
I want to know how can we make the multiple rows of data be displayed in the interactive form, as we can do in the view designing of web dynpro application.
I have data in the back end R/3 system and I want to bind
that data with the Interactive form and display the same in a tabular format as we do in the case of view.
Thanks and regards
kris
ou please help me further -
Displaying multiple rows of a table using smartforms
hi,
how to get multiple rows on a form from a table using smartforms.I succeded in getting only the first row of the table on the main window of the page .In order to display more than one record on the page what i have to do.You have to use LOOPS / TEMPLATES to achieve this
Here is a very good code sample for using Template,Table,Loop in smartforms with screen shot
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
Please do not post multiple threads. Kindly close them rewarding point for helpful answers,
extracting multiple records
to display multiple records in smart form
Re: extracting multiple records
Kindly reward point and close the duplicates.
Regards
Kathirvel -
Result displaying multiple rows with Single Record
I created DB adapter and using transformation to display the result set. Expecting 4 rows as a result but it displays one row 4 times.
SOA - Studio Edition Version 11.1.1.2.0,
Database - DB2,
DB Adapter - xsd
<?xml version = '1.0' encoding = 'UTF-8'?>
<xs:schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/cd_DBA" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/cd_DBA" elementFormDefault="qualified" attributeFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="F4102Collection" type="F4102Collection"/>
<xs:complexType name="F4102Collection">
<xs:sequence>
<xs:element name="F4102" type="F4102" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="F4102">
<xs:sequence>
<xs:element name="ibitm" type="xs:int"/>
<xs:element name="iblitm" type="xs:string" minOccurs="0"/>
<xs:element name="ibaitm" type="xs:string" minOccurs="0"/>
<xs:element name="ibmcu" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="cd_DBASelect_ITMInputParameters" type="cd_DBASelect_ITM"/>
<xs:complexType name="cd_DBASelect_ITM">
<xs:sequence>
<xs:element name="ITM" type="xs:int" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
Adapter WSDL
<?binding.jca cd_DBA_db.jca?>
<wsdl:definitions name="cd_DBA" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/CD_Application/CD_JDE1/cd_DBA" xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/CD_Application/CD_JDE1/cd_DBA" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/cd_DBA">
<plt:partnerLinkType name="cd_DBA_plt">
<plt:role name="cd_DBA_role">
<plt:portType name="tns:cd_DBA_ptt"/>
</plt:role>
</plt:partnerLinkType>
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/cd_DBA" schemaLocation="xsd/cd_DBA_table.xsd"/>
</schema>
</wsdl:types>
<wsdl:message name="cd_DBASelect_inputParameters">
<wsdl:part name="cd_DBASelect_inputParameters" element="top:cd_DBASelect_ITMInputParameters"/>
</wsdl:message>
<wsdl:message name="F4102Collection_msg">
<wsdl:part name="F4102Collection" element="top:F4102Collection"/>
</wsdl:message>
<wsdl:portType name="cd_DBA_ptt">
<wsdl:operation name="cd_DBASelect">
<wsdl:input message="tns:cd_DBASelect_inputParameters"/>
<wsdl:output message="tns:F4102Collection_msg"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>James Thanks for reply.
I am using BPEL. I am seeing these 4 rows in XML out put.
My Query is very simple.
select ibitm,iblitm,ibaitm,ibmcu from accdtaa73/f4102 where ibitm = InputToBPEL.
o/p should see these 4 rows.
IBLITM IBMCU
2002313 AGRT
2002313 AG00
2002313 FAR0
2002313 FA00
But o/p is
IBLITM IBMCU
2002313 AGRT
2002313 AGRT
2002313 AGRT
2002313 AGRT
Here is o/p of this BPEL
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
<env:Header>
<wsa:MessageID>urn:F60F8800A01311DFBFAC73A17F5C618C</wsa:MessageID>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
</env:Header>
<env:Body>
<processResponse xmlns:client="http://xmlns.oracle.com/CD_Application_jws/CD_JDE1/CD_BPELProcess" xmlns="http://xmlns.oracle.com/CD_Application_jws/CD_JDE1/CD_BPELProcess">
<client:element1>
<client:UPC> AGRT</client:UPC>
<client:LITM>2002313</client:LITM>
</client:element1>
<client:element1>
<client:UPC> AGRT</client:UPC>
<client:LITM>2002313</client:LITM>
</client:element1>
<client:element1>
<client:UPC> AGRT</client:UPC>
<client:LITM>2002313</client:LITM>
</client:element1>
<client:element1>
<client:UPC> AGRT</client:UPC>
<client:LITM>2002313</client:LITM>
</client:element1>
</processResponse>
</env:Body>
</env:Envelope>
XSL Script
<?xml version="1.0" encoding="UTF-8" ?>
<?oracle-xsl-mapper
<!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
<mapSources>
<source type="XSD">
<schema location="../xsd/cd_DBA_table.xsd"/>
<rootElement name="F4102Collection" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/cd_DBA"/>
</source>
</mapSources>
<mapTargets>
<target type="WSDL">
<schema location="../CD_BPELProcess.wsdl"/>
<rootElement name="processResponse" namespace="http://xmlns.oracle.com/CD_Application_jws/CD_JDE1/CD_BPELProcess"/>
</target>
</mapTargets>
<!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.2.0(build 091103.1205.1216) AT [WED AUG 04 11:39:11 PDT 2010]. -->
?>
<xsl:stylesheet version="1.0"
xmlns:xpath20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:med="http://schemas.oracle.com/mediator/xpath"
xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
xmlns:ns0="http://xmlns.oracle.com/pcbpel/adapter/db/top/cd_DBA"
xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
xmlns:client="http://xmlns.oracle.com/CD_Application_jws/CD_JDE1/CD_BPELProcess"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
exclude-result-prefixes="xsi xsl ns0 xsd client plnk wsdl xpath20 bpws mhdr oraext dvm hwf med ids xdk xref ora socket ldap">
<xsl:template match="/">
<client:processResponse>
<xsl:for-each select="/ns0:F4102Collection/ns0:F4102">
<client:element1>
<client:UPC>
<xsl:value-of select="ns0:ibmcu"/>
</client:UPC>
<client:LITM>
<xsl:value-of select="ns0:iblitm"/>
</client:LITM>
</client:element1>
</xsl:for-each>
</client:processResponse>
</xsl:template>
</xsl:stylesheet> -
JDeveloper Team - Refers: How do I display multiple rows in a gridControl
JDeveloper Team
With reference to the previous reply..
My query is not based on a view object. It uses the executeRetrieval command to do the select statement.
The query obtains the correct number of rows but it displays only the first record out of the selected rows.
pls help me find a solution.
nullCan you try to list the row values using the dataitem that the executeRetrieval method returns.
ex.,
import javax.infobus.*;
DbAccess db = sessionInfo.getDbAccess();
ScrollableRowsetAccess scr =
(ScrollableRowsetAccess)db.executeRetrieval("select * from dept", "infobus:/oracle/Session1/DynamicQuery", null);
System.out.println(scr.getRowCount());
null -
JDeveloper Team - How do I display multiple rows in a gridControl
When I execute a SQL select statement and display the results in a gridControl only the first row gets displayed in the grid.
Could you please give me a solution for this problem?
nullIf this query is based on a View object, can you verify the number of rows returned in BC4J Tester ?.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by kusan Atukorala ([email protected]):
When I execute a SQL select statement and display the results in a gridControl only the first row gets displayed in the grid.
Could you please give me a solution for this problem?<HR></BLOCKQUOTE>
null -
How to Display Multiple Rows in Business Logic Editor
Hi Friends, I took the standard BAPI: BAPI_MATERIAL_GETLIST and followed the SAP- xMII documentation. It is not showing any records. Does any one have good example. Please let me know.
If I run the same BAPI from R3 system, it is showing 7 records.
Can I display the data in Business Logic editor? Please help.Hi Dilip
I have gone through your post and I think that the info provided by yu is not sufficent to answer yur question exactly but i would suggest yu the following solutions :-
1. It may be the case that yu are not looping on the Response XML from the BAPI. You need to loop on the repeating node of the Response XML of the BAPI and on each loop yu need to append the record read to a xMII Output XML document using Row structure. Finally Yu can assign the document to the Output variable.
2. Check for the type of Output Variable. I guess that it's String type. In that case, convert it to xml type.
Hope it helps.
Amit -
Display multiple rows of datas from database in IDM forms
Hi,
I asked the same question in this forum before and some one answered to use 'FieldLoop'.I tried using that it didn't work.I using IDM version 5.
Heres the code...
EmployeeList is a supposed to be java array which contains java bean object,( EmployeeList -->raStagingObject-->getFname) since it doesn't work I thought I might try with simple list..I might be missing something...I would really apprecite if someone cld let me know...
<Field name='employeeList'>
<Default>
<block>
<defvar name='EmployeeList'>
<null/>
</defvar>
<set name='EmployeeList'>
<list>
<s> Red</s>
<s> Blue</s>
<s> Green</s>
<s> Yellow</s>
</list>
</set>
</block>
</Default>
</Field>
<Field>
<Display class='SimpleTable'/>
<FieldLoop for='name' in='EmployeeList'>
<Field name='XYZ'>
<Display class='Label'>
<Property name='value'>
<ref>name</ref>
</Property>
</Display>
</Field>
</FieldLoop>
</Field>
I also tried while loop(not sure whether which is the best way to approach...but kind of tried this didn't work too...)
Let me know what cld possibily work...
<Field name='while'>
<Default>
<block>
<defvar name='length'>
<null/>
</defvar>
<defvar name='counter'>
<null/>
</defvar>
<set name='length'>
<invoke name='size'>
<ref>EmployeeList</ref>
</invoke>
</set>
<set name='counter'>
<i>0</i>
</set>
<set name='length'>
<sub>
<ref>length</ref>
<i>1</i>
</sub>
</set>
<while>
<cond>
<lte>
<ref>counter</ref>
<ref>length</ref>
</lte>
<block>
<Field>
<Display class='Html'>
<Property name='html' value='<td>'/>
</Display>
</Field>
<Field name='myTextField'>
<Display class='Html'>
<Property name='html' value='mytext'/>
</Display>
</Field>
<Field>
<Display class='Html'>
<Property name='html' value='</td>'/>
</Display>
</Field>
<set name='counter'>
<add>
<ref>counter</ref>
<i>1</i>
</add>
</set>
</block>
</cond>
</while>
</block>
</Default>
</Field>
Instead of html I also tried 'Label' and did invoke on EmployeeList's raStagingObject which is a java bean.I didn't work either.
Thanks,
KaithsHi,
I asked the same question in this forum before and some one answered to use 'FieldLoop'.I tried using that it didn't work.I using IDM version 5.
Heres the code...
EmployeeList is a supposed to be java array which contains java bean object,( EmployeeList -->raStagingObject-->getFname) since it doesn't work I thought I might try with simple list..I might be missing something...I would really apprecite if someone cld let me know...
<Field name='employeeList'>
<Default>
<block>
<defvar name='EmployeeList'>
<null/>
</defvar>
<set name='EmployeeList'>
<list>
<s> Red</s>
<s> Blue</s>
<s> Green</s>
<s> Yellow</s>
</list>
</set>
</block>
</Default>
</Field>
<Field>
<Display class='SimpleTable'/>
<FieldLoop for='name' in='EmployeeList'>
<Field name='XYZ'>
<Display class='Label'>
<Property name='value'>
<ref>name</ref>
</Property>
</Display>
</Field>
</FieldLoop>
</Field>
I also tried while loop(not sure whether which is the best way to approach...but kind of tried this didn't work too...)
Let me know what cld possibily work...
<Field name='while'>
<Default>
<block>
<defvar name='length'>
<null/>
</defvar>
<defvar name='counter'>
<null/>
</defvar>
<set name='length'>
<invoke name='size'>
<ref>EmployeeList</ref>
</invoke>
</set>
<set name='counter'>
<i>0</i>
</set>
<set name='length'>
<sub>
<ref>length</ref>
<i>1</i>
</sub>
</set>
<while>
<cond>
<lte>
<ref>counter</ref>
<ref>length</ref>
</lte>
<block>
<Field>
<Display class='Html'>
<Property name='html' value='<td>'/>
</Display>
</Field>
<Field name='myTextField'>
<Display class='Html'>
<Property name='html' value='mytext'/>
</Display>
</Field>
<Field>
<Display class='Html'>
<Property name='html' value='</td>'/>
</Display>
</Field>
<set name='counter'>
<add>
<ref>counter</ref>
<i>1</i>
</add>
</set>
</block>
</cond>
</while>
</block>
</Default>
</Field>
Instead of html I also tried 'Label' and did invoke on EmployeeList's raStagingObject which is a java bean.I didn't work either.
Thanks,
Kaiths -
How i can display multiple row from one row
Hi ,
i have table called temp_probabaility and contain 2 colomns (id1 , path )the values as below ,
ID1 Path
3 ;2,4,6
4 ;1;2;3;5
5 ;1;2;3;4;5
i need to convert the values to be like below ,
id1 path
3 2
3 4
3 6
4 1
4 2
4 3
4 5
please any help ?
Edited by: user11309581 on May 13, 2011 4:13 PM
Edited by: user11309581 on May 13, 2011 4:16 PM
Edited by: user11309581 on May 13, 2011 4:18 PMBluShadow wrote:
it just needs to use the \d+ as you did.Not sure what you mean. Your code did not produce any rows for id1=6:
SQL> with x as (select 6 as id1, ';;;' path from dual)
2 --
3 -- end of test data
4 --
5 select id1, regexp_substr(path,'\d+',1,rn) as path
6 from x cross join (select rownum rn
7 from dual
8 connect by rownum <= (select max(length(regexp_replace(path,'[^;]'))) from x))
9 where regexp_substr(path,'\d+',1,rn) is not null
10 order by 1,2
11 /
no rows selected
SQL> with t as (select 6 as id1, ';;;' path from dual)
2 -- end of on-the-fly data sample
3 select id1,
4 regexp_substr(path,'\d+',1,column_value) path
5 from t,
6 table(
7 cast(
8 multiset(
9 select level
10 from dual
11 connect by level <= length(regexp_replace(path,'[^;]'))
12 )
13 as sys.OdciNumberList
14 )
15 )
16 /
ID1 PAT
6
6
6
SQL> Same when path is NULL:
SQL> with x as (select 6 as id1, '' path from dual)
2 --
3 -- end of test data
4 --
5 select id1, regexp_substr(path,'\d+',1,rn) as path
6 from x cross join (select rownum rn
7 from dual
8 connect by rownum <= (select max(length(regexp_replace(path,'[^;]'))) from x))
9 where regexp_substr(path,'\d+',1,rn) is not null
10 order by 1,2
11 /
no rows selected
SQL> with t as (select 6 as id1, '' path from dual)
2 -- end of on-the-fly data sample
3 select id1,
4 regexp_substr(path,'\d+',1,column_value) path
5 from t,
6 table(
7 cast(
8 multiset(
9 select level
10 from dual
11 connect by level <= length(regexp_replace(path,'[^;]'))
12 )
13 as sys.OdciNumberList
14 )
15 )
16 /
ID1 P
6
SQL> SY. -
How to Display Multiple rows in a single row but in different columns (Oracle 11.2)
Hello All,
I have a table in which data is stored in the below displayed fashion.
TRANS_ID
Ty_1
NU_1
38960
BP
5215153159
38960
EM
[email protected]
38960
FX
5115538033
38960
HP
4419965055
38960
For some weird purpose, I would have to display the same data in the below listed fashion
TRANS_ID
Ty_1
NU_1
Ty_2
NU_2
Ty_3
NU_3
Ty_4
NU_4
Ty_5
NU_5
38960
BP
5215153159
EM
[email protected]
FX
5115538033
HP
4419965055
If possible, Please guide me in the right direction.
ThanksMultiple inserts do only work with parametrized statements, usually used in interfaces like JDBC, ODBC etc.
With static SQL statements it is not possible.
Regards Thomas -
Want to display multiple rows of internal table on sap script
hi friends,
i have created element in window.and in report i have called all functions as open_form,start_form,write_form,end_form,close_form.
enclosing write_form function in 'loop at itab' and 'endloop',,,,gives error start_form missing even it is written before loop at sattement...
and if start_form is also included in loop at and endloop statement then it shows per record per page......
please suggest .....how to make all records on same page 1 after another rather than of different pagesHi
See the sample script program and code accordingly
*& Report ZTEST12121
*& SAPScripts Example 1
REPORT ztest12121.
*DATABASE TABLES
TABLES: ekko,ekpo,lfa1.
*INTERNAL TABLES AND STRUCTURES
DATA i_ekko LIKE ekko.
DATA i_ekpo LIKE ekpo OCCURS 0 WITH HEADER LINE.
DATA i_lfa1 LIKE lfa1.
*PARAMETERS
PARAMETERS: p_ebeln LIKE ekko-ebeln.
*VARIABLES
DATA MAT TYPE STRING VALUE 'MAT NO'.
DATA iTe TYPE STRING VALUE 'ITEM NO'.
DATA QTY TYPE STRING VALUE 'QTY'.
DATA UOM TYPE STRING VALUE 'UOM'.
DATA NET TYPE STRING VALUE 'NET PRICE'.
Data var type integer value 0.
*DATABASE SELECTS
*Header data
SELECT SINGLE * FROM ekko INTO i_ekko WHERE ekko~ebeln = p_ebeln.
IF sy-subrc = 0.
*Item Data
SELECT * FROM ekpo INTO TABLE i_ekpo WHERE ekpo~ebeln = p_ebeln.
IF sy-subrc NE 0.
WRITE 'PURCHASE DOCUMENT ITEM DATA ERROR'.
ELSE.
*Vendor Details
SELECT SINGLE * FROM lfa1 INTO i_lfa1 WHERE lfa1~lifnr = i_ekko-lifnr.
IF sy-subrc NE 0.
WRITE 'VENDOR DOCUMENT ITEM DATA ERROR'.
ENDIF.
ENDIF.
ELSE.
WRITE 'THIS PURCHASE DOCUMENT NUMBER DOESNOT EXISTS'.
ENDIF.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
DEVICE = 'PRINTER'
DIALOG = 'X'
form = 'ZSCRIPT_1'
language = sy-langu
OPTIONS =
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJECT =
RAW_DATA_INTERFACE = '*'
SPONUMIV =
IMPORTING
LANGUAGE =
NEW_ARCHIVE_PARAMS =
RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
CODEPAGE = 11
OTHERS = 12
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'OFFICEAD'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'OFFICEAD'
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'PODET'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'PODET'
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'TOP'
FUNCTION = 'SET'
TYPE = 'TOP'
WINDOW = 'MAIN'
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT I_EKPO.
var = i_ekpo-netpr * i_ekpo-menge.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'BODY'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDLOOP.
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT =
RDI_RESULT =
TABLES
OTFDATA =
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
CODEPAGE = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
<b>Reward points for useful Answers</b>
Regards
Anji -
How to Display multiple records in Table in VC without using BAPI.
Hi All,
I am working on Visual composer (NW2004s SP10). I am trying to display Poitems from BAPI_PO_GETDETAIL. I am creating my front end using VC. I have created one form and one Table where I want to display POItems. I am writing my logic of retrieving data from BAPI in CAF.I am connecting them in Guided procedures.When I run my process in Guided Procedures I am getting single row displayed in table. Can Anyone help me how to display multiple rows in table.
Regards,
SheetalHi Sheetal,
if the BAPI returns a table, then you get multiple rows. From which system is the BAPI, so that I can check the BAPI to give you further information.
Best Regards,
marcel -
Multiple Rows in Footer's part of table
H i all of you
I'm looking for a way to display multiple rows in a footer (which is repeated on every pages) based upon an internal table.
Have you ever try to do this ?
Brice
Configuration : ADS 8.1
Edited by: Brice VINCENT on Aug 26, 2009 5:17 PMIn fact i have to display to sum of different currencies.
For instance:
Body Part
EUR 10
USD 20
EUR 15
USD 12
Footer Part
EUR 25
USD 22
The problem is not to do the sum. the problem is to make the list of currencies in the footer repeated throughout each page.
And i get no currencies in the footer since the 2nd page.
Maybe you are looking for
-
Debug ABAP Multi Mapping in a BPM
Hi Guys, My scenario is as follows. 1) Send IDOCS from SAP. 2) Loop start 3) Collect in BPM based on some correlation 4) append to a multi line container 5) Loop ends at certain condition 6) Transform using interface mapping which is in this c
-
Unable to open 2007B database in SAP Business One version 8.8
Hi Experts, We are in the process of upgrading one of our client from SAP Business one 2007B PL13 to SAP Business One 8.8. While trying to open the client's live database in 8.8, system throws a message "You cannot upgrade company databases from
-
Problem with 711 movement using MB11
Hi All. I am trying to decrease stock using 711 movement via MB11 transaction. When I try to take out stock from a Bulk storage type, I get an error: "Storage type 200 is not suitable as an interface because of capacity check" Diagnosis A capacity ch
-
Flash CS5.5 duplicating *everything*
Hi there, One of our users has been having a bizarre issue in CS5.5 where it duplicates things. Last time it happened it randomly created six copies of everything in the whole file but it doesn't always. It's been known to randomly duplicate, layers,
-
I added an image to a slide in my project and chose send backward and now it is appearing on all slides after that slide. I don't believe I inidcated it to appear for rest of project. If I did how do I do it. I cannot access the image when I click on