PLD - SO needs to display Text line
Dear All,
Our customer's marking documents has text type lines. When I tried to print it on A/R invoice and A/R down payment invoice, it works good. When I tried to print it on Sales Order, text lines have always been printed first. Then items and subtotals. I use exactly the same way to print it.
Field_1: Sys Var 157 (line type)
Field_2: Field_1 == 'T'
Field_3: Field_2 != 'T'
Field_4: Sales Order - Rows.Text, link to Field_2
Other item fields link to Field_3
One more question for PLD is, I found in system PLD almost all the fields link to itself. It there any specfic reason we have to do that?
Thanks a lot.
Regards,
Yuka
Dear Yuka,
You may check these threads first to see if there are any helps:
Re: Row Type: "Text" >> in A/P invoice, not being displayed in PLD
PO PLD Add line text....
Line type text not printing
Thanks,
Gordon
Similar Messages
-
Need to display TEXT in web selection screen
HI All,
We are working on CRM-BW modeling. We have one field called "product" which will have key and medium text. We need to display both key + text in web reporting selection screen. When we ran first time text was not showing in web report. Then we found and change the configuration in search help in SE11 for that field. Then we can see the text+key combination in RSRT but still we can't see the text in web report selection screen...
Now what we have to do to display text in selection screen on web...
Please give your inputs ASAP.....we are in UAT phase....
Thanks in advance
ArunHi Arun,
For you case: Display key & text in selection screen.
In BW,
You can go to query designer, then you'll go to the info-object belong to the variable (selection-screen : product). Right-click, find for the properties, Then you'll see the option for <b>display as</b>.
Choose it for Key and text.
Then save it.
Go to the report, in the selection screen, when you're choosing for the help, you'll see the value displayed by key & text.
Hopefully it can help you a lot.
Regards,
Niel
Thanks a lot for any points you choose to assign. -
Need to display multiple lines of output in adobe form..
hi,
i have an internal table data which needs to be displayed on my adobe form as multiple lines . how do i design my form in SFP ??
actually i alerady have a form whose layout is life one header line and one detail line..i dont see anywhere any property that i can set to say i want to repeat that detail line multiple times. so whats the way to do this ?
thksHi Jojit,
That was a bit helpful. But what i am looking for is that i will be having a table inserted in the layout with 2 rows. One in which i will type the header text and the other row will have the text elements in each of the column to hold the field values. So my design is predefined in the form. The example u show is a blank form to which we write rows of data. But i need some additions to it like drawing a table around it with a header line.
can we design that thru the driver program ?? or is there any other way ?
thks -
Hi, need help, displaying text in crystal report
Post Author: decentsimple
CA Forum: Crystal Reports
CR8.5 help, displaying included or not included i
have a win app that calls the report, during rendering of report, the
win app will first create a temp table that holds all the fields for
the report, then the report is accessing that temptable. i want my report to display [not] included text for a field that contains the right value..here is the tricky part, the field is not in the temp table..is there a way for the crystal report to read the value of that certain field that is not in the temptable..so far.. i have a parameter 3 parameters, the value can be B/P/U ?B / ?P /?U each parameter have its own formula: @havefieldvalue if {?B} = "T" then "" else "Not" same for the rest..if the report generated have B then the report should display B - includedsame for the rest..you can always use an array if there's no pattern to your positions:
var positionA:Array=[ [100,20], [2,222], [55,2], [201,111], [78,23] ];
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;
import com.adobe.serialization.json.JSON;
var loader:URLLoader = new URLLoader(new URLRequest("https://api.twitter.com/1/statuses/user_timeline.json?screen_name=ScottMitchell"));
loader.addEventListener(Event.COMPLETE, loadComplete);
function loadComplete(e:Event):void {
processData(e.target.data);
function processData(data:String):void {
var tweets:Array = JSON.decode(data) as Array;
for(var i:int=0;i<5;i++){
var tf:TextField=new TextField();
addChild(tf);
tf.multiline=true;
tf.width=300;
tf.text = tweets[i].text;
tf.autoSize="left";
tf.x=positionA[i][0];
tf.y=positionA[i][1];
nextY+=tf.height; -
Need to display texts on to the ALV grid using SALV
Hi evryone,
There is a requirement to print an ALV grid containing the row titles and their subsequent values. The display shouild look like as below
Summary ItemsA cost 111111
ItemsB cost 222222
ItemC cost 333333
New items
ItemD cost 111111
ItemE cost 222222
ItemF cost 333333
Total 666666 666666
The headings pertaining to ItemA to itemB should come in a single column and their subsequent values as shown above. The total should be displayed below the corresponding block of items. Can anyone please suggest me the way we can acheive this using SALV and container concept.Sorry my earlier did not get displayed as expected. Please find below the format how the ALV should get displayed.
Summary -
ITEMA----
1111
ITEMB----
2222
ITEMC----
3333
ITEMD----
1111
ITEME----
2222
ITEMF -
3333
Total--6666--
6666
Please ignore the dots here they are just written to indicate spaces between the texts. The text summary and the texts "ItemA, B, C etc" should have 1 coulmn gap and the prices for the first item block should have 1 column block from the texts and the prices for second Item block should have a 2 coulumn block from the texts and total value should be displayed below each block.
Edited by: Phaniacumen on May 8, 2010 1:59 PM -
Need to display text for the field bukrs
hi
i am having a requirement of displaying (company code & descripion) from infotype pa0001
in a single field
can any one help with the code
regards
sachinhi sachin,
select single b~bukrs c~name1
from pa0001 as a
inner join t001 as b on b~bukrs eq a~bukrs
inner join adrc as c on c~addrnumber eq b~adrnr
into (ld_bukrs, ld_name1)
where a~pernr eq '00000003'.
concatenate ld_bukrs ld_name1 into ld_combi.
regards,
Peter -
Hello Experts,
I have a pushbutton on a screen and clicking on that would display a text editor along with long text of that pushbutton.I dont know how to create container etc, so I am not able to make out how to solve this problem.Can anyone please help?hi priya,
if your reqiurement says that i need to display text editor and save it to the internal table then use
the following code.
TYPES: BEGIN OF ty_text,
text(74) ,
END OF ty_text.
DATA:
t_terms TYPE STANDARD TABLE OF ty_text with header line.
EDITOR-CALL FOR t_terms.
loop at t_terms.
write t_terms-text.
endloop.
enter a valid text
and press save .
the data will be reflected back in your table.
check for EDITOR-CALL syntax for other opeartions like display and giving your own title. -
How to display text in script as same as text in news paper
Hi Expets
I have a requirement i need to display text in script as same as text displayed in news paper
with out creating any windows. iie ( Abcdef should be in one cloum after some space i need to display 1234)
please let me know how can i achieve this
Ex
1.
hi abcdef 12345
abcedf 12345
abcedf 12345
Regards
Suresh
Edited by: suribabu124 on Jun 15, 2010 7:55 AMHi,
If you need to print a form like news paper you need go for multiple main windows.We know that we can use 99 main windows in one page.first create one main window and then leave a space then create one more window and select window type as mainwindow.
while populating data,after completion of one main window the control will move to next main window,which is in the same page.
Like this you need to analyse and code according to your requirement. -
Displaying text whenever there is no value present in Database
Post Author: Sujitha
CA Forum: WebIntelligence Reporting
Hi
My business demands that a text 'Defaulted to Zero' be displayed if for a given combination of columns there is no data present in the Fact table.We use oracle 9i.
I have already used the number format where we put a value for the undefined value to display a text N/A where ever the value is not applicable.But i need to display text "Defaulted to Zero" wherever the value is applicable but NOT present in database!!
Can this be acheived in Bo level,I am using BO XI R2.?
This is a very urgent requirement as my project delivery is scheduled.!!
Many Thanks!!!Post Author: jsanzone
CA Forum: WebIntelligence Reporting
Suzie,
You can create a new local variable to report (called something like "NVP"), leave it as a "Dimension" and in the formula type:
if([col_a]=0 or [col_b]=0;"NO VALUE PRESENT")
Basically, you are using the "if" function and the syntax is very much like used in excel except you separate the arguments with a semi-colon versus a comma. You start out with "if()" and within the parenthesis is a logic statement followed by when true do this else that (with the "else that" portion optional as shown above). The drawback to using a local variable is that every report you write must be customized with the local variable versus establishing this logic in a "case" statement when building the data mart and thus it becomes resident and usable like any other column of data in your database. In some cases you are forced in using it as a local variable due to variations in the data and the logical outcome is not known until the very end of all computations, and at other times you can get away with embedding the logic at the time of constructing your data mart -- it all depends on how the data is used and sliced and diced. Good luck and write back if you have any further questions. -
Append a text line on blob data.
Hi All,
I need append a text line on blob data.
I haven't found prosper example or guide yet.
Following is example blob data which i should handle with.
Date: Thu, 29 Oct 2009 18:36:56 +0900 (KST)
From: IBM
To: IBM
Subject: JavaMail Attachment
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_10_1177830964.1256809016187"
------=_Part_10_1177830964.1256809016187
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Ideas
------=_Part_10_1177830964.1256809016187--
and I should add a new line on head of above blob data like this,
Message-ID: <1631215930.1256809016203.JavaMail.SYSTEM@ibm-demo>
so what i want is every blob data which doesn't have Message-ID line, update with random msg id.
please give me an tip or sample for this.
Thanks in advance,
Beomwoo.I have to develop some program which correct abnormal email data of Oracle Collaboration Suite mail 10g.
OCS store the mail body into a blob column named as body on es_body table.
Normal mail body have to include Message id header information like following.
Message-ID: <[email protected]>
Date: Sat, 31 Oct 2009 19:48:04 +0900 (KST)
From: bbuser1 kim <[email protected]>
To: bbuser1 kim <[email protected]>
Subject: 111111111111111
Mime-Version: 1.0
Content-Type: text/plain;charset=US-ASCII
Content-Transfer-Encoding: 7bit
Accept-Language: en-US
X-Mailer: Oracle Collaboration Suite Web Access 10.1.2.4.3
When a message body doesn't have the message id line on first line.
I want add random message id on first line.
So, What i want exactly is how to update blob column data with adding a line like 'Message-ID: <[email protected]>'.
Any idea?
Thanks in advance,
Beomwoo. -
HELP! Need help generating TEXT-ONLY portal page...
Text Only Portal Question:
PLATFORM:
=================================================================
Sun Solaris (5.2 if memory serves) for db and mid-tier, running
8.1.7 DB and 3.0.9 (1.0.2.2) portal.
THE NEED:
=================================================================
I need to display text only portal pages. Some of the more
detailed concerns at this point are below. Also, I've had an open
tar on Metalink for about two weeks, and after research from
their end has resulted in no help.
THE ISSUES (so far):
=================================================================
IMAGES:
If an anchor [A HREF=...] tag uses an image as it's "text", I
need to strip out the ALT= text to show inside the anchor. If no
ALT text is available, then I would like to show the image name
as a default.
For example:
<img src=home.gif
alt=Home>
should display as:
Home
FORMS:
How do I get the resulting page from a form (which include the
login inputs and submit button, search box, advanced search page,
etc.) to be displayed by the text only page?
For example:
When a form is called, the <FORM> elements are as follows:
METHOD=GET or POST
ACTION=url (relative or absolute) to the script.
In this case, the action value is:
ACTION=/servlet/page?
pageid=6&dad=portal30&_schema=PORTAL30.
This calls the advanced search API.
I would expect that to redirect the browser back to some
text-only version, the ACTION= element would have to be changed
to be something like:
ACTION=[pathscraper]?/servlet/page?
pageid=6&dad=portal30&_schema=PORTAL30
REDIRECTION:
What happens when portal pages redirect internally? How do you
get back to the text-only page?
For example:
The login link on the standard Oracle Portal home page flips
from url to url to get to the actual login page. Our
implementation of Oracle portal goes from
[DOMAIN]/pls/portal30_sso/portal30_sso.wwsso_app_admin.ls_login
to [domain]/pls/portal30_sso/portal30_sso.login_page.
Since this is standard Oracle redirection, how can it be
intercepted so the portal30_sso.login_page can be presented as
text only?
TRIED SO FAR:
=================================================================
I've written a socket/text scraper in Perl, running it from a web
server. The problems mentioned above are really causing problems,
plus the whole cookie thing. Since Oracle Portal tries to push a
cookie to the client, when the client is another UNIX server,
the cookie thing doesn't work.
POSSIBLE OTHER SOLUTIONS:
=================================================================
Something...anything. I've tried to think of some method to
create some sort of PL/SQL procedure to catch the content then
strip out the HTML calls.
An Applet to do the same thing, but on the client side, but
since time is an issue, coding a complete Java applet isn't
really an option.
THE CONCLUSION:
=================================================================
HELP! I need some help. This is for a client that is government
funded, and to meet Section 508 (part of the Americans with
Disabilities Act that states web sites and applications must be
made accessible. A text-only page is one of the requirements for
an accessible page.
Thanks,
Ryan Stefani
ps: feel free to contact me via [email protected] or
[email protected]Use Find/Change and the GREP tab.
Search for .+ and set the Find formatting to find the charcteristics you want.
What will you do with this text once found? You'll need something to "change" to, either new text or Change Formatting options... -
How to display text dynamically
hello,
i am working in dialog programing i need to display text which is save in a file and i want that whenever each new call screen i should display a text message from my flat file on the new screen ..... is there is a funda of xml?If the text is same for all the screens then copy it into a string or variable type c and write it on all the screens
-
Displaying Text in the Filter charectaristics in the portal
Hi Everybody,
I got a problem in the portal.
When i am selecting Filter values in portal, Some Filte Char´s just showing Keys, but not Text. But some of them are showing text too. So, I need to display text instead of Keys.
I tried to change Infoobject properties In Business Explorer Tab with Text. And also i did in the Business Explorer. Even I am not able to see text in the Filter Char´s. Is there any other way to diplay Text in Filter Char´s.
Please reply to me as soon as possible.
Thanks,
Suri.Hi Suri,
I don't have an 04s system right now, but check in help:
http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a644ce07211d2acb80000e829fbfe/content.htm
The option I suggested is shown in the same place. See Structure-Specific Properties of the InfoObject in the above link... -
Hi there, for a while I guess tha I have found my answer in a similar post, however this refers to SBO 2007, and I need to make this on SBO 2005, anyway ...
I need to add text lines in a purchase order via DI, but I can't find how to make it
Any ideas?
Thanks in advance and best regards
AristotelesWow, bad news for me Eddy anyway I appreciate really your quick answer.
But, do you guess that is there another way to solve this without SpecialLines?
Thanks again
Aristoteles
Edited by: Aristóteles Quintanar Ramos on Jan 30, 2008 2:04 PM -
ALV-Need to display total in top/first line!!!
Hi,
i have 3 numerical fields in my ALV output. I need to display the total in top/first line in output and download the same in excel into local system.if possible send me the sample code to how to do it.
Regards,
Nandha.TABLES : BSEG , BKPF.
TABLES: SSCRFIELDS.
TABLES: ITCPO.
DATA :FLAG TYPE I, MAINTAIN TYPE I,
FLAG1 TYPE I,
FLAG2 TYPE I,
FLAG3 TYPE I.
DATA :BEGIN OF ITAB_BKPF OCCURS 0,
BUKRS LIKE BKPF-BUKRS,
GJAHR LIKE BKPF-GJAHR,
BELNR LIKE BKPF-BELNR,
BLART LIKE BKPF-BLART,
BUDAT LIKE BKPF-BUDAT,
END OF ITAB_BKPF.
DATA :BEGIN OF ITAB_BSEG OCCURS 0,
BUKRS LIKE BSEG-BUKRS,
GJAHR LIKE BSEG-GJAHR,
BELNR LIKE BSEG-BELNR,
BUZEI LIKE BSEG-BUZEI,
BSCHL LIKE BSEG-BSCHL,
HKONT LIKE BSEG-HKONT,
DMBTR LIKE BSEG-DMBTR,
MWSKZ LIKE BSEG-MWSKZ,
ZUONR LIKE BSEG-ZUONR,
KOSTL LIKE BSEG-KOSTL,
FISTL LIKE BSEG-FISTL,
FIPOS LIKE BSEG-FIPOS,
SGTXT LIKE BSEG-SGTXT,
END OF ITAB_BSEG.
DATA BEGIN OF ITAB_BKPF_BSEG OCCURS 0.
INCLUDE STRUCTURE ZBKPF_BSEG.
DATA END OF ITAB_BKPF_BSEG.
*DATA ITAB_BKPF_BSEG LIKE TABLE OF ZITAB_BKPF_BSEG WITH HEADER LINE.
DATA i_print LIKE TABLE OF ITCPO WITH HEADER LINE.
TYPE-POOLS : SLIS , kkblo.
DATA:TEXT2(30) VALUE 'Voucher Print',
GS_LAYOUT TYPE SLIS_LAYOUT_ALV,
CT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
IT_SORT TYPE SLIS_T_SORTINFO_ALV,
WA_SORT TYPE SLIS_SORTINFO_ALV,
WA_SUBT LIKE SLIS_EV_SUBTOTAL_TEXT,
WA_I_EVENT TYPE SLIS_ALV_EVENT,
TEMP_CAT TYPE SLIS_FIELDCAT_ALV
DATA : TEXT2538(16) VALUE 'Voucher Printing'.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS : P_BUKRS LIKE BKPF-BUKRS OBLIGATORY.
"Company code
SELECT-OPTIONS : S_BELNR FOR BKPF-BELNR MODIF ID M01.
"Accounting Doc No
PARAMETERS: P_GJAHR LIKE BKPF-GJAHR MODIF ID M02.
"Fiscal year
SELECT-OPTIONS: S_BLART FOR BKPF-BLART MODIF ID M03,
"Document type
S_BUDAT FOR BKPF-BUDAT MODIF ID M04.
"Posting date
SELECTION-SCREEN END OF BLOCK B1.
START-OF-SELECTION.
IF S_BELNR IS NOT INITIAL.
FLAG = 1.
ENDIF.
IF S_BLART IS NOT INITIAL.
FLAG1 = 1.
ENDIF.
IF P_GJAHR IS NOT INITIAL.
FLAG2 = 1.
ENDIF.
IF S_BUDAT IS NOT INITIAL.
FLAG3 = 1.
ENDIF.
SELECT
BUKRS
GJAHR
BELNR
INTO CORRESPONDING FIELDS OF TABLE ITAB_BKPF
FROM BKPF
WHERE BUKRS EQ P_BUKRS
IF SY-SUBRC NE 0.
MESSAGE E000(ZPROJ).
ENDIF.
IF FLAG NE 0.
DELETE ITAB_BKPF WHERE
NOT ( BELNR IN S_BELNR AND GJAHR EQ P_GJAHR )
ENDIF.
IF FLAG1 NE 0.
DELETE ITAB_BKPF WHERE
NOT ( BLART IN S_BLART AND BUDAT IN S_BUDAT )
ENDIF.
IF FLAG2 NE 0.
DELETE ITAB_BKPF WHERE
NOT ( GJAHR EQ P_GJAHR )
ENDIF.
IF FLAG3 NE 0.
DELETE ITAB_BKPF WHERE
NOT ( BUDAT IN S_BUDAT )
ENDIF.
SELECT
BUKRS
GJAHR
BELNR
BUZEI
BSCHL
HKONT
DMBTR
MWSKZ
ZUONR
KOSTL
FISTL
FIPOS
SGTXT
FROM BSEG
INTO TABLE ITAB_BSEG
FOR ALL ENTRIES IN ITAB_BKPF
WHERE
BUKRS EQ P_BUKRS AND
BELNR EQ ITAB_BKPF-BELNR AND
GJAHR EQ ITAB_BKPF-GJAHR
LOOP AT ITAB_BKPF.
LOOP AT ITAB_BSEG WHERE BUKRS EQ ITAB_BKPF-BUKRS AND
BELNR EQ ITAB_BKPF-BELNR AND
GJAHR EQ ITAB_BKPF-GJAHR.
MOVE-CORRESPONDING ITAB_BSEG TO ITAB_BKPF_BSEG.
* MOVE-CORRESPONDING ITAB_BKPF TO ITAB_BKPF_BSEG.
APPEND ITAB_BKPF_BSEG.
ENDLOOP.
ENDLOOP.
LOOP AT ITAB_BKPF_BSEG.
ITAB_BKPF_BSEG-ZMENG = ITAB_BKPF_BSEG-DMBTR.
MODIFY ITAB_BKPF_BSEG TRANSPORTING zmeng.
ENDLOOP.
PERFORM CHANGE_CATALOG.
PERFORM ALV_DISPLAY.
FORM CHANGE_CATALOG .
CLEAR TEMP_CAT.
TEMP_CAT-FIELDNAME = 'BUKRS'.
TEMP_CAT-SELTEXT_L = 'Company Code'.
TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
TEMP_CAT-DDICTXT = 'L'.
TEMP_CAT-OUTPUTLEN = 30.
TEMP_CAT-HOTSPOT = 'X'.
APPEND TEMP_CAT TO CT_FIELDCAT.
CLEAR TEMP_CAT.
TEMP_CAT-FIELDNAME = 'BELNR'.
TEMP_CAT-SELTEXT_L = 'Document No.'.
TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
TEMP_CAT-DDICTXT = 'L'.
TEMP_CAT-HOTSPOT = 'X'.
APPEND TEMP_CAT TO CT_FIELDCAT.
CLEAR TEMP_CAT.
TEMP_CAT-FIELDNAME = 'GJAHR'.
TEMP_CAT-SELTEXT_L = 'Fiscal Year'.
TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
TEMP_CAT-DDICTXT = 'L'.
TEMP_CAT-OUTPUTLEN = 15.
TEMP_CAT-HOTSPOT = 'X'.
APPEND TEMP_CAT TO CT_FIELDCAT.
CLEAR TEMP_CAT.
TEMP_CAT-FIELDNAME = 'BUZEI'.
TEMP_CAT-SELTEXT_L = 'Item'.
TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
TEMP_CAT-DDICTXT = 'L'.
TEMP_CAT-OUTPUTLEN = 5.
APPEND TEMP_CAT TO CT_FIELDCAT.
CLEAR TEMP_CAT.
TEMP_CAT-FIELDNAME = 'BSCHL'.
TEMP_CAT-SELTEXT_L = 'Posting Key'.
TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
TEMP_CAT-DDICTXT = 'L'.
TEMP_CAT-OUTPUTLEN = 15.
APPEND TEMP_CAT TO CT_FIELDCAT.
CLEAR TEMP_CAT.
TEMP_CAT-FIELDNAME = 'HKONT'.
TEMP_CAT-SELTEXT_L = 'Account'.
TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
TEMP_CAT-DDICTXT = 'L'.
TEMP_CAT-OUTPUTLEN = 15.
APPEND TEMP_CAT TO CT_FIELDCAT.
CLEAR TEMP_CAT.
TEMP_CAT-FIELDNAME = 'DMBTR'.
TEMP_CAT-SELTEXT_L = 'Amount'.
TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
TEMP_CAT-DDICTXT = 'L'.
TEMP_CAT-OUTPUTLEN = 15.
TEMP_CAT-DO_SUM = 'X'.
APPEND TEMP_CAT TO CT_FIELDCAT.
CLEAR TEMP_CAT.
TEMP_CAT-FIELDNAME = 'MWSKZ'.
TEMP_CAT-SELTEXT_L = 'Tax'.
TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
TEMP_CAT-DDICTXT = 'L'.
TEMP_CAT-OUTPUTLEN = 15.
APPEND TEMP_CAT TO CT_FIELDCAT.
CLEAR TEMP_CAT.
TEMP_CAT-FIELDNAME = 'ZUONR'.
TEMP_CAT-SELTEXT_L = 'Assignment'.
TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
TEMP_CAT-DDICTXT = 'L'.
TEMP_CAT-OUTPUTLEN = 15.
APPEND TEMP_CAT TO CT_FIELDCAT.
CLEAR TEMP_CAT.
TEMP_CAT-FIELDNAME = 'KOSTL'.
TEMP_CAT-SELTEXT_L = 'Cost Center'.
TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
TEMP_CAT-DDICTXT = 'L'.
TEMP_CAT-OUTPUTLEN = 15.
APPEND TEMP_CAT TO CT_FIELDCAT.
CLEAR TEMP_CAT.
TEMP_CAT-FIELDNAME = 'FISTL'.
TEMP_CAT-SELTEXT_L = 'Fund Center'.
TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
TEMP_CAT-DDICTXT = 'L'.
TEMP_CAT-OUTPUTLEN = 15.
APPEND TEMP_CAT TO CT_FIELDCAT.
CLEAR TEMP_CAT.
TEMP_CAT-FIELDNAME = 'FIPOS'.
TEMP_CAT-SELTEXT_L = 'Commitment Item'.
TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
TEMP_CAT-DDICTXT = 'L'.
TEMP_CAT-OUTPUTLEN = 15.
APPEND TEMP_CAT TO CT_FIELDCAT.
CLEAR TEMP_CAT.
TEMP_CAT-FIELDNAME = 'SGTXT'.
TEMP_CAT-SELTEXT_L = 'Text'.
TEMP_CAT-TABNAME = 'ITAB_BKPF_BSEG'.
TEMP_CAT-DDICTXT = 'L'.
TEMP_CAT-OUTPUTLEN = 15.
APPEND TEMP_CAT TO CT_FIELDCAT.
GS_LAYOUT-ZEBRA = 'X'.
<b>GS_LAYOUT-TOTALS_BEFORE_ITEMS = 'X'.</b>
data : text like slis_ev_subtotal_text value 'total'.
gs_layout-subtotals_text = text.
*gs_layout-totals_only = 'X'.
CLEAR WA_SORT.
WA_SORT-FIELDNAME = 'BUKRS'.
WA_SORT-SPOS = 1.
WA_SORT-UP = 'X'.
*wa_sort-group = '*'.
APPEND WA_SORT TO IT_SORT.
CLEAR WA_SORT.
WA_SORT-FIELDNAME = 'BELNR'.
WA_SORT-SPOS = 2.
WA_SORT-SUBTOT = 'X'.
WA_SORT-UP = 'X'.
APPEND WA_SORT TO IT_SORT.
CLEAR WA_SORT.
WA_SORT-FIELDNAME = 'GJAHR'.
WA_SORT-SPOS = 3.
WA_SORT-SUBTOT = 'X'.
WA_SORT-UP = 'X'.
APPEND WA_SORT TO IT_SORT.
CLEAR WA_SORT.
WA_SORT-FIELDNAME = 'DMBTR'.
WA_SORT-SPOS = 4.
APPEND WA_SORT TO IT_SORT.
gs_layout-subtotals_text = 'total'.
ENDFORM.
FORM ALV_DISPLAY.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER =
* I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = SY-REPID
* I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
* I_STRUCTURE_NAME =
IS_LAYOUT = GS_LAYOUT
IT_FIELDCAT = CT_FIELDCAT
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
IT_SORT = IT_SORT[]
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
I_SAVE = 'A'
* IS_VARIANT =
* IT_EVENTS =
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE 0 = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* IR_SALV_LIST_ADAPTER =
* IT_EXCEPT_QINFO =
* I_SUPPRESS_EMPTY_DATA = ABAP_FALSE
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = ITAB_BKPF_BSEG
* EXCEPTIONS
* PROGRAM_ERROR = 1
* OTHERS = 2
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "ALV_DISPLAY
*i_calLback_user_command = 'USER_COMMAND'.
FORM USER_COMMAND
USING UCOMM LIKE SY-UCOMM
SELFIELD TYPE SLIS_SELFIELD.
DATA wa LIKE LINE OF ITAB_BKPF_BSEG.
DATA itab LIKE TABLE OF ITAB_BKPF_BSEG WITH HEADER LINE.
READ TABLE ITAB_BKPF_BSEG index SELFIELD-TABINDEX INTO wa.
APPEND ITAB_BKPF_BSEG TO ITAB.
ENDLOOP.
CALL FUNCTION '/1BCDWB/SF00000204'
* EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
* CONTROL_PARAMETERS = i_ctrl
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
* OUTPUT_OPTIONS = i_print
* USER_SETTINGS = 'X'
* IMPORTING
* DOCUMENT_OUTPUT_INFO =
* JOB_OUTPUT_INFO =
* JOB_OUTPUT_OPTIONS =
TABLES
ITAB_BKPF_BSEG = ITAB
* EXCEPTIONS
* FORMATTING_ERROR = 1
* INTERNAL_ERROR = 2
* SEND_ERROR = 3
* USER_CANCELED = 4
* OTHERS = 5
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "user_command
Maybe you are looking for
-
Why can't I delete pictures off of camera roll? I also can't send Pictures to someone else's phone. My picture seems to freeze up and I can't do anything, particularly delete the picture. I'm new to iPhone so I'm really just learning how this iphone
-
MALWARE! How do I remove "SEARCHBENNY" from my desktop?
Malware got installed when I tried to download free clip art. (Bad idea) I have found instructions online for removal, but the second step, after "restarting holding the shift key" requires trashing the icon. Problem. It won't stay in the trash. H
-
PO history is not updating in SRM EC PO
Hi We have implemented SRM 7.2 EC scenarios. Againt the PO in ECC we generate the Down payment request and Down payment document. It update in as PO history within ECC PO. But Related documents tab with SRM PO we can't see down payment request numbe
-
Stored Procedure requires compilation before every execute....
I have one simple SP in Oracle 8. It gets complied very nicely. But after i execute that SP, its defination from the database is lost. I again have to compile and execute it. This means that whenever i have to execute this SP i have to first compile
-
IE6 Website not displaying properly - Please Help!
Hi, I have created an intranet homepage in Dreamweaver CS5 and it looks fine in IE 7,8, Fireworks, Google Chrome and Opera but is completely messed up in IE6. I have uploaded the website to http://www.braintree.gov.uk/intranet_test/index.html and the