Entering long text in BDC on QM01

Hi
Can anybody tell me, how to enter the long text in bdc.
i am doing bdc on QM01 transaction in which i need to upload the long text.
can any body tell me how to do that.
Regards

Hi
First do recording from SHDB transaction... After u enter the transaction click on new recording,give a name and the tcode..then the tcode will open..
Give one value in the fields and also in the long text and then save it..
Now, come back to the recording....select the recording and then click on Program tab...to generate a program, in that select option transfer from recording..
Now, upload the flat file into SAP, using GUI_UPLOAD or ALSM_EXCEL_TO_INTERNAL_TABLE.
Then pass the internal table using LOOP-ENDLOOP to the subroutines..
Regards,
VIshwa.

Similar Messages

  • How to keep long text in bdc using create_text  function module

    hi,
    ihave bdc in that i having field like long text i have to upload the long text using create_text function module how to use and where to use in bdc. wat parameters i have to pass exactly.
    i need some other information like how can i pass this to BDC i got like this .
    can u plz check it.
    its a length of 255 chaters
    perform bdc_field using 'RSTXT-TXLINE(02)'
    'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'
    & 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'.
    perform bdc_field using 'RSTXT-TXLINE(03)'
    'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
    & 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'.
    perform bdc_field using 'RSTXT-TXLINE(04)'
    'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'
    & 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'.
    perform bdc_field using 'RSTXT-TXLINE(05)'
    'hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh'
    & 'hhhhhhhhhhhhhhhhhhhhhh'.

    Hi,
    Use this coding where do u want,
    data: begin of textline occurs 10.
            include structure tline.
    data: end of textline.
    start-of-selection.
    textline-tdformat = '*'.
    textline-tdline = 'TESTING FOR CREATION OF TEXT'.
    append textline.
    clear textline.
        call function 'CREATE_TEXT'
             exporting
                  fid       = '0013'
                  flanguage = sy-langu
                  fname     = '0095000501'
                  fobject   = 'VBBK'
             tables
                  flines    = textline
             exceptions
                  no_init   = 01
                  no_save   = 02.
    end-of-selection.

  • 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 advance

    Hi
    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

  • Object ID for PO long text for BDC of material master

    Hi all,
    we are working on BDC of material master:
       I have given some technical specifications in the P O text view of Material Master, i want to assign an object id for this long text , how to assign an object id for the long text?
    regards,
    urendra

    Hi
       thanku for quick response,,,  i had checked the textid,
       my problem was resolved, i have awarded some points
    thank u
    regards,
    urendra

  • 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 R

    Hi 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

  • Uploading long text thru bdc

    Hi Gurus,
    I am facing some problem during the recording of hader text.. Details given below...
    I need to do this by using BDC...
    &#61607; VA01 Steps as follows:
    1. Open VA01
    o Enter G2 or L2 order Type
    o Enter 9991 for Sales Org
    o Enter 01 for Dist Channel
    o Enter 99 for Division
    2. Enter Customer SAP # from spreadsheet to ship to and sold to
    (Enter some appropriate number)
    3. Enter Material Code from spreadsheet to Material
    (Enter some appropriate number)
    4. Enter target quantity as 1
    5. Enter Billing date as system date
    6. Go to Sales Tab
    7. Select Blank for billing block
    8. Enter order reason 013 for G2 type or 012 for L2
    9. Goto Header, Texts, Choose Invoice header text
    10. Enter SVB# from file as well as Quarter Text from file in notes
    11. Save
    this is want i need to do in order to create invoice serivce request by using BDC.
    I can able to get the fields till 8 th point ( i can able to write the program ), but from the 9 th point i m facing the problem..
    Bcz it just i need to enter some text here..( may be it's bcz of click )
    This is could not able to do it , can you please help me how can i do this ?
    Please let me know if i m not clear with my explanation...
    Looking forward for your response...

    Hi,
    Please refer this link:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/4e/09d47b8389d4439fa70159920f4bbe/frameset.htm.
    Regards,
    Rahul

  • PC crashes when entering long text in IW32

    Hi all,
    When entering a long text in IW32 a user's PC get stuck and needs to be restarted. Other users do not encounter this problem so the problem is limited to ONE specific user. Anyone have a clue what the cause can be?
    Best regards, Paul

    Let this user try the same on a different PC. If the other PC does not crash, then the problem is locally at his own PC. Then you may have to reinstall the SAP-GUI.

  • Long text uploading problem in BDC

    Hai Gurus
    please help me, it is urgent
    i want to upload more than 200 characters filed from flat file to every inspection lot record usage decision(QA11) through BDC for every inspection lot
    Brief description about my problem:  
    in the transaction QA11 , enter any new inspection lot number and press enter , in this next screen (after pressing enter) in  usage decision sub screen , create long text for UD icon is there in that we can enter long text(any number of characters ) through manually for single inspection lot but i want to enter long text for UD through BDC for more than one inspection lot automatically
    points will be rewarded
    Thanks

    Hai Gurus
    please help me, it is urgent
    i want to upload more than 200 characters filed from flat file to every inspection lot record usage decision(QA11) through BDC for every inspection lot
    Brief description about my problem:  
    in the transaction QA11 , enter any new inspection lot number and press enter , in this next screen (after pressing enter) in  usage decision sub screen , create long text for UD icon is there in that we can enter long text(any number of characters ) through manually for single inspection lot but i want to enter long text for UD through BDC for more than one inspection lot automatically
    points will be rewarded
    Thanks

  • Error while uploading Long Text in IA05 through BDC.

    Dear Team,
    Good Day.
    While we are trying to upload the Long Text through BDC for IA05 operations  the text is updating in Database but it is not visible in the long Text field. Is it possible to upload the long text through BDC or any bapi's which can be used for the same. Any configuration needed for this please do the needful.
    Regards,
    Bhanu.

    Bhanu,
    I've modified the previous message with a correction that, I had used this for uploading Activity lines Longtexts.
    One more thing: After I faced some problem, I used split text  in the code. i.e., Splitting the longtext into several lines (72 char each). Show these code lines to your ABAPer, may be he might be able to draw some clues.
    In the BDC lines alongwith other fields the gold line below
    PERFORM FILL_BDC_DATA       USING  ' '  ' '  ' '  'BDC_OKCODE'  '=MX07'.
    PERFORM FILL_BDC_DATA       USING  ' '  ' '  ' '   'BDC_CURSOR' 'QMICON-LTAKTION(07)'.
    PERFORM FILL_BDC_DATA       USING ' '  ' '  ' '   'VIQMMA-MATXT(07)' FS_FIELD-MNTXT7.
    PERFORM SPLIT_LONGTEXT USING COL_COUNT.
    Code for Form SPLIT_LONGTEXT is attached herewith (MATXT1 to MATXT7 are longtext split into 7lines )
    Best of luck
    KJogeswaraRao

  • How to send long text  in a mail using FM : SO_NEW_DOCUMENT_SEND_API1

    Hi All,
    In my BSp application user can enter long text   ( can be more than 300 char ) in TextEdit.
    problem is as below:
    1) i am getting all the text in oninput processing ...
    2) using the FM READ_TEXT to   get mail template built in SO10.
    3) Replacing all dynamic variables in mail template with user enterd text.
    4) then passing the data to FM SO_NEW_DOCUMENT_SEND_API1.  this FM has table parameter with 255 char ( please check once )
    i am able to send the data  in mail.   But long text more than 256 char is not comming as single paragraph.
    For expamle  ...user enter the following  text in text edit.
    Responsible for the development, implementation, and maintenance of human resource information systems (HRIS) associated with the collection, retrieval, accessibility, and usage of employee information for Human Resource department planning and activities.  Maintains internal database files and tables, and develops custom reports to meet the requirements of Human Resource management and staff.
    in inbox i am getting as below:
    Job Description for    : Responsible for the development, implementation, and maintenance of human resource information systems (HRIS) associated with the collection, retrieval, accessibility, and usage of employee information for Human Resource depa
      Maintains internal database files and tables, and develops custom reports to meet the requirements of Human Resource management and staff.
    Job Description for is fixed text from SO10 templete.   and  remainning text is user text.
    some data is missing in mail.
    SO10 template  is as below  :
    Job Description for : &INSTRUC1&
    &INSTRUC2&
    help to solve the above issue.
    Regads,
    Kishan
    Edited by: kishanrao.sap on Oct 11, 2010 3:12 PM

    Hi Krishna,
      Please use the object_type parameter of tthe FM as 'HTM'.
    Then divide the text by append them into the lines of the object_content. In the begining and end make sure you have
    <p> --  in the begining
    </p>-- in the end
    if i want to type the text in one para " My name is Imran and i am an ABAP developer".
    CLEAR: WA_OBJECT_CONTENT.
      WA_OBJECT_CONTENT-line = '<html>'<body><p> My name is Imran.
      APPEND WA_OBJECT_CONTENT TO T_OBJECT_CONTENT.
    CLEAR WA_OBJECT_CONTENT.
      WA_OBJECT_CONTENT-line = ' and i am an ABAP developer</p></body><html;>'.
      APPEND WA_OBJECT_CONTENT TO T_OBJECT_CONTENT.
    Hope this helps you.
    Regards
    Imran.

  • Error While uploading Long Text for Operations in IA05 Transaction.

    Dear Team,
    Good Day.
    While we are trying to upload the Long Text through BDC for IA05 operations  the text is updating in Database but it is not visible in the long Text field. Is it possible to upload the long text through BDC or any bapi's which can be used for the same. Any configuration needed for this please do the needful.
    Regards,
    Bhanu.

    Hi Bhanu
    correct me if im wrong, the long text is a multiline text, its an object for text, this cant be filled with BDC since this object can not be created in background mode, so i think the bdc skip the routines to fill this object, you can use the save_text function right after the transaction ends
    Regards
    MC

  • How to get Material long text / Sales Text

    Hi,
    when I have created a service order I have enter Long text in Tab Item Details , i.e in sales Text I have entered some text , So can any one tell me how to get this text as I have to show this text in invoice printing
    Thanks
    Bobby

    600101202274700000001
    For a Particular Text name Of Item Level operations
    1st 3 character denotes client id in this case 600 +
    2nd 10 character denotes AFKO-AUFPL with respect to the production order  in this case
    1012022747 +
    last 8 character denotes the operation line item numebr

  • Long Text in RFQ

    Hi All,
    I am trying to create "More Text" in the RFQ text for item. When i double click on "More Text" option, i see a screen where i can enter long text.
    My problem is how to use the options "Symbols, Command, SAP Characters, Link" etc. I get these when i click Insert command on menu. Whatever i type for Symbols, Link etc, it says no values available or invalid symbol etc. Can anybody let me know the exact configuration area and how to use the above mentioned.
    Thanks

    to learn more about DMS follow the link:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/04/9270ec46f311d189470000e829fbbd/frameset.htm
    I dont think that you need DMS for standard text maintenance.
    The same menu entries you have for SAPscript standard texts in SO10.
    here the link to its docu:
    http://help.sap.com/saphelp_erp2005/helpdata/en/f4/b49dc6453611d189710000e8322d00/frameset.htm
    If you really get nothing, then check if you have authority (with /nSU53, after you have an entry chosen and nothing has happended)

  • Problem in getting long text in Cash receipt.

    Hi all,
    I want long text in my form print but as a programming i am not getting long text in description Field I am getting short text.  So can you please kindly tell me when we entered long text in transaction FBCJ this long text save in which table. And how can i fetch this data in my smartforms.
    Thanks in Advance.

    Hi Keyur,
    when you see the detail text in the transaction, use menu goto -> header. Here you see the details to use for an include staement in sapscript. Note that the text name may be a concateneation of client and document number. Prepare the details in print program, fill in variables to be used in sapscript.
    Hope these details are enough.
    Regards,
    Clemens

  • Print the Long text in Smartform

    Hi all,
    I designed a Work order document using Smartform for the T-Code 'IW32'.
    I am able to print the Operation short text, but there is one more provision for the user to enter long text also.
    I am not getting where this text gets stored in the database.
    Any one can give me some solution to over come this problem.
    Regards,
    Ravi Shankar

    hi Ravi,
    check this link
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/faq
    here in FAQ , you will know abiut how longtext is created and where it is stored
    it might be helpful to you.
    thanks
    Sachin

Maybe you are looking for

  • ITunes has randomly deleted the majority of my music (that wasn't purchased) and I don't know what the **** to do to get it back!

    So my computer went all funny before it turned on. I open up iTunes, for some sort of error looking type message coming up...idk what it said, I just dismissed it. But before that came up, there was a popup with some of my songs "loading" as I opened

  • 6.01 Degraded Quality Of Files Compared To Adobe Reader

    I have a wide format scanner, an HP Designjet 4200(815mfp), that can save scans in .pdf format. When I click on the properties tab of one of these .pdf's, this is the info: Application: CTX PDF Producer: PDFlib 4.0.3(Win32) PDF Version: 1.3. I am usi

  • Help : How to use list of values in Variable in ODI

    Dear All, I have a multiple values in table, and I would to use these values a a parameter in ODI to retrieve rows based on these values. As I know that we can use single value in variable in ODI. Any one can Help me please?

  • Re: Japanese input method editor (ime)

    Hi. for about a week now my Japanese ime in outlook 2007 student version hangs when i try and convert to kanji from hiragana (Japanese to Chinese characters). It does eventually unfreeze but only after some minutes. Because the IME is built into lang

  • WebDynPro vs BSP

    Hi, As far as I can tell, WebDynPro and BSP are competing technologies. They both basicly accomplish the same goals although in different ways. So how do I know which technology is best for my company? Should I base it on our internal goals & strateg