How to display HTML formatted text in the field with Item Style: Raw Text
How can I display HTML formatted text in the field with Item Style: Raw Text.
Currently the Item Style is Raw Text, but the text is being displayed along with HTML tags without formatting.
Regards
Hi,
Use Item Style formattedText.
Regards,
Gyan
Similar Messages
-
How to display subtotal in ALV, where the field is not a numeric.
Hi
We are having a requirement to display the sub total for a field using ALV grid display, where the field is not numeric.
The field is characte, Status field(consists of values Submit, Approve ,Reject), where the subtotal should be value of count of group by status .
say status with submit are 10 records, so after all records with submit status are, displyed, we need to display its subtotal as 10.
Thanks & AdvanceHi Satya,
REPORT z_alv_subtotal.*&---------------------------------------------------------------------*
*& Table declaration
*&---------------------------------------------------------------------*TABLES: ekko.*&---------------------------------------------------------------------*
*& Type pool declaration
TYPE-POOLS: slis. " Type pool for ALV*&---------------------------------------------------------------------*
*& Selection screen
SELECT-OPTIONS: s_ebeln FOR ekko-ebeln.*&---------------------------------------------------------------------*
*& Type declaration
*&---------------------------------------------------------------------** Type declaration for internal table to store EKPO data
TYPES: BEGIN OF x_data,
ebeln TYPE char30, " Document no.
ebelp TYPE ebelp, " Item no
matnr TYPE matnr, " Material no
matnr1 TYPE matnr, " Material no
werks TYPE werks_d, " Plant
werks1 TYPE werks_d, " Plant
ntgew TYPE entge, " Net weight
gewe TYPE egewe, " Unit of weight
END OF x_data.*&---------------------------------------------------------------------*
*& Internal table declaration
DATA:* Internal table to store EKPO data
i_ekpo TYPE STANDARD TABLE OF x_data INITIAL SIZE 0,
* Internal table for storing field catalog information
i_fieldcat TYPE slis_t_fieldcat_alv,
* Internal table for Top of Page info. in ALV Display
i_alv_top_of_page TYPE slis_t_listheader,
* Internal table for ALV Display events
i_events TYPE slis_t_event,
* Internal table for storing ALV sort information
i_sort TYPE slis_t_sortinfo_alv,
i_event TYPE slis_t_event.*&---------------------------------------------------------------------*
*& Work area declaration
*&---------------------------------------------------------------------*DATA:
wa_ekko TYPE x_data,
wa_layout TYPE slis_layout_alv,
wa_events TYPE slis_alv_event,
wa_sort TYPE slis_sortinfo_alv.*&---------------------------------------------------------------------*
*& Constant declaration
*&---------------------------------------------------------------------*CONSTANTS:
c_header TYPE char1
VALUE 'H', "Header in ALV
c_item TYPE char1
VALUE 'S'.*&---------------------------------------------------------------------*
*& Start-of-selection event
*&---------------------------------------------------------------------*START-OF-SELECTION.* Select data from ekpo
SELECT ebeln " Doc no
ebelp " Item
matnr " Material
matnr " Material
werks " Plant
werks " Plant
ntgew " Quantity
gewei " Unit
FROM ekpo
INTO TABLE i_ekpo
WHERE ebeln IN s_ebeln
AND ntgew NE '0.00'. IF sy-subrc = 0.
SORT i_ekpo BY ebeln ebelp matnr .
ENDIF.* To build the Page header
PERFORM sub_build_header.* To prepare field catalog
PERFORM sub_field_catalog.* Perform to populate the layout structure
PERFORM sub_populate_layout.* Perform to populate the sort table.
PERFORM sub_populate_sort.* Perform to populate ALV event
PERFORM sub_get_event.END-OF-SELECTION.* Perform to display ALV report
PERFORM sub_alv_report_display.
*& Form sub_build_header
* To build the header
* No Parameter
FORM sub_build_header .* Local data declaration
DATA: l_system TYPE char10 , "System id
l_r_line TYPE slis_listheader, "Hold list header
l_date TYPE char10, "Date
l_time TYPE char10, "Time
l_success_records TYPE i, "No of success records
l_title(300) TYPE c. " Title
* Title Display
l_r_line-typ = c_header. " header
l_title = 'Test report'(001).
l_r_line-info = l_title.
APPEND l_r_line TO i_alv_top_of_page.
CLEAR l_r_line.* Run date Display
CLEAR l_date.
l_r_line-typ = c_item. " Item
WRITE: sy-datum TO l_date MM/DD/YYYY.
l_r_line-key = 'Run Date :'(002).
l_r_line-info = l_date.
APPEND l_r_line TO i_alv_top_of_page.
CLEAR: l_r_line,
l_date.ENDFORM. " sub_build_header
*& Form sub_field_catalog
* Build Field Catalog
* No Parameter
FORM sub_field_catalog .* Build Field Catalog
PERFORM sub_fill_alv_field_catalog USING: '01' '01' 'EBELN' 'I_EKPO' 'L'
'Doc No'(003) ' ' ' ' ' ' ' ', '01' '02' 'EBELP' 'I_EKPO' 'L'
'Item No'(004) 'X' 'X' ' ' ' ', '01' '03' 'MATNR' 'I_EKPO' 'L'
'Material No'(005) 'X' 'X' ' ' ' ', '01' '03' 'MATNR1' 'I_EKPO' 'L'
'Material No'(005) ' ' ' ' ' ' ' ',
'01' '04' 'WERKS' 'I_EKPO' 'L'
'Plant'(006) 'X' 'X' ' ' ' ', '01' '04' 'WERKS1' 'I_EKPO' 'L'
'Plant'(006) ' ' ' ' ' ' ' ', '01' '05' 'NTGEW' 'I_EKPO' 'R'
'Net Weight'(007) ' ' ' ' 'GEWE' 'I_EKPO'.ENDFORM. " sub_field_catalog*&---------------------------------------------------------------------*
*& Form sub_fill_alv_field_catalog
*& For building Field Catalog
*& p_rowpos Row position
*& p_colpos Col position
*& p_fldnam Fldname
*& p_tabnam Tabname
*& p_justif Justification
*& p_seltext Seltext
*& p_out no out
*& p_tech Technical field
*& p_qfield Quantity field
*& p_qtab Quantity table
FORM sub_fill_alv_field_catalog USING p_rowpos TYPE sycurow
p_colpos TYPE sycucol
p_fldnam TYPE fieldname
p_tabnam TYPE tabname
p_justif TYPE char1
p_seltext TYPE dd03p-scrtext_l
p_out TYPE char1
p_tech TYPE char1
p_qfield TYPE slis_fieldname
p_qtab TYPE slis_tabname.* Local declaration for field catalog
DATA: wa_lfl_fcat TYPE slis_fieldcat_alv. wa_lfl_fcat-row_pos = p_rowpos. "Row
wa_lfl_fcat-col_pos = p_colpos. "Column
wa_lfl_fcat-fieldname = p_fldnam. "Field Name
wa_lfl_fcat-tabname = p_tabnam. "Internal Table Name
wa_lfl_fcat-just = p_justif. "Screen Justified
wa_lfl_fcat-seltext_l = p_seltext. "Field Text
wa_lfl_fcat-no_out = p_out. "No output
wa_lfl_fcat-tech = p_tech. "Technical field
wa_lfl_fcat-qfieldname = p_qfield. "Quantity unit
wa_lfl_fcat-qtabname = p_qtab . "Quantity table IF p_fldnam = 'NTGEW'.
wa_lfl_fcat-do_sum = 'X'.
ENDIF.
APPEND wa_lfl_fcat TO i_fieldcat.
CLEAR wa_lfl_fcat.
ENDFORM. " sub_fill_alv_field_catalog*&---------------------------------------------------------------------*
*& Form sub_populate_layout
* Populate ALV layout
* No Parameter
FORM sub_populate_layout . CLEAR wa_layout.
wa_layout-colwidth_optimize = 'X'." Optimization of Col widthENDFORM. " sub_populate_layout*&---------------------------------------------------------------------*
*& Form sub_populate_sort
* Populate ALV sort table
* No Parameter
FORM sub_populate_sort .* Sort on material
wa_sort-spos = '01' .
wa_sort-fieldname = 'MATNR'.
wa_sort-tabname = 'I_EKPO'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO i_sort .
CLEAR wa_sort.* Sort on plant
wa_sort-spos = '02'.
wa_sort-fieldname = 'WERKS'.
wa_sort-tabname = 'I_EKPO'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO i_sort .
CLEAR wa_sort.
ENDFORM. " sub_populate_sort*&---------------------------------------------------------------------*
*& Form sub_get_event
* Get ALV grid event and pass the form name to subtotal_text
* event
* No Parameter
FORM sub_get_event .
CONSTANTS : c_formname_subtotal_text TYPE slis_formname VALUE
'SUBTOTAL_TEXT'. DATA: l_s_event TYPE slis_alv_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 4
IMPORTING
et_events = i_event
EXCEPTIONS
list_type_wrong = 0
OTHERS = 0.* Subtotal
READ TABLE i_event INTO l_s_event
WITH KEY name = slis_ev_subtotal_text.
IF sy-subrc = 0.
MOVE c_formname_subtotal_text TO l_s_event-form.
MODIFY i_event FROM l_s_event INDEX sy-tabix.
ENDIF.ENDFORM. " sub_get_event*&---------------------------------------------------------------------*
*& Form sub_alv_report_display
* For ALV Report Display
* No Parameter
FORM sub_alv_report_display .
DATA: l_repid TYPE syrepid .
l_repid = sy-repid .* This function module for displaying the ALV report
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = l_repid
i_callback_top_of_page = 'SUB_ALV_TOP_OF_PAGE'
is_layout = wa_layout
it_fieldcat = i_fieldcat
it_sort = i_sort
it_events = i_event
i_default = 'X'
i_save = 'A'
TABLES
t_outtab = i_ekpo
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE i000 WITH 'Error in ALV report display'(055).
ENDIF.ENDFORM. " sub_alv_report_display*&---------------------------------------------------------------------*
* FORM sub_alv_top_of_page
* Call ALV top of page
* No parameter
*---------------------------------------------------------------------*FORM sub_alv_top_of_page. "#EC CALLED* To write header for the ALV
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = i_alv_top_of_page.
ENDFORM. "alv_top_of_page*&---------------------------------------------------------------------*
*& Form subtotal_text
* Build subtotal text
* P_total Total
* p_subtot_text Subtotal text info
FORM subtotal_text CHANGING
p_total TYPE any
p_subtot_text TYPE slis_subtot_text.
* Material level sub total
IF p_subtot_text-criteria = 'MATNR'.
p_subtot_text-display_text_for_subtotal
= 'Material level total'(009).
ENDIF.* Plant level sub total
IF p_subtot_text-criteria = 'WERKS'.
p_subtot_text-display_text_for_subtotal = 'Plant level total'(010).
ENDIF.
ENDFORM. "subtotal_text
Regards,
Pravin -
How Do I Display HTML Formatted Text From A Data Table In Crystal Reports?
I'm creating reports in Crystal XI. The information being displayed in the reports comes from data tables where the text is formatted in HTML.
I've worked with Crystal Reports enough to know that HTML text pulled from a data table doesn't appear in Crystal the same way it does in a web browser. Crystal Reports ignores all the tags (...unless I'm missing something...) and just displays the text.
Someone far more Crystal savy than I (...who I don't have access to...) came up with a Formula Field workaround that tricks Crystal Reports into displaying some basic HTML tags. Here's that workaround:
<!--
stringVar TableName := ;
TableName := Replace (TableName, "<ul>","<br> <br>");
TableName := Replace (TableName, "<li>", "<br> • ");
TableName := Replace (TableName, "</li>", "");
TableName := Replace (TableName, "</ul>","<br> <br>");
TableName := Replace (TableName, "<a", "<u><font color='blue'");
TableName := Replace (TableName, "</a>", "</font></u>");
TableName
-->
QUESTION - Does any similar workaround exist so I can display an HTML Table in Crystal Reports? If not, is there any way to display HTML formatted text from a data table in Crystal Reports as it would appear in a web browser?Hi Steven,
To display html text in Crystal Reports follows these steps.
1. Right click on the field and select Paragraph tab.
2. Under 'Text Interpretation' select 'HTML Text' and click OK.
I have tried using the way,but it never works.So reply me if there is any way to solve the issue -
If some fields of tables in database contain html tags such as 'H<sub>2</sub>O' (here is html tag 'sub') or 'some<b>text</b>'(here is html tag 'b') how can I to make Report Builder 6i to understand these tags or at least don't show them?
Or how in another way can I format a part of text inside the field?
thanx before
MaxHi Maxim,
If the output is PDF, the only way is to filter the incoming values yourself. You will need to create a PL/SQL column and remove the HTML markup tags. This, of course, leaves you without attributes you wanted in text (ie: the no "Bold" characters). You can still do this in with the same report basing the output from the PL/SQl formula column on the "desformat" input parameter.
Reports doesn't have any "markup" capability. ie: A field only has one font & one colour. You can have multiple fonts for boilerplate text but, again, only a single colour.
Robin. -
Javafx 1.3 with swinglabel displaying html formated texts
Dear FX experts,
I am using swinglabel to display html formated text, and it worked fine with the fx 1.2. However, as I moved to 1.3, the showing of the text is not so proper, because I want the content of the swinglabel be shown in the middle of the box(the label itself) I set. However, in 1.2 it's ok, but 1.3 gives me headache: it's not shown on the place it should be, like it's ignoring all the centering attribute I tried to declare...
any ideas? or suggestions? or solution?
(ps, it keeps saying a warning if I used the class under ext package, since swingLabel is under ext... maybe it means I can use another class to do this? but I can't find any...)
my codes would be like the followings:
public def contentLabel: SwingLabel = SwingLabel {
text: "<html\><font size=6>test test</font></html>"
width: 400
height: 500
horizontalAlignment: SwingHorizontalAlignment.CENTER
public function run(){
Stage {
title:"test"
scene: Scene {
width: 800
height: 600
content: [contentLabel]
}Edited by: 880613 on 20.08.2011 16:41
Edited by: 880613 on 21.08.2011 05:13No one knows about this?
the SwingLabel or all Class files under ext packages are simply going to be replaced but without substitutors??? -
How to create, place, format and paste the clipboard contents into a text frame
I am new to scripting and need help. I have an existing Indesign document. I need to be able to create a text frame on my current page, the width of my margins with the top of the text frame at the top margin and 1" in height, then format it to be 1-column, and then paste the clipboard contents into it and tag the text with a particular paragraph style. I am using Indesign CS4 on a mac, if that makes any difference. Thanks for any help.
May this will help you. It will create an anchored object with a text what you desired, with object style. You should create an object style before with the x and y co ordinates. You can choose either para style or character style.
var the_document = app.documents.item(0);
// Create a list of paragraph styles
var list_of_paragraph_styles = the_document.paragraphStyles.everyItem().name;
// Create a list of character styles
var list_of_character_styles = the_document.characterStyles.everyItem().name;
// Create a list of object styles
var list_of_object_styles = the_document.objectStyles.everyItem().name;
// Make dialog box for selecting the styles
var the_dialog = app.dialogs.add({name:"Create anchored text frames"});
with(the_dialog.dialogColumns.add()){
with(dialogRows.add()){
staticTexts.add({staticLabel:"Make the anchored frames from ..."});
with(dialogRows.add()){
staticTexts.add({staticLabel:"This character style:"});
var find_cstyle = dropdowns.add({stringList:list_of_character_styles, selectedIndex:0});
with(dialogRows.add()){
staticTexts.add({staticLabel:"Or this paragraph style:"});
var find_pstyle = dropdowns.add({stringList:list_of_paragraph_styles, selectedIndex:0});
with(dialogRows.add()){
staticTexts.add({staticLabel:"Leave one dropdown unchanged!"});
dialogRows.add();
with(dialogRows.add()){
staticTexts.add({staticLabel:"Delete matches?"});
var delete_refs = dropdowns.add({stringList:["Yes","No"], selectedIndex:0});
dialogRows.add();
with(dialogRows.add()){
staticTexts.add({staticLabel:"Anchored text frame settings:"});
with(dialogRows.add()){
staticTexts.add({staticLabel:"Object style:"});
var anchor_style = dropdowns.add({stringList:list_of_object_styles, selectedIndex:0});
with(dialogRows.add()){
staticTexts.add({staticLabel:"Frame width:"});
var anchor_width = measurementEditboxes.add({editUnits:MeasurementUnits.MILLIMETERS, editValue:72});
with(dialogRows.add()){
staticTexts.add({staticLabel:"Frame height:"});
var anchor_height = measurementEditboxes.add({editUnits:MeasurementUnits.MILLIMETERS, editValue:72});
the_dialog.show();
// Define the selected styles
var real_find_cstyle = the_document.characterStyles.item(find_cstyle.selectedIndex);
var real_find_pstyle = the_document.paragraphStyles.item(find_pstyle.selectedIndex);
var real_anchor_style = the_document.objectStyles.item(anchor_style.selectedIndex);
// Check if a style is selected
if(find_cstyle.selectedIndex != 0 || find_pstyle.selectedIndex != 0) {
// Define whether to search for character styles or paragraph styles
app.findChangeGrepOptions.includeFootnotes = false;
app.findChangeGrepOptions.includeHiddenLayers = false;
app.findChangeGrepOptions.includeLockedLayersForFind = false;
app.findChangeGrepOptions.includeLockedStoriesForFind = false;
app.findChangeGrepOptions.includeMasterPages = false;
if(find_cstyle.selectedIndex != 0) {
app.findGrepPreferences = NothingEnum.nothing;
app.findGrepPreferences.appliedCharacterStyle = real_find_cstyle;
} else {
app.findGrepPreferences = NothingEnum.nothing;
app.findGrepPreferences.appliedParagraphStyle = real_find_pstyle;
app.findGrepPreferences.findWhat = "^";
// Search the document
var found_items = the_document.findGrep();
myCounter = found_items.length-1;
do {
// Select and copy the found text
var current_item = found_items[myCounter];
if(find_pstyle.selectedIndex != 0) {
var found_text = current_item.paragraphs.firstItem();
var insertion_character = (found_text.characters.lastItem().index) + 1;
var check_insertion_character = insertion_character + 1;
var alt_insertion_character = (found_text.characters.firstItem().index) - 1;
var the_story = found_text.parentStory;
app.selection = found_text;
if(delete_refs.selectedIndex == 0) {
app.cut();
} else {
app.copy();
} else {
var found_text = current_item;
var insertion_character = (found_text.characters.lastItem().index) + 2;
var check_insertion_character = insertion_character;
var alt_insertion_character = (found_text.characters.firstItem().index) - 1;
var the_story = found_text.parentStory;
app.selection = found_text;
if(delete_refs.selectedIndex == 0) {
app.cut();
} else {
app.copy();
// Make text frame from selection
try {
app.selection = the_story.insertionPoints[check_insertion_character];
app.selection = the_story.insertionPoints[insertion_character];
} catch(err) {
app.selection = the_story.insertionPoints[alt_insertion_character];
var the_anchored_frame = app.selection[0].textFrames.add({geometricBounds:["0","0",anchor_height.editContents,anch or_width.editContents],anchoredObjectSettings:{anchoredPosition: AnchorPosition.ANCHORED}});
app.selection = the_anchored_frame.insertionPoints[0];
app.paste();
// Apply the object style now to "force apply" paragraph style set in the object style
if(anchor_style.selectedIndex != 0) {
the_anchored_frame.appliedObjectStyle = real_anchor_style;
myCounter--;
} while (myCounter >= 0);
} else {
alert("No styles selected!"); -
How to enable HTML formatted emails in nokia e72?
Can anybody tell me that how to enable HTML formatted emails in nokia e72? I Owned a E71 & it has such a feature that I can activate HTML formatted email & Non-HTML formated emails. But I don't find any feature in Nokia E72. I receive all the mails as text messages. I use Other Emails Thanks in advace!
No supporting stuff here, amigo. This e-mail procedure is a safety precaution. Html might contain malicious code. Try Profimail for a while.
http://www.lonelycatgames.com/?app=profimail
‡Thank you for hitting the Blue/Green Star button‡
N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009 -
How to make the text of the field to mixed case of the transaction COMMPR01
Hi,
There is a text description field in the COMMPR01 for a product.
Now when i entered any text into the field, it is changed to UPPER CASE.But i want that when i enter any text , it will save the text as it is that means in both upper case and lower case.
Suppose i entered a text as Dummy Text, then when i save this product this text should display as Dummy Text.It should not display as DUMMY TEXT.
Please suggest me how to do this .
Thanks and Regards,
SudhansuI just verified and the Description for Products (and possibly other objects too) are stored in table COMM_PRSHTEXT.
The relevant Data element is COMT_PRSHTEXTX which has the domain PRSHTEXT40.
If you look at this domain you have a parameter "lowercase" which is available as a flag option.
<u><b>The explanation about this Flag is the following:</b></u>
Lowercase letters allowed/not allowed
If this flag is set, upper case and lower case are distinguished when you enter values with screen masks.
Otherwise all the letters entered will be converted to upper case when you enter values with a screen mask.
This mechansim is in effect for all the fields referring to this domain.
<b>Solution would be</b> to verify if for this data-element the same Domain is used.
If yes, you can flag this option in the domain.
this should solve your problem.
kind regards
davy pelssers
please reward if helpful. -
How to send HTML Format Mail using Java Mail in oracle 9i Forms
Dear All
could you please tell me how to send HTML Format Mail using Java Mail in oracle 9i Forms and how to implement the java mail ?
if it is possible, could you please send me the sample code? please very urgent
Thanks
P.SivaramanHello,
<p>Here is a Form sample.</p>
Francois -
How to display language key (0LANGU) in the query for BW report
Hi,
Can someone tell me how to display language key (0LANGU) in the query? I want to display which language (English or French) is used for material description in BW report. Thx.hi,
check if the infoobject is kept as lang dependent or not for material text, else you need to create a masterdata attribute with text and lang keys and do corresponding mapping, so then it can be displayed in your report
regards
laksh -
How to display HTML pages always in first rank in search result?
I have a sharepoint 2010 site where search is configured, but when it is displaying the search result some time it is showing the pdf files in the first order and the html pages in the second order, I need to display html pages always
in the first order.How can I accomplish it?Alex's link is by far the best one but this is an alternative if you wanted to read a bit more widely
http://sharepointkaos.wordpress.com/2011/01/13/custom-ranking-model/
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
How to allign text under the barcode with same width?
Hi,
I need to put a barcode in my form with the human readable text right under it and more importantly,irrespective of the number of digits of the text number, it needs to be space out exactly equal to the barcode length.can anyone please help with text formatting here? And what if the barcode might change in future? Something like below:
IIIIIIIIIIIIIIIIIIIIIIIII
1 2 3 4 5 6 7
IIIIIIIIIIIIIIIII
1234567
Edited by: Aditi Bhandari on Nov 22, 2009 3:38 PMFor sapscripts and smart forms (what is your techno?), SAP allows you only to print barcodes (bars), not the texts corresponding to these barcodes, so you will have to implement a custom solution.
As SAP doesn't provide you the actual width of the generated barcode, you will have to determine empirically the formula.
I think it will be rather tough to use "space" characters or font size to manage the spacing between characters.
Instead, I see 2 solutions:
- send directly the text to the printer with the right Character Per Inch value : First calculate how many characters per inch you need (barcode estimated width divided by number of characters), then use print controls HEX - ENDHEX to define the instructions in printer language (for each device type you will print to). For better rendering use fixed font (COURIER, etc.) Note that it will work for printout, but not for print preview (text won't appear at all).
- second solution would be to generate text as an image if you have such a software, and print the image. It will work well in all situations. -
How to display properties of dimension on the input form and report in bpc
Dear Expert,
Please tell me how to display properties of dimension on the input form and report in bpc. I can only display dimension number.
thanks so much
hungthHi Hungh,
If your are using BPC 10 with EPM add in client, you can use the function:
EPMDimensionProperty ()
This function retrieves the properties of a specified dimension in a specified cell range.
Thanks, Safa -
How user can get a Sales Text for the any Line Item in the Billing?
Salute Masters ! !
How user can get a Sales Text for the any Line Item in the Billing?
It's coming for other Order (Line Item for Bought out Item at Project Site - Some Item they procure at project site & complete the task).
Where I can configure in system for all.
Rgds
Srivastav
09973504950Hi,
Sales text can be copied from customer to order , order to delivery and delivery to billing .
Check the T-code : VOTXN , do the customization as per your requirement.
check the below link :
http://help.sap.com/saphelp_erp60_sp/helpdata/en/dd/55f993545a11d1a7020000e829fd11/content.htm -
How to add the line item text in the Ledger line item report
Hi SAP Gurus,
I having one requirement from the user. He wants the line item text which we will enter in FB60/FB70/FB50 has to be shown in the Ledger line item report. Right now this field is not available. Is there any possible we can make this line item text in the ledger line item report i.e. FBL1N/FBL3N/FBL5N?
advance thanks for the help.
Regards,
Deva.Hi,
You can do the below to get this. (You can change the names of the function modules as per your wish/ organization naming convention):-
Step 1:-
Create function module Z_GET_SGTXT as below:-
Import:-
BELNR LIKE BKPF-BELNR
BUKRS LIKE BKPF-BUKRS
BUZEI LIKE BSEG-BUZEI
GJAHR LIKE BKPF-GJAHR
Export:-
PRCTR LIKE BSEG-SGTXT
FUNCTION Z_GET_SGTXT.
""Local Interface:
*" IMPORTING
*" VALUE(BELNR) LIKE BKPF-BELNR
*" VALUE(BUKRS) LIKE BKPF-BUKRS
*" VALUE(BUZEI) LIKE BSEG-BUZEI
*" VALUE(GJAHR) LIKE BKPF-GJAHR
*" EXPORTING
*" VALUE(SGTXT) LIKE BSEG-SGTXT
SELECT SINGLE SGTXT FROM BSEG INTO SGTXT WHERE GJAHR = GJAHR
AND BELNR = BELNR
AND BUKRS = BUKRS
AND BUZEI = BUZEI.
ENDFUNCTION.
Step 2:-
Then create the Function Modules as below:-
Z_LINE_ITEMS_GET_SGTXT (Copy of SAMPLE_INTERFACE_00001650)
FUNCTION Module Z_LINE_ITEMS_GET_SGTXT.
""Local Interface:
*" IMPORTING
*" VALUE(I_POSTAB) LIKE RFPOS STRUCTURE RFPOS
*" EXPORTING
*" VALUE(E_POSTAB) LIKE RFPOS STRUCTURE RFPOS
Initialize Output by using the following line
E_POSTAB = I_POSTAB.
E_POSTAB = I_POSTAB. "<-- important
CALL FUNCTION 'Z_GET_SGTXT'
EXPORTING
BELNR = I_POSTAB-BELNR
BUKRS = I_POSTAB-BUKRS
BUZEI = I_POSTAB-BUZEI
GJAHR = I_POSTAB-GJAHR
IMPORTING
SGTXT = E_POSTAB-SGTXT
EXCEPTIONS
OTHERS = 1.
ENDFUNCTION.
Step3:-
Transaction FIBF:-
Settings -> Products -> of a Customer
SGTXT Text in Line Item Display Active
Settings -> P/S Module -> of a Customer
00001650 SGTXT Z_LINE_ITEMS_GET_SGTXT
Step 4:-
Create the layout for FBL*N with display of the TEXT.
Regards,
Gaurav
Maybe you are looking for
-
If I delete a backup on iCloud, will that erase the data from that backup on my phone?
I had to get a replacement iPhone 5 because of a faulty power button on my first one. In order to keep my data, I used iCloud to backup my phone and transfer it to the replacement. Now I have a backup of my old phone and the replacement and that real
-
MIssing folder Library/Application Support/iCal folder
Hope this is in the correct discussion! This folder is missing from my MBP. On Time Machine, I can't find it and have gone back to March 2012 when TM starts. Does it create itself and what data would it hold? I've lost all my iCal calendars and have
-
Time machine no longer backs up, just hangs in preparing.
I have done all the things that i have been reading about in the forums. I have reset to factory, i downloaded the widget that tells what process time machine is in. the following is the info that the widget came up with. Can anyone help Starting sta
-
Hi: Can someone who's got a new MBP with the SSD fill us in on the vendor that Apple's selected for the SSD drive? Thanks!
-
I am trying to set up an itunes account for my son but the website said that the email address is already in use. I tried the password recovery but it wouldn't work.