How to pass long text field in BAPI_MATERIAL_MAINTAINDATA_RT
Hi Guru's,
I am using funtion module BAPI_MATERIAL_MAINTAINDATA_RT for uploading material master.
In this I have to pass long text field for that one I am passing data to MATERIALLONGTEXT table but it is throwing fallowing error.
Long text for article THIS IS FOR TESTIN has no header segment.
Will any body please guid me what are the parameters I have to pass for long text field.
Thanks,
Santhosh
Hi ,
your config is missing , what is ur TD object ?
you can cross check in SE75-->Under MARA
regards
Prabhu
Similar Messages
-
Hi Experts,
i am using the BAPI : "BAPI_REQUISITION_CREATE". it' is working Fine.But i need to pass the Long Text Field of Header Note, Item Text, Item Note,Delivery text and Material P.O text through the BAPI.
Plz,Help me to Achieve this.
Thanks in Adv.
V.S.Naidu.Below is the code for BAPI_PR_CREATE just go through it and your dbout will be solved
it has example for multi line header text as well as line items...!
Hope it helps
CLEAR GV_BAPIMEREQHEADER.
MOVE 'NB' TO GV_BAPIMEREQHEADER-PR_TYPE.
move 'X' To GV_BAPIMEREQHEADER-AUTO_SOURCE.
CLEAR GV_BAPIMEREQHEADERX.
MOVE 'X' TO GV_BAPIMEREQHEADERX-PR_TYPE.
MOVE 'X' TO GV_BAPIMEREQHEADERX-auto_source.
CLEAR WA_BAPIMEREQITEMIMP.
MOVE :
'00010' TO WA_BAPIMEREQITEMIMP-PREQ_ITEM,
**'001' TO WA_BAPIMEREQITEMIMP-PUR_GROUP,
*'TWISTED PAIR CABLE' TO WA_BAPIMEREQITEMIMP-SHORT_TEXT,
'C-1030' TO WA_BAPIMEREQITEMIMP-MATERIAL,
'1000' TO WA_BAPIMEREQITEMIMP-PLANT,
'100' TO WA_BAPIMEREQITEMIMP-QUANTITY,
'20091001' TO WA_BAPIMEREQITEMIMP-DELIV_DATE.
APPEND WA_BAPIMEREQITEMIMP TO GT_BAPIMEREQITEMIMP.
CLEAR WA_BAPIMEREQITEMX.
MOVE :
'00010' TO WA_BAPIMEREQITEMX-PREQ_ITEM,
'X' TO WA_BAPIMEREQITEMX-PREQ_ITEMX,
*'X' TO WA_BAPIMEREQITEMX-PUR_GROUP,
'X' TO WA_BAPIMEREQITEMX-SHORT_TEXT,
'X' TO WA_BAPIMEREQITEMX-MATERIAL,
'X' TO WA_BAPIMEREQITEMX-PLANT,
'X' TO WA_BAPIMEREQITEMX-QUANTITY,
'X' TO WA_BAPIMEREQITEMX-DELIV_DATE,
'X' TO WA_BAPIMEREQITEMX-EXT_PROC_PROF.
*EXT_PROC_REF_DOC
*EXT_PROC_REF_ITEM
APPEND WA_BAPIMEREQITEMX TO GT_BAPIMEREQITEMX.
CLEAR EXTRA_FIELDS.
MOVE '00010' TO EXTRA_FIELDS-BNFPO.
MOVE '12345678901' TO EXTRA_FIELDS-ZZDANOSPR_NO.
MOVE 'MUM01' TO EXTRA_FIELDS-ZZPORT.
MOVE '20100505' TO EXTRA_FIELDS-ZZETD.
MOVE '20100506' TO EXTRA_FIELDS-ZZETA.
MOVE '123456789123456789' TO EXTRA_FIELDS-ZZEXTWG.
MOVE TEMP TO EXTRA_FIELDS-ZZrob.
CLEAR WA_EXTENSIONIN.
MOVE 'BAPI_TE_MEREQITEM' TO WA_EXTENSIONIN-STRUCTURE.
MOVE EXTRA_FIELDS TO WA_EXTENSIONIN-VALUEPART1.
APPEND WA_EXTENSIONIN TO GT_EXTENSIONIN.
CLEAR WA_EXTENSIONIN.
MOVE 'BAPI_TE_MEREQITEMX' TO WA_EXTENSIONIN-STRUCTURE.
MOVE EXTRA_FIELDS TO WA_EXTENSIONIN-VALUEPART1.
APPEND WA_EXTENSIONIN TO GT_EXTENSIONIN.
CLEAR WA_EXTENSIONOUT.
MOVE 'BAPI_TE_MEREQITEMX' TO WA_EXTENSIONOUT-STRUCTURE.
*MOVE EXTRA_FIELDS TO WA_EXTENSIONOUT-VALUEPART1.
APPEND WA_EXTENSIONOUT TO GT_EXTENSIONOUT.
clear wa_PRITEMTEXT.
MOVE '00010' TO wa_pritemtext-preq_item.
move 'B01' TO WA_PRITEMTEXT-TEXT_ID.
MOVE 'THIS IS JUST FOR TEST' TO WA_PRITEMTEXT-TEXT_LINE.
APPEND WA_PRITEMTEXT TO GT_PRITEMTEXT.
clear wa_PRITEMTEXT.
MOVE '00010' TO wa_pritemtext-preq_item.
move 'B01' TO WA_PRITEMTEXT-TEXT_ID.
MOVE 'THIS IS THE SECOND LINE' TO WA_PRITEMTEXT-TEXT_LINE.
APPEND WA_PRITEMTEXT TO GT_PRITEMTEXT.
BREAK-POINT.
CALL FUNCTION 'BAPI_PR_CREATE'
EXPORTING
PRHEADER = GV_BAPIMEREQHEADER
PRHEADERX = GV_BAPIMEREQHEADERX
* TESTRUN =
IMPORTING
NUMBER = GV_NUMBER
PRHEADEREXP = GV_PRHEADEREXP
TABLES
RETURN = GT_BAPIRET2
PRITEM = GT_BAPIMEREQITEMIMP
PRITEMX = GT_BAPIMEREQITEMX
* PRITEMEXP =
* PRITEMSOURCE =
* PRACCOUNT =
* PRACCOUNTPROITSEGMENT =
* PRACCOUNTX =
* PRADDRDELIVERY =
PRITEMTEXT = GT_PRITEMTEXT
* PRHEADERTEXT =
EXTENSIONIN = GT_EXTENSIONIN
* EXTENSIONOUT = GT_EXTENSIONOUT
* PRVERSION =
* PRVERSIONX =
* ALLVERSIONS =
* PRCOMPONENTS =
* PRCOMPONENTSX =
* SERVICEOUTLINE =
* SERVICEOUTLINEX =
* SERVICELINES =
* SERVICELINESX =
* SERVICELIMIT =
* SERVICELIMITX =
* SERVICECONTRACTLIMITS =
* SERVICECONTRACTLIMITSX =
* SERVICEACCOUNT =
* SERVICEACCOUNTX =
* SERVICELONGTEXTS =
* SERIALNUMBER =
* SERIALNUMBERX =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
* IMPORTING
* RETURN =
WRITE : 'THE PR CREATED IS : -',GV_NUMBER. -
i want to print a description in text mode which is 5-6 lines some times it have a blank line also so
how to print in ALV .i m using READ_TEXT function but sumtime it not works when text exceed 4-5 lines
what i sud do.hi,
there is another way u can use yours internal table field like long text field. that is.
parameters: salno type vbak-vbeln.
data: begin of itab occurs 0,
vbeln type vbak-vbeln,
matnr type vbap-matnr,
longtext type thead occurs 0,
end of itab.
data: itabstxl type standard table of stxl with header line.
select single vbakvbeln vbapmatnr into (itab-vbeln, itab-matnr)
from vbak inner join vbap
on vbakvbeln = vbapvbeln
where vbak~vbeln = salno.
select single tdobject tdname tdid tdspras from stxl
into (itabstxl-tdobject,itabstxl-tdname,itabstxl-tdid,itabstxl-tdspras)
where relid = 'TX'
and tdobject = 'VBBK'
and tdname = salno "YOUR OWN TDNAME e,g
and tdid = 'Z003'
and tdspras = 'EN'.
call function 'READ_TEXT'
exporting
CLIENT = SY-MANDT
id = itabstxl-tdid
language = itabstxl-tdspras
name = itabstxl-tdname
object = itabstxl-tdobject
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = itab-longtext
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.
break abaper.
I HOPE THIS WILL SOLVE THIS WILL SOLVE THE PROBLEM OF THE OTHERS AS WELL. -
Tcode FV50: How to find long text in FI Document line item Before Saving.
Hi,
How to find long text in FI Document line item.
During Parking of the FI document through Tcode FV50 i m giving the some text in the long text not in the text field.
I would like to validate the Long Text Before Saving in user exit "U300" under the "Sunstitution" .
Please anybody can be help me out where exactly this long text is going to be stored or in which internal table or memory id.
Please give me the answer as soon as possible .
Note:- Read_Text function module is not useful. Because Read_text useful after saving document.Hi Amit,
In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
Just try to explore in your system how the other validations are maintained.
After you are done with all your code, you have to run the regeneration program RGUGBR00.
Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS & TRACE PROG. GENERATE CALLS .
Hope this make your doubt clear.
Regards
Abhii -
How to display Long text in alv output
Hi,
I have developed an ALV report.It is displaying the output.
There is another requirment for alv output text field as below
From the long text fields show only the first 20 characters and afterwards the long text icon. If the icon is clicked open the long text display screen.
Please give your suggestion how to work on this requirement.
Thanks in advanceHi,
Create a hotspot for the long text column of ALV.
When user clicks on the hotspot, handle the event to display long text screen.
You may refer sample program of hotspot ALV :
Goto SE38
Type BCALV*
Click F4
search for HOTSPOT or EVENTS & you will get a sample program.
Best regards,
Prashant -
How to add long text in bdc for transaction fb01 ?
IN the existing program of bdc fb01
i have to add a long text field
but it gets stuck while i process in sm35
is there a fm to add the field directly
thanks in a advanceHi
You can upload the Long texts separately into the transaction using the CREATE_TEXT fun module
Need to pass the correct parameters like OBJECT,ID, OBJECTNAME and LANGuage with the proper declarations.
see the sample code and do accordingly
REPORT zmm_longtext_sm
NO STANDARD PAGE HEADING
LINE-SIZE 255.
Description : This Program is used to Upload the Service Master
: Long Texts using the Fun Module CREATE_TEXT
Internal Table for Upload of Long Texts Data
DATA: BEGIN OF itab OCCURS 0,
asnum like asmd-asnum, " Service No
text LIKE tline-tdline, " Long Text
END OF itab.
To create Long Text lines for CREATE_TEXT function module
DATA:BEGIN OF dt_lines OCCURS 0.
INCLUDE STRUCTURE tline. " Long Text
DATA:END OF dt_lines.
Variable declarations for CREATE_TEXT function module
DATA : dl_name TYPE thead-tdname, " Object Name
dl_lan TYPE thead-tdspras. " Language
Constants
CONSTANTS:
Object ID for Long Text of Service Master
c_best TYPE thead-tdid VALUE 'LTXT',
c_material TYPE thead-tdobject VALUE 'ASMD'. " Object
Parameters
PARAMETERS p_file LIKE rlgrap-filename.
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start Of Selection
START-OF-SELECTION.
*To Upload Flat file
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = itab
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
Upload the Texts
SORT itab BY asnum.
LOOP AT itab.
dt_lines-tdformat = 'ST'.
dt_lines-tdline = itab-text.
APPEND dt_lines.
dl_lan = sy-langu.
concatenate '00000000000' itab-asnum into dl_name.
Call the Function Module to Create Text
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = c_best
flanguage = dl_lan
fname = dl_name
fobject = c_material
save_direct = 'X'
fformat = '*'
TABLES
flines = dt_lines
EXCEPTIONS
no_init = 1
no_save = 2
OTHERS = 3.
IF sy-subrc <> 0.
WRITE:/ 'Long Text Creation failed for Service No'(001),
itab-asnum.
ELSE.
WRITE:/ 'Long Text Created Successfully for Service No'(002),
itab-asnum.
ENDIF.
AT END OF asnum.
REFRESH dt_lines.
ENDAT.
ENDLOOP.
<b>Reward points for useful Answers</b>
Regards
Anji -
How to fill Long Text in Accounting document in the item level.
Hi,
I need to fill Long Text field in item level of accounting document from the header texts from Billing header(say billing instructions)
I checked the user exit EXIT_SAPLV60B_008 but it didnt worked in my case. I have read the billing instructions in the Billing header using FM READ_TEXT but I am not able to save this text using FM SAVE_TEXT because for the field Long Text the parameter TDNAME is a concatenation of BUKRS(COmpany code) BELNR(Accounting doc. no.) GHAJR(fiscal year) BUZEI(line item) .
But I am not able to capture this accounting doc. number in the mentioned user exit instead I am getting Sales Invoice number and hence not able to give TDNAME parameter for FM save_text.Hi Amit,
In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
Just try to explore in your system how the other validations are maintained.
After you are done with all your code, you have to run the regeneration program RGUGBR00.
Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS & TRACE PROG. GENERATE CALLS .
Hope this make your doubt clear.
Regards
Abhii -
How to create Long Text in Module Pool Program
Hi all,
I want to develop a new module pool program and I want to use Long text screen in this program and also want this text will store in table.I never develop such type of module pool before.This long text will like sales order long text.Please let me know the steps how I can develop such type of program and how I save long text huge data in table.
Thanks & Regards
NirmalHai ,
here you have to use custom control, for this
DATA: line(256) TYPE c,
text_tab LIKE STANDARD TABLE OF line,
field LIKE line.
1) Create custom control in your screen
2) CREATE OBJECT: container EXPORTING container_name = 'TEXTEDIT', "--> (this is custom control name in screen)
editor EXPORTING parent = container.
3) CALL METHOD editor->get_text_as_stream "This method reads data from custom control , inserts into itab 'text_tab'
IMPORTING
text = text_tab. "
READ TABLE text_tab INTO line INDEX 1. read the text into wa 'line'
if you want more clarity , see 'ABAPDOCU' >ABAP USER DIALOGS> COMPLEXSCREEN ELEMENTS--> DEMO CUSTOM_CONTROL -
How to read long text in Document line item
Hi,
How to read long text in FI Document line item.Use Read_text function module.
you need to pass
ID
LANGUAGE
NAME
OBJECT to the function moduel
To find the Text id name language and object these are the following steps. Example: FB02
1. goto FB02, Enter Document number
2. from menuselect Goto>Header-->header Text..... New window will be displayed
3. select the Header Text. here you can see all the text.
4. click on the TEXT (which you want to know the Text id) , then press log ICON (you can find in bottom right of the text window) it looks like a rolled paper.
5. in the Next window you will find Text Name. Text ID, Language. etc...
Regards,
Lalit Mohan Gupta. -
G/L Account Long Text Field in Display
Dear Sir,
I want G/L Account long text field be displayed along with G/L account number in G/L Account line item display report (FBL3N)
I cheched the layout, the option of G/L account number is available but option of G/L account Long text is not available.
Kindly guide me as to how can I do it?
Regards
Chirag ShahYou must do some development for it.
You can add additional field to FBL*N reports with using BTE exit.
First of all, if you don't use BTE before, you must create a product on FIBF.
Call FIBF transaction -> Settings -> Products -> ...of a customer
Create a new line,
Product: ZFI
Text: BTE Products for FI Exit
Product active: tick checks from activation.
Then you must call SE11 for structure RFPOS.
You must use append structure function for this structure and you can define ZFI_RFPOS append structure
Define 4 fields.
Component: KUNNR - Component type: KUNNR
Component: NAMED - Component type: NAME1
Component: LIFNR - Component type: LINFR
Component: NAMEK - Component type: NAME1
Then save and active your RFPOS structure.
After that, you must do same step for structure RFPOSX.
Then go to SE37 and copy from SAMPLE_INTERFACE_00001650 to ZFI_INTERFACE_00001650 FM.
After copy action, you must uncomment this line on ZFI_INTERFACE_00001650 FM's source code. It's very important;
E_POSTAB = I_POSTAB.
Then you should add some ABAP code for getting customer & vendor details.
I give you some examples, you can use it. (Next message on this thread, please check)
Then save and active FM.
Call FIBF transaction again.
FIBF -> Settings -> Process Modules -> ...of a customer
Define a new line.
Process: 00001650
Function Module: ZFI_INTERFACE_00001650
Product: ZFI
and this customizing.
Then you go to SE38 transaction.
start report RFPOSXEXTEND. After starting, a pop-up appears, you must click YES.
After those operations, you can see customer/vendor code and their names on FBL3N.
ABAP source example,
TABLES : bseg, kna1, lfa1.
IF sy-tcode = 'FBL3N'.
CLEAR: bseg.
SELECT SINGLE *
FROM bseg
WHERE bukrs = i_postab-bukrs
AND belnr = i_postab-belnr
AND gjahr = i_postab-gjahr
AND koart = 'K'.
IF sy-subrc EQ 0.
e_postab-lifnr = bseg-lifnr.
CLEAR: lfa1.
SELECT SINGLE *
FROM lfa1
WHERE lifnr = bseg-lifnr.
IF sy-subrc EQ 0.
e_postab-namek = lfa1-name1.
ENDIF.
ENDIF.
CLEAR : bseg.
SELECT SINGLE *
FROM bseg
WHERE bukrs = i_postab-bukrs
AND belnr = i_postab-belnr
AND gjahr = i_postab-gjahr
AND koart = 'D'.
IF sy-subrc EQ 0.
e_postab-kunnr = bseg-kunnr.
CLEAR: kna1.
SELECT SINGLE *
FROM kna1
WHERE kunnr = bseg-kunnr.
IF sy-subrc EQ 0.
e_postab-named = kna1-name1.
ENDIF.
ENDIF.
ENDIF. -
Need to find table/field behind "Item long text" field in Notes tab in FB70
Hello,
To print a custom FI invoice, I need to access the data entered in the "Item long text" field of the Notes tab in FB70. To test, I used 5000 characters in that field to make sure it stood out from the rest of the data. F1 help does nothing on that field, and even running an SQL trace (ST05) doesn't show the text in that field being entered into any table. I tried F1 on a nearby field and got a structure instead of a table, so I investigated the structure through SE11 but found no character field with such a large capacity. How else can I find where that field is stored?Thanks! It took a while, but with your help and a few other pages I managed to piece together an answer.
Vinod helpfully explained that the text name is a concatenation of various fields, but didn't specify how to find the line item ID. If you go to table STXH (as hinted by Brad and confirmed [here|http://fuller.mit.edu/SAPWebDocs/LongComment.html]) and search for texts created today (or whenever you were testing), you'll see the text name ends in '001' after GJAHR, so the line item ID is '001' regardless of how many line items you enter in the invoice.
Armed with that info, you can call READ_TEXT and loop through the results to concatenate the contents of each TDLINE field. (FB70 automatically breaks the user-entered text into different lines even if the user didn't press Enter, and each line gets its own record in the results.)
Thanks again,
Pedro -
To Make the Long text field as required using OA Framework Personalization
Hi All
In IProcurement requisition, we have long text field called 'Justification' a long text field. I have made this field as mandatory by setting the required property as 'Yes' at site level. This works for Most of the cases. However if the user just presses Enter key and skip without entering something in this field . So how to stop the user without entering something except spaces or enterkey to proceed further.
Regards
RajkumarHi,
Very Interesting question, I never thought of it.
In your case you may try to extend the controller of that page and in the controller trim the text and set that value to the text.
In other way, You can try in USER hook function : POR_CUSTOM_PKG package, check if you are getting that value.
Regards
Apurba K Saha -
BAPI_ACC_DOCUMENT_POST long text field missing
Hi,
I will have to transfer our vendor open items from v 3.1 to ERP 2004. I
am using <b>BAPI_ACC_DOCUMENT_POST</b> to upload these open items. However, I
cannot find the <b>'LONG TEXT'</b> field in the said BAPI. In using <b>F-02</b>, a
long text field/button is available. <u><b>How can i post an entry in the long text
field of the line item in f-02 using BAPI_ACC_DOCUMENT_POST</b></u>.
Also, i have used the extension1 table and a BTE (note 487722) in
uploading the posting key. Since field bschl is available in table
accit, there was no problem in doing this. However, i cannot seem to
find the field long text in this table. Is it available? If not, what
can I do with the above situation.
Thanks.Hi
Excuse me! you can't use RFBIBL00, use the fm SAVE_TEXT.
After calling the BAPI you should have the number of FI document will be created and know in which item you need to insert the long text so:
THEAD-TDOBJECT = <Object text>.
THEAD-TDNAME(4) = <Company code>
THEAD-TDNAME+4(10) = <Document number>
THEAD-TDNAME+14(4) = <Fyscal year>
THEAD-TDNAME+18(3) = <Item number>.
THEAD-TDID = <Id text>.
THEAD-TDSPRAS = <Language>.
THEAD-TDLINESIZE = 72.
These are the header data, transfer the text in LINES parameters.
Max -
Special Characters in Long Text Field of FI Documents
Hi,
Users entered the following in the long text field of a FI document:
"Settlement of claims for direct shipment (Refer to XXX/YY-053/2009, XXX/YY-018/2009, XX2120000031 and X2120000033)"
The default editor used is the one which looks like the MS Word.
When we changd to the other editor (Goto > Change Editor), we see the following:
"Settlement of claims for direct shipment to Thailand (Refer to"
"XXX/YY-053/2009<(>,<)> XXX/YY-018/2009, XX2120000031 and X2120000033)"
How did "<(>,<)> " comes about?
Any ideas?I'd probably use a regex of "allowed" characters rather than a list of "disallowed" characters, but thats just a difference in approach.
I would probably use a regular expression - alphanumeric is fairly easy to check
String value = request.getParameter("enteredField");
boolean alphaNumericOnly = value.matches("\\w+");As a matter of being nice to the user, you can also do this check in javascript on the client side.
ALWAYS validate server side.
Optionally validate client side to give the user a better experience (less round trip requests)
Cheers,
evnafets -
Problem viewing text in long text field
Hi,
I have a long text in the screen and it takes 65 characters per line in the long text field. iam able to populate data in the long text field but the text in the long text field is truncating in between the words as shown below.
SAP Business One users can access and ru
n reports by using the UI API provided as
part of the SAP Business One SDK and the
Crystal Reports .Net Winform viewer. Rea
d the new ---
Could any one suggest how to rectify this, my requirement is to end the lines at spaces like
SAP Business One users can access and run
reports by using the UI API provided as
part of the SAP Business One SDK and the
Crystal Reports .Net Winform viewer. Read
the new ---
Appriciate your time.
Reward points for useful answer.
Thanks,
Sreeni.here is how I would do it:
1) convert the input (short text) table to string
2) apply this code to the string:
DATA: lv_text TYPE text40,
lv_length TYPE i.
WHILE lv_string IS NOT INITIAL.
lv_length = 39.
lv_text = lv_string.
WHILE lv_text+lv_length(1) NE space AND lv_length GE 0.
lv_text = lv_text(lv_length).
lv_length = lv_length - 1.
ENDWHILE.
IF lv_length GE 0.
APPEND lv_text TO lt_short_text.
ENDIF.
lv_length = lv_length + 1.
SHIFT lv_string LEFT BY lv_length PLACES.
ENDWHILE.
Maybe you are looking for
-
BUG: Playback Fails When Loading A Random Video - Firmware 1.2
I've been looking all over on where to post a bug, and for a fix for this bug I found. Not many seem to be having this problem (I assume not many are trying to randomly play a video from a video playlist) BUG: Playback Fails When Loading A Random Vid
-
Does the 7th generation iPod nano have a built in speaker?
does the 7th generation iPod nano have a built in speaker? i have looked through the site and i have not found any results on this and i was just curious if anyone else knows the answer here.
-
whenever I try to sync my phone with itunes, it prompt with a window saying that this computer is not authorised. Although I again authorise my computer through store option but again while sync it shows the same window. I have reinstaled itunes also
-
Problems with using text in Dreamweaver (was: Text)
Ok well.. I have everything just about done on the website im working on, I have template pages etc, im in the process of formatting text though and having a bit of trouble, I have text laid out on the pages but im now trying to format headings etc,
-
Undeliverable emails but they are delivered
For every email I receive, I also get an email from Internet Mail Delivery ([email protected]) with a subject line 'Problem during delivery processing'. What does this mean?