Problem in Reading Material Long text in Sapscript
Dear firends,
I have written following code in sapscrit to fetch the longtext of the material
INCLUDE &MARA-MATNR(K)& OBJECT MATERIAL ID GURN LANGUAGE &NAST-SPRAS&
Test name - material no(MARA-MATNR)
object - MATERIAL
text id - GURN
LANGUAGE - EN
but i am not table read the longtext by using above code, when i see in debug mode ,i am getting warning message
"data is not available for materil 0000013,GURN,MATERIAL" like that.
i don't find any problem in code , long text also availble for material 0000013.
i don't where is the problem , please give me solve this issue.
Regards,
D.prabhu
Hi
You have to fetch this Long text of this Material using READ_TEXT fun module by passing the 4 parameters as mentioned by you by writing some code in the program or by writing the external subroutine using PERFORM statement
Only Application HEADER and ITEM texts can be included in script using the INCLUDE command
So write the code for the Read _Text fun module and fetch it into Internal table lines and pass/print those to script
pass the same 4 parameters
Test name - material no(MARA-MATNR)
object - MATERIAL
text id - GURN
LANGUAGE - EN
see the sample code
data:begin of it_stxh occurs 0,
tdobject type tdobject,
tdname type tdobname,
tdid type tdid,
tdspras type spras,
end of it_stxh.
types:begin of ty_lines.
include structure tline.
types:end of ty_lines.
data:it_lines type standard table of ty_lines with header line.
it_stxh-tdid = 'GRUN'.
it_stxh-tdspras = 'E'.
it_stxh-tdobject = itab-matnr.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = it_stxh-tdid
LANGUAGE = it_stxh-tdspras
NAME = it_stxh-tdname
OBJECT = it_stxh-tdobject
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
LINES = it_lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF SY-SUBRC eq 0.
loop at it_lines.
< Print these lines in script by passing to script>
endloop.
ENDIF.
Regards
Anji
Similar Messages
-
Problem in using FM READ_TEXT to read Material Sales Text.
Hi Guys,
I am developing a Customer Outstanding report in which I display all the invoices of a particular customer.
I need to read "Material Sales Text" which comes under "Item Text" tab in transaction FBL5N.
I have used READ_TEXT in my program. I have identified the Object, and ID but I am stuck up with the Name. I dont know what Name to pass. I have tried passing the Invoice Number in "Name" but couldnt get the text.
Request you to please help me out. Please check the below code.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = '0001'
language = SY-LANGU
name = -
object = 'VBBP'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = tl001
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OTHERS = 8
Thanks.*& Form READ_TEXT
FORM read_text USING p_tdid p_tdname
CHANGING p_tdline.
DATA: it_line TYPE STANDARD TABLE OF tline,
wa_line TYPE tline ,
l_tdid TYPE thead-tdid,
l_tdname TYPE thead-tdname.
l_tdid = p_tdid.
l_tdname = p_tdname.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = l_tdid
language = 'E'
name = l_tdname
object = 'VBBP'
TABLES
lines = it_line
EXCEPTIONS
OTHERS = 8.
LOOP AT it_line INTO wa_line.
IF NOT wa_line-tdline IS INITIAL.
p_tdline = wa_line-tdline.
ENDIF.
ENDLOOP.
ENDFORM. " READ_TEXT -
Error while reading the Long text Using READ_TEXT
Hi friends,
Right now I am working with Smartforms.While I am reading the Long text of the material using function module READ_TEXT I am getting the following error if the text is not there.
OUT_PURCH_PO ID GRUN language EN not found.
I should not get this error Instead I should get the blank value.
OUT_PURCH_PO - my material name.
Following is my code.
IF WA_EKPO-KNTTP = 'F' AND WA_MTART-MTART = 'ZMSC'.
READ TABLE IT_SGTXT INTO WA_SGTXT WITH KEY MATNR = WA_EKPO-MATNR.
WA_EKPO-TXZ01 = WA_SGTXT-SGTXT.
NAME = WA_EKPO-MATNR.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = ID
LANGUAGE = SY-LANGU
NAME = NAME
OBJECT = OBJECT
IMPORTING
HEADER = THEAD
TABLES
LINES = LTEXT.Hi,
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = id
language = sy-langu
name = name
object = object
TABLES
lines = ltext
EXCEPTIONS " --> have this
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Edited by: Avinash Kodarapu on Jun 5, 2009 7:32 PM -
Hi
My requirement is ,i have to read the long text entered in the FB03 transaction(it may be several lines) in my Z Print program and pass that to the sapscript form that it gets displayed as line item. can you please send sample how to do in program and how it is called in sapscript form..
Thanks
Swarna.Hi
You have to use FM READ_TEXT.
In FB03 Transaction, you can get the Technical information of the Text Area. Use those as inputs to this FM, which will return the text entered into an internal table.
You can use this Internal table data to write onto script.
Eg:
stxl_id-tdobject = 'VBBK'.
stxl_id-tdname = wa_vbfa-vbelv.
stxl_id-tdid = '0012'.
stxl_id-tdspras = 'EN'.
DATA: BEGIN OF tlines OCCURS 10.
INCLUDE STRUCTURE tline.
DATA: END OF tlines.
clear: i_text.
*DATA : l_text(120) TYPE c,
DATA : l_text(1050) TYPE c,
v_tline LIKE tline-tdline.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = stxl_id-tdid
language = stxl_id-tdspras
name = stxl_id-tdname
object = stxl_id-tdobject
archive_handle = 0
local_cat = ' '
IMPORTING
HEADER =
TABLES
lines = tlines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8
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 TLINES.
CALL FUNCITON 'WRITE_FORM' with the text element..
ENDLOOP.
Regards,
Raj -
Problem in formatting of long text -- line break not recognized.
Hi ,
We have a PO smartform in our SRM system and we are facing problem with formatting of long text on the smartform for long texts maintained for the PO.
for ex, we maintain the long text as --
"this is long text for item 1.
1. this is line 1.
2. this is line 2."
On the smartform it is displayed as --
this is long text for item 1. 1. this is line 1. 2. this is line 2.
So basically, the line breaks in the text are not considered in the smartform .
Any suggestions on how to fix this issue ??
Thanks.Hello Harmeet,
Which Std. FM are you using to fetch the PO texts? If the PO doesn't exist in your system, i'm afraid you cannot use Include Texts as mentioned by Harsh.
As an alternative you'll have to create a table & pass the text lines to it! I don't think SmartForms are not smart enough to identify new-line character.
BR,
Suhas -
Search help for Material long text ?
Hello,
A given material code MATNR is linked a material short text ( MAKT_MAKTG for example) which is on max 40 characters.
Where can i maintain the material long text ( around 100 characters) which is available in a search help in standard SAP ?
Note : in the material master data, i know the view Purchase order text, but is there any search help for this ?
Or do you have to develop an own search help ?
Thank you in advance,
IsabelleThank you Jürgen,
OK, i understand that a search help on long text is not a good idea
Nevertheless, 40 characters to name a material is too short for our users. Do you know any other text field that we can use ? because i imagine it is not possible to extend MAKTG to more that 40 char.
Our issue is that we upload our material data from some manufacturer material file, and their material description (even the one called " short text" is often more than 40 char.
Do you see any possible solution ?
Thank you,
Isabelle -
Hi All,
I have created a script.....in that i have to print only long text in the main window.
Now my problem is...the LONG text is breaking and going to next page...
means a part on 1 page and remaining on subsequent pages..
And the problem is the box which i have put arround the main window is coming only in first page and last page . In between pages the box arround the main window is not coming .
How to get the box around those pages also.
help me out...
Thanks,
GuruHi
The property of MAIN window is like that, If the Data is more than a Page it automatically goes to next pages.
So better decide where I mean in which you wants to print ? In MAin window , then it automatcially goes to other pages. use a new paragraph format and mention PAGE PROTECTION for that such that it prints in the Same page.
For the boxes see the seetings of the main window in all pages, especially in NEXT page.. so that the box is coming properly
see the box related commands
SAPScripts
POSITION WINDOW
SIZE WIDTH '160' MM HEIGHT '140' MM
BOX FRAME 10 TW
Box
BOX HEIGHT '11' MM WIDTH '160' MM FRAME 10 TW INTENSITY 35
linessssssss
BOX XPOS '20' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '45' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '80' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
BOX XPOS '120' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW
Boxes, Lines, Shading: BOX, POSITION, SIZE
Use the BOX, POSITION, and SIZE commands for drawing boxes, lines, and shading to print particular windows within a form or passages of text within a window in a frame or with shading.
The SAP printer drivers that are based on page-oriented printers (the HP LaserJet driver HPL2, the Postscript driver POST, the Kyocera Prescribe driver PRES) employ these commands when printing. Line printers and page-oriented printers not supported in the standard ignore these commands. You can view the resulting printer output in the SAPscript print preview.
Syntax:
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
BOX Command
Syntax
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
Effect: draws a box of the specified size at the specified position.
Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT, and FRAME, you must specify both a measurement and a unit of measurement. Specify the INTENSITY parameter as a percentage between 0 and 100.
XPOS, YPOS
Upper left corner of the box, relative to the values of the POSITION command.
Default: Values specified in the POSITION command.
The following calculation is performed internally to determine the absolute output position of a box on the page:
X(abs) = XORIGIN + XPOS
Y(abs) = YORIGIN + YPOS
WIDTH
Width of the box. Default: WIDTH value of the SIZE command.
HEIGHT
Height of the box. Default: HEIGHT value of the SIZE command.
FRAME
Thickness of frame.
Default: 0 (no frame).
INTENSITY
Grayscale of box contents as %.
Default: 100 (full black)
Measurements: You must specify decimal numbers as literal values (like ABAP numeric constants) by enclosing them in inverted commas. Use the period as the decimal point character. See also the examples listed below.
Units of measurement: The following units of measurement may be used:
TW (twip)
PT (point)
IN (inch)
MM (millimeter)
CM (centimeter)
LN (line)
CH (character).
The following conversion factors apply:
1 TW = 1/20 PT
1 PT = 1/72 IN
1 IN = 2.54 CM
1 CM = 10 MM
1 CH = height of a character relative to the CPI specification in the form header
1 LN = height of a line relative to the LPI specification in the form header
/: BOX FRAME 10 TW
Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
/: BOX INTENSITY 10
Fills the window background with shading having a gray scale of 10 %.
/: BOX HEIGHT 0 TW FRAME 10 TW
Draws a horizontal line across the complete top edge of the window.
/: BOX WIDTH 0 TW FRAME 10 TW
Draws a vertical line along the complete height of the left hand edge of the window.
/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
POSITION Command
Syntax
/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started, the POSITION value is set to refer to the upper left corner of the window (default setting).
Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words, as a value that specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.
XORIGIN, YORIGIN
Origin of the coordinate system.
WINDOW
Sets the values for the left and upper edges to match those of the current window (default setting).
PAGE
Sets the values for the left and upper edges to match those of the current output page (XORIGIN = 0 cm, YORIGIN = 0 cm).
/: POSITION WINDOW
Sets the origin for the coordinate system to the upper left corner of the window.
/: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
Sets the origin for the coordinate system to a point 2 cm from the left edge and 2.5 cm from the upper edge of the output page.
/: POSITION XORIGIN '-1.5' CM YORIGIN -1 CM
Shifts the origin for the coordinates 1.5 cm to the left and 1 cm up.
SIZE Command
Syntax
/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
Effect: Sets the values of the WIDTH and HEIGHT parameters used in the BOX command. When a window is first started, the SIZE value is set to the same values as the window itself (default setting).
Parameters: If one of the parameter specifications is missing, then no change is made to the current value of this parameter. If a parameter value does not have a leading sign, then its value is interpreted as an absolute value. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value.
WIDTH, HEIGHT
Dimensions of the rectangle or line.
WINDOW
Sets the values for the width and height to the values of the current window (default setting).
PAGE
Sets the values for the width and height to the values of the current output page.
/: SIZE WINDOW
Sets WIDTH and HEIGHT to the current window dimensions.
/: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM
Sets WIDTH to 3.5 cm and HEIGHT to 7.6 cm.
/: POSITION WINDOW
/: POSITION XORIGIN -20 TW YORIGIN -20 TW
/: SIZE WIDTH +40 TW HEIGHT +40 TW
/: BOX FRAME 10 TW
A frame is added to the current window. The edges of the frame extend beyond the edges of the window itself, so as to avoid obscuring the leading and trailing text characters.
http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
<b>Reward points for useful Answers</b>
Regards
Anji -
Problem in loading the long text in bdc.
Hai Friends,
I am uploading the material master using bdc, Here i need to upload the long text field. so am using the separate report for upload the long text field using the create_text function module. but the problem is the long text field only accepting 132 charactors. but i need to upload the 500 charactors. what i want to do now ?
Regards ,
Sathis Kumar RHi Sathis,
What u do is that while recording the text part in bdc , click on the first delete button, and then create button and after that double click on the editor or click on the text-editor change button, a window will get opened , then click go-to menu -> change editor.
there u can use loop the text table and wirte it according .
eg
PERFORM bdc_dynpro USING 'SAPMV45A' '4002'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=TP_DELETE'. "first delete
PERFORM bdc_dynpro USING 'SAPMV45A' '4002'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=TP_CREATE'. " then create
PERFORM bdc_field USING 'LV70T-SPRAS'
sy-langu.
PERFORM bdc_dynpro USING 'SAPMV45A' '4002'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=TP_DETAIL'. "if not double click then click on change button after the delete button and then click on the change-editor menu .
PERFORM bdc_field USING 'LV70T-SPRAS'
sy-langu.
PERFORM bdc_dynpro USING 'SAPLSTXX' '1100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RSTXT-TXLINE(02)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=TXVB'.
PERFORM bdc_field USING 'RSTXT-TXPARGRAPH(02)'
PERFORM bdc_field USING 'RSTXT-TXPARGRAPH(03)'
PERFORM bdc_field USING 'RSTXT-TXLINE(02)'
wa_itab-htext1.
PERFORM bdc_field USING 'RSTXT-TXLINE(03)'
wa_itab-htext2.
PERFORM bdc_dynpro USING 'SAPLSTXX' '1100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RSTXT-TXLINE(02)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=TXBA'.
PERFORM bdc_dynpro USING 'SAPMV45A' '4002'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/EBACK'.
regards,
Santosh Thorat -
How to get material long text at user exit EXIT_SAPLMGMU_001
Dear All,
I need to pass some material details from SAP to legacy system once user create / edit a material. I have no problems with fields like material no, type, group etc except the long text, I can't find the long text field from the user exit (EXIT_SAPLMGMU_001).
When I use READ_TEXT function, also can't retrieve the long text because it haven't save to STXH/STXL table yet, I guess.
Please help
TQhello Chong ,
if it havent saved yet , then try to pass document no as '$0000000001'( in most of cases it will work but i'm not sure abt ur transaction ), it should work..
regards
Prabhu -
Problem in reading the modified text from text editor
Hi all,
Im using text editor for saving the long text entered in the text editor as standard text in So10 tcode.
Here im facing an issue in reading the text from text editor. That is, when the text is entered by the user for first time, then the below method reads the text successfully. But when i do some changes in the existing text present in the text editor and try to read, then the modified text is not returned by the below method.
I use the "CALL METHOD g_editor_ftext1->get_text_as_stream" to read the text. Given below is my code.
CALL METHOD g_editor_ftext1->get_text_as_stream
IMPORTING
text = ig_text_table
is_modified = g_xthead_updkz
EXCEPTIONS
error_dp = 1
error_cntl_call_method = 2
OTHERS = 3.
The return value of "is_modified" is always returned as 0.
Could anyone pls help how to read the modified text using the above method?Check if this works and if it works then there should be some mistake in your coding
REPORT abc.
PARAMETERS:pa1 TYPE bwart.
DATA: container TYPE REF TO cl_gui_docking_container,
editor TYPE REF TO cl_gui_textedit,
report TYPE syrepid,
mod TYPE i,
modon TYPE i.
DATA:tlines TYPE TABLE OF tdline,
wa_tlines TYPE tdline.
AT SELECTION-SCREEN OUTPUT.
report = sy-repid.
IF container IS INITIAL.
CREATE OBJECT container
EXPORTING repid = report
dynnr = sy-dynnr
side = container->dock_at_left
extension = 1070.
CREATE OBJECT editor
EXPORTING
parent = container.
ENDIF.
wa_tlines = 'This is test before a change'.
APPEND wa_tlines TO tlines.
CALL METHOD editor->set_text_as_r3table
EXPORTING
table = tlines
EXCEPTIONS
OTHERS = 1.
CALL METHOD editor->go_to_line( 1 ).
START-OF-SELECTION.
CLEAR tlines[].
CALL METHOD editor->get_text_as_stream
EXPORTING
only_when_modified = '1'
IMPORTING
text = tlines
is_modified = modon
EXCEPTIONS
error_dp = 1
error_cntl_call_method = 2
OTHERS = 3.
IF modon = 1.
WRITE 'Changed'.
ELSE.
WRITE 'Not changed'.
ENDIF.
WRITE modon. -
Problem in reading this particular text file, what is the problem with it..
Hai to all..,
I had developed an application to read the text file that is stored in my computer from mobile, all are working fine but some files create problems in reading the file content, like the file i had attached with this..
Can any one please tell why this particular file creates problem in reading the contents...
I had attached a text file with this...
and the code I am using is
int getcharcount;
FileInputStream fstream = new FileInputStream(filename);
InputStreamReader in = new InputStreamReader(fstream);
while ((getcharcount = in.read()) != 0)
getchar = getchar + (char) getcharcount;
System.out.println("Full File Content :"+getchar);
I try'd with BufferedReader also, but have the same problem,
Can any one please give me a solution for this..Hai to all..,
Sorry for the previous posting,
I had developed an application to read the text file that is stored in my computer from mobile, all are working fine but some files create problems in reading the file content, like the file i had attached with this..
Can any one please tell why this particular file creates problem in reading the contents...
and the code I am using is
int getcharcount;
FileInputStream fstream = new FileInputStream(filename);
InputStreamReader in = new InputStreamReader(fstream);
while ((getcharcount = in.read()) != 0)
getchar = getchar + (char) getcharcount;
System.out.println("Full File Content :"+getchar);
I try'd with BufferedReader also, but have the same problem,
Can any one please give me a solution for this..The error I am getting is
Full File Content :ÿþC
But the file contains plain text only..
Edited by: Kamal Raj on Oct 17, 2010 10:22 PM -
Hi,
I am undable to find the long text in TC: VA02 at runtime. Actulally my requirement is like how to compare between the item level long text at runtime and existing long text for that item.
If any body has soluntion, please provide me. I would really be greatfull if any body provide the solution.
Deepak Kumar
E-Mail: [email protected]Hi Sudheer,
Actually my requirement is to read the text at runtime. Example: If saved text is 'ABC' and it is changed by '123'. Now before saving changed text '123', I need to capture it so that I can compare it with saved text 'ABC' whether it is changed or not?
Couuld you send me some sample code? I would appreciate if you reply at the earliest.
Deepak Kumar. -
PASS THE LONG TEXT TO SAPSCRIPT
Hello Friends,
I m using itcsy structure to pass long text of quality certificate to sapscript output but im able to show only 80 characters in the output but my long text is more than 250 characters.
so how i can show these many characters value in my sapscript pls guide....
Regards,
SunnyIf you want to print the long text, you should use the INCLUDE statement in your SAP SCript.
1. You don't have to take the pain of fetching the text.
2. You don't have to reformat the same.
INCLUDE TEXT_NAME OBJECT TEXT ID
example:-
INCLUDE ZSDINV2A OBJECT TEXT ID ST LANGUAGE EN
Edited by: krupa jani on Nov 25, 2008 10:17 AM -
Service / Material Long text Repetation in PO Print,
Dear ALL,
I have a requirement where in the Service activities do have a Long text going up to 1 or 2 paragraphs, these long text gets printed in the POs getting created using this service activities,
but we mainly have many service activities having the same long text description, so when i use these 5-6 service activities in the PO, the service activity long text gets repeated 5- 6 times in the POs, it is filling the PO print page,
can we have a check to restrict PO long text appearing in PO print so that it is not repeated, can we have a check and option to choose which text from Service activity to appear and which can be restricted, any check or tick box which allows to have or not have a specific Service / Material master basic data Long text in print outs.
alternatively can we maintain Long Text at Material Groups level or is there any way to maintain and bring Long texts inside POs
Thanks and regards
S Kumar
Edited by: KumarSAP&SAP on Aug 23, 2011 10:38 AMHi Kumar,
Chek with your ABAPer to achieve the Requirement , I think most of requirement can be achieve through the form set up
But i doubt that you can maintain the long text in Material group level -
Display long text in SAPScript
Hi
I'd like to display long text of line item text which is there in VF03 (Billing/Invoice docu) menugoto-items-texts in output of SAPSCRIPT form.It would like to write the command in script text editor as: " /: INCLUDE &VBDPR-TDNAME& OBJECT VBBP ID 0001 PARAGRAPH HT " .
will this piece of code is enough to display on form. are is there anything that i need to do. like declaring in print program.....? please, suggest me experts....
thank you....that is enough, but make sure you populated the TDNAME in the driver.
/: INCLUDE &VBDPR-TDNAME& OBJECT VBBP ID 0001 PARAGRAPH HT
Maybe you are looking for
-
Colored Pictures Turning Black and White in Certain Files (PSE 9.0)
Hey guys, how's it going? I'll try to keep this breif, but it may take a little while to explain. I've been getting a problem with PSE 9.0 where an image or layer that is in color suddenly turns black and white when I paste it into an open file. It's
-
my email address would apear to be too long. It keeps cutting short when I try t set up mailboxes. Any ideas?
-
Three finger double tap not working
Since updating to iOS 5 on my iPhone 3GS, the Zoom feature has stopped working. (Actually, when I double tap with three fingers, the screen enlarges a few pixels.) Any ideas on how to get this feature back? So far, I've turned it on and off, reboo
-
Desktop Mgr 6 - "Music services failed to load"
I've got a T-Mobile Curve 8520. This afternoon I uninstalled Desktop Mgr 5.0.1 and Office 2007 (with Outlook). I then installed Office 2010 (with Outlook), and finally installed the new Desktop Manager 6.0.0. Almost everything works, but when I try t
-
Blocking a particular customer for immediate delivery creation
Hi All, I have the following requirement Right now whenever the sales orders comes from the customers through EDI, the deliveries were created immediately. This was set up through the sales document. This is being used for the document KE. Now we nee