ALV Hierarichal display with multiple line headings
Hi,
I have designed an ALV report with Hierarichal display with multiple line headings...
When i change the layout of this report,the headings which we enter manually will not take effect.The column we can hide in the report using the layout management.But the heading remains the same since it was written manually in top of page.
Is there any possiblity to work out the Manual headings based on the layout fields.
Hi,
Do you use REUSE_ALV_HIERSEQ_LIST_DISPLAY? Why do you write heading manually? You can use IT_FIELDCAT parameter for defining a field catalog.
Similar Messages
-
How to give a page break in alv grid display after 65 lines are displayed?
hi all,
I need to give a page break in alv grid display after 65 lines are displayed on each page...Please help me with this...hai
give this command beging of the report name... u have to diclar the beging of the report ......
<b>report</b> ( name of the report) <b>standard page heading line-size 200 line-count 65.</b>
ex1.:- report name is rtpm_trl_show_flows
report <b>rtpm_trl_show_flows </b> no standard page heading line-size 200
line-count 65.
ex:2
report <b>zlpur01</b> no standard page heading line-size 200
line-count 65.
type-pools: slis.
tables: bkpf.
selection-screen begin of block sel with frame title text-001.
select-options: s_comp for bkpf-bukrs, " Company
s_valut for bkpf-budat. " Invoice Date
S_MTART FOR MARA-MTART. " Material Type
selection-screen end of block sel.
parameters: p_vari like disvariant-variant. " ALV Variant
constants: formname_top_of_page type slis_formname value 'TOP_OF_PAGE'.
data: i_bseg type bseg occurs 0 with header line.
data: vatval type p decimals 2 value '0.15'.
data: xhkont type string value '154000'.
data COM type c.
data: begin of invt occurs 100,
budat like bkpf-budat, " Inv Dat
bukrs like bkpf-bukrs, " Material
STCEG like bsak-STCEG, "name of the companycode
belnr like bkpf-belnr,
xblnr like bkpf-xblnr, " Inv Reference
ebeln like rseg-ebeln, " PO number
lifnr like bseg-lifnr, " Vendor No
name1 like lfa1-name1, " Supplier Name
matnr like bseg-matnr,
maktx like makt-maktx,
stcd1 like lfa1-stcd1, " Supplier VAT REG NO
xamt like bseg-dmbtr, " TAX amt
yamt like bseg-wrbtr,
wrbtr like bseg-wrbtr, " Base amount
mwskz like bseg-mwskz,
dmbtr like bseg-dmbtr, " TAX amt
gjahr like bkpf-gjahr,
hkont like bseg-hkont,
zamt like bseg-dmbtr, " TAX amt
wamt like bseg-dmbtr,
shkzg like bseg-shkzg,
shkzg1 like bseg-shkzg,
end of invt.
regard
nawa -
Error Message with multiple line
Hi
How to display a error message with multiple line?
Example
Goods movement not possible for material 101
Goods movement not possible for material 102
Goods movement not possible for material 103
is it possible is ABAP? If so please advice me.
Best Regards
AsheekHi Anoop,
You can use same thing like this
I suggest write ur message through this.
First set the obecj.
CALL FUNCTION 'APPL_LOG_SET_OBJECT'
for local memory
FUNCTION 'APPL_LOG_WRITE_MESSAGES'
EXPORTING
OBJECT = OBJECT
SUBOBJECT = SUBOBJECT
UPDATE_OR_INSERT = UPDATE_INSERT_FLAG
TABLES
MESSAGES = MESSAGE_TABLE
EXCEPTIONS
OBJECT_NOT_FOUND = 1
SUBOBJECT_NOT_FOUND = 2
OTHERS = 3.
the call for physical memory
CALL FUNCTION 'APPL_LOG_WRITE_DB'
In this process you only need to provide the Itab with error messages.
Reg,
Arpit -
Download to excel with multiple lines in header
Hi experts,
Is there any Funtion module available to download an internal table contents into Local directory of PC with multiple lines in header.
i.e. let us say i hv internal table of 5 entries with 3 columns...
i need to download this 5 entries into an excel file with some texts above the table contents...
For eg : in the below format...
Sample line 1
sample line 2
sample line 3
colheader1 colheader2 colheader3
item1
item2
item3
item4
item5
Please help.
Edited by: Lakshmiraj on Jul 15, 2010 3:26 AMThere is another option of using OLE automation Please check the link below
http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-OLEAutomationusing+MS-Excel
OR
chek for the example program in Tcode DWDM ( OLE example )
OR
Use FM KCD_EXCEL_OLE_TO_INT_CONVERT ( Fm Uses the same OLE automation)
Hope it helps
Anup -
Text with multiple lines limit each line to 10 digits
Im trying to create a Numeric Field with multiple lines and limit the character per line to 10
ideally I want the users to be able to paste in a 10 digit number similar to this:
0001234567
0001234568
0001234569
I can set my pattern to num{zzzzzzzzzz} but not sure how to allow multiple lines
Im using Adobe LC ES2 Verison 9.0
Thanks!better option is to use INCLUDE statement in SCRIPTS. its a script control command and you no need to use READ_TEXT and to loop it and send each line to script.
if you use the above INCLUDE control command, SAP will take care of printing total text of that Object.
here is the syntax :
<b>/: INCLUDE name [OBJECT o] [ID i] [LANGUAGE l] [PARAGRAPH p] [NEW-PARAGRAPH np]</b>
here /: indicates its an Control command.
you have to use NAME, ID, LANGUAGE adn OBJECT here.
if you give these details in the Text editor of script layout,automatically data will be printed on the screen.
ex:
/: INCLUDE &EKKO-EBELN& OBJECT EKKO ID X LANGUAGE E
Hope you got the Idea.
<b>here is brief help about INCLUDE:</b>
Use INCLUDE to include the contents of another text into your text. The text to be included exists separately from yours and is only copied at the time of the output formatting. With INCLUDE, since the text is only read and inserted during the output formatting, the most current version of the required text is always available.
and IF you are very specific about using READ_TEXT to display the contents,
then you have to LOOP that table and call the WRITE_FORM to print the line on the layout.
LOOP AT IT_TDLINES.
CALL FUNCTION 'WRITE_FORM'
ENDLOOP.
Regards
Srikanth
Message was edited by: Srikanth Kidambi -
Patch names with multiple lines
I am using patch names with multiple lines, e. g.:
Intro: In my car
Piano / Brass
Theese patch names appear correctly in the patch list in edit mode, but completely disrupted in perform mode (the two lines are displayed vertically centered, son one can see the lower half of the upper line, and the upper half of the lower lI wrote my question here because I didn't find a MainStage forum?! Do you have a link?
Best, Dietmar -
Report Title Displaying in Multiple Lines on PDF Format when i Print in PDF
Report Title Displaying in Multiple Lines on PDF Format when i tried to print in PDF Format, is there any limit for Report Title Characters
Displaying Like -
LRDP
Open
Label
Paradigm
Forecast
Report
Any Info Appreciated
~SrixGot It .. Just need to chnage the Width Parameter.......!
-
How to Restrict Single Delivery Date for PO with Multiple Line Items
Dear Experts,
How to Restrict Single Delivery Date for PO with Multiple Line Items.
System needs to through Error Message if User Inputs Different Delivery Dates for PO with Multiple Line Items in ME21N Tcode.
Can we achive this by Some Enhancement in SAP or Not ???
If so how to do it.
Any Inputs is highly appreciated.
Thanks and Regards,
Selvakumar. MHi Selvakumar,
we can resrict the PO to have a single delivery date in all the line items by means of giving a error message or overwiting the delivery date keyed/determined in the line item.
You can use the BADI -> ME_PROCESS_PO_CUST. In which you need to implement the method PROCESS_SCHEDULE.
(for technical aid - This method will be called for each and every PO line item, From the imporing parameter im_schedule we can get all the details of current PO line, even we can change the data in the current PO line. )
Regards,
Madhu. -
Partial goods receipt for PO with multiple line items
Hello All,
While doing MIGO, for a PO with multiple line items, if one line item is having error, will we be able to go ahead with goods receipt? Or entire material document is blocked for doing MIGO?
We will be doing a development - in case if there is problem in goods receipt (checking of any parameter, and if it is missing - we will be posting error message)...is it possible to ahead with next line item and still post the material document?
If partial goods receipt if possible for PO with multiple line items, how do we do it?
Regards,
RJSHi
While doing MIGO, for a PO with multiple line items, if one line item is having error, will we be able to go ahead with goods receipt? Or entire material document is blocked for doing MIGO?
No. You cannot post the MIGO, if even one of the PO line item is having problem or giving error.
We will be doing a development - in case if there is problem in goods receipt (checking of any parameter, and if it is missing - we will be posting error message)...is it possible to ahead with next line item and still post the material document?
If you skip a line irem and do GR with next line item, how will you match quantity & value with the vendor Invoice at LIV ?
If partial goods receipt if possible for PO with multiple line items, how do we do it?
Partial goods receipt is possible for PO line items. That means, if PO has 100 qty for line item 1 then you can do GR for 50 now and 50 later depending on the vendors delivery.
Hope this is what you mean by "Partial Goods Receipt".
Edited by: Arun R on May 10, 2010 2:03 PM -
Word property with multiple lines
Good Morning,
I have a Document Library with an Word template, I fill some properties of the library so I can put this properties in the template. I am trying to write a line break, Any idea?
Thanks.Hi,
According to your post, my understanding is that you want to use Word property with multiple lines.
Per my knowledge, you can remove two updates: KB2760769 and
KB2760758.
The working version of office is 14.0.6129.5000.
Here is a similar thread for your reference:
http://sharepoint.stackexchange.com/questions/77759/inserting-multi-line-text-field-quick-part-from-sharepoint-crashes-word
More information:
Office 2010 Update KB2760758 Incorrectly Checks Multi-Line Columns
As this question is more relate to Word, I suggest you post it to the corresponding forum, you will get more help and confirmed answers from there.
http://social.technet.microsoft.com/Forums/en-US/home?forum=officesetupdeployprevious
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Create ecatt script for one sales order creation with multiple line items
Hi ,
I want to create a ecatt script for one sales order creation with multiple line items. Preferably SAP GUI.
This selection of data will be from an external file/ variants which will have only one row of data in it.
Firstly: I have to sort the external file having same PO Numbers in an order.Group them together.
Second: I have to create sales order for those many line items having same PO Number.
Best Regard
TaranumHi Micky
Firstl you should upload the Line items for a particular sales Order in an Internal table
and then pass that internal table to your BAPI during your coding corresponding to a particu;lar sales order
In case of any issues pls revert back
Reward points if helpful
Regards
Hitesh -
Unable to create PO with multiple line items through LSMW-BAPI method
Hi All,
I have a requirement of creating PO through LSMW. I can't use LSMW standard batch input program since there are some fileds not available and also it has many limitations. I'm using LSMW-BAPI method ( Business object BUS2012) which create IDOC and uses BAPI_PO_CREATE1 to ultimately post the PO in the system. I am trying to create PO from a single file which contains both Header and Item data.
Now my problem is that everytime PO is being created with Single line item only. Everytime I am giving multiple item data in the source file LSMW is preparing multiple IDOCs for multiple line items. As per my understanding this is happenng since header and item is in the same hierarchy level of IDOC type PORDCR102 and the control record is inserted for every line item in the source file.
It seems that through LSMW-BAPI it is not possible to create PO with multiple line items. Can anybody provide some input regarding this? Thanks in advance.
BR,
Atanu MukherjeeSolved by myself.
Earlier the problem was that LSMW was not being able to recognize items under same header. It was creating new IDOCs every time it gets a new item. To enable this we need to create two structure HEADERDATA and ITEMDATA. Two additional identifier fields with identifier value 'H' and 'I' should be added in these two structures respectively. Then we need one sequential file with the identifiers field followed by the header and Item data. Example:
H~header data
I~item data
I~item data
This would help the standard program to understand what are the items under same header and ultimately create PO with multiple line items.
BR,
Atanu Mukherjee -
One order with multiple lines in OM is creating multiple invoices
Application: Oracle 11i (11.5.3)
Modules implemented: GL, OM, AR, AP, PO and CM
Business Requirement:
Our client would like to create Order consisting of multiple lines in Order Management.
The Orders created in OM with multiple lines could be booked, picked, released and transferred
over to Accounts Receivable. On transferring over the Orders from Order Management to Accounts
Receivables using Auto Invoice process the Order should create ONE invoice with multiple lines.
Moreover, for the multiple lines created on an invoice deferred revenue could be applied.
( eg. An order is placed for software and support. The support is to be invoiced all at once but revenue deferred to 1/12
recognized each month as revenue is earned.)
Right now we are getting two invoices. It is putting the deferred revenue item on a seperate invoice. Is this normal
functionality? How can I get both on one invoice.
thanksHello Monique,
Well you can have one invoice generated for an order with multiple lines. This is possible by changing some rules in Account Receivables. Use the grouping rules under setups->autoinvoice in AR. You can club your invoices based on any of the columns of ra_interface_lines_all. Hope this works for you.
Arvind -
String Array declaration with multiple lines
I have an array declaration with several indexes where it covers multiple lines.
Please advise if this is the best way to declare an array declaration with multiple lines:
String cityString = "San Diego, Oakland, London, New York, Dublin," +
"Dallas, Milan";
String city[] = cityString.split(",");String[] city = {"San Diego", "Oakland", "London",
"New York", "Dublin", "Dallas", "Toronto"};You can use indentation and line breaks as you like, as usual in Java. -
Creating SVG Chart with multiple lines
Hi All,
I want to create a chart with multiple lines.
Ex: I have one emp table with empno, sal and deptno columns.
I want to print deptno in x axis and no of employees on y axis.
I want to print one line for employees with sal > 15000 and one more line for employee with sal =< 15000
So one line will show no of employees with sal more than 15000 for each dept. Similar case for the other line and these 2 lines should be in different colors.
For one line the query will go as
select link, deptno, count(empno)
from emp where sal > 15000 group by null, deptno
Is this possible to draw this chart?
Thanks,
ManojI wasn't able to do something like what you describe, but I was able to do this:
I defined column A of the table as a Header Row, selected the cells in the table, and chose this chart type (2D 2 Axis):
Then I clicked the chart and in the pane at the right checked 'Axis Name' in the Axis tab and added the axis names.
Maybe this can give you an idea of how you can illustrate the relationships that you want to show.
SG
Maybe you are looking for
-
Hello all I am trying to run the transaction CM21 in background processing through LSMW transaction, but it shows me the following error per each item: Run-time error "RAISE_EXCEPTION" occurred > Short dump "101201 202224 MEXQAS01 0_ECQ_01 " generate
-
Creation of custom assignment block
Hi, I am trying to create a custom Assignment Block in the BPHeadOverview page of component BP_HEAD. I tried implementing it using EEWB ,by referring to the below SDN link. http://wiki.sdn.sap.com/wiki/display/CRM/EEWB-AddingTableattribute Following
-
Is it possible to send a copy of invoice as PDF files to sales agents by e-
Hi All, Please let me know my client needs this below requirement, Is it possible to send a copy of invoice as PDF files to sales agents by e-mail triggered by the invoicing or is it only possible manually through ZPDF? Best Regards Aditya
-
Hi, I would like to ask how to manipulate the token that are taken from string tokenizer. For example : input = a b 1 f 986 supposed output: a b 1 f 986 How to make the output look like this? Output = (a,b,f),(1,986) How to make the program will be a
-
Hi, When i am trying to start the debugger in NEDS , i am getting the following error. EXCEPTION OCCURED DURING LAUNCH. REASON : FAILED TO CONNECT TO REMOTE VM . CONNECTION REFUSED. I have set the debugger on in server0 and sdm. I have checked and es