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...
 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

Similar Messages

  • 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

  • Re:Uploading Long text of 500 characters through LSMW

    Can any1 help me out in uploading long text of 500 characters thru LSMW...Please reply ASAP..We have used Direct Input method 0004...We have a structure for long text ,but still unable to upload.

    I have the same problem where the long text is not being updated through a AC02 BDC session.  Did you find a solution to the problem yet?
    Thanks
    Johan

  • 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

  • Create quotation item text thru bdc

    hi all,
    I have created  quotation upload BDC in that
    how to create item text thru BDC program..
    i used save_text function module,
    after creating quotation i included this logic, but i want create text at the same time while creating quotation.
    concatenate i_zvbap1-vbeln  i_zvbap1-posnr into v_textname.
    move v_textname to tname-tdname.
    move 'VBBP' to tname-tdobject.
    move '0001' to tname-tdid.
    move sy-langu to tname-tdspras.
    append tname.
    read table i_upload1 with key matnr = i_zvbap1-ematnr
            if sy-subrc = 0.
              lines-tdformat = '*'.
              move i_upload1-refid to lines-tdline.
              move i_upload1-refid to i_zvbap1-refid.
              modify i_zvbap1.
              append lines.
              clear lines.
            endif.
          endloop.
          call function 'SAVE_TEXT'
            exporting
              client          = sy-mandt
              header          = tname
              insert          = 'X'
              savemode_direct = 'X'
            importing
              newheader       = tname
            tables
              lines           = lines
            exceptions
              id              = 1
              language        = 2
              name            = 3
              object          = 4
              others          = 5.
          if sy-subrc = 0.
           message id sy-msgid type sy-msgty number sy-msgno
           with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          endif.
    how can i achieve this
    thanks

    thanks for ur reply..while creating quotation i have to create text...
    but i think i need to pass parameters like
    NAME
    OBJECT
    ID etc..
    name will be concatenation of quotation number and item number, before creating i will be not having those info..
    can u explain me in detail...
    what parameters i have to give
    thanks

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

  • How to upload long texts to project definitions?

    Hi everyone,
    Does any of you know a program for uploading long texts to project definitions?
    Thanks in advance and best regards.
    Txema.

    Found this post in SDN ABAP forum on the similar issue , check this out it might be helpful
    Project Systems WBS, Long Text Field
    Regards
    Sreenivas

  • Uploading long text as one long text for the same records.

    Hi,
    i am uploading long text into one custom application.in that i had one issue,
    I am uploading long text with the combination of material,palnt,division,sales organization and distribution channel.
    Now my reqiurement is when ever two or more than two records are same for the material,palnt,division.The respected text shulod be created as a single text.
    will any body suggest me with logic, how to handle it?

    Hi,
    i am having records like this...
    MATNR    VKORG    VTWEG    TEXT
    865498    0012        00654       test1
    865498    0012        00654       test2
    865498    0012        00654       test3
    865498    0012        00654       test4
    865498    0012        00654       test5
    865498    0012        00654       test6
    865498    0012        00654       test7
    in the above test data MATNR , VKORG, VTWEG records are same but TEXT is different.
    Now my requirement is , i need to upload the data in to application as
    MATNR    VKORG    VTWEG    TEXT
    865498    0012        00654       test1test2test3test4test5test6test7
    how can i handle it?

  • How to UPLOAD Long Text in QS21

    Dear All,
    I have written BDC to upload Master Inspection Characterstics,
    The Problem is I need to upload the long Text, (which is of some 250 chars).
    How to do this.
    Help is appriciated.
    Thanks in advance
    Arun

    Hi,
      I think there is an ICON to enter the long text.
      U can start filling the LONG text here using
      RSTXT-TXLINE(03) - this takes around 70 chars the next
      chars in RSTXT-TXLINE(04) and so on. U can get this
      in SHDB recording.
    Regards,
    GSR.

  • 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

  • How to upload long text in CA02 Transaction

    Hi,
    I am getting a file with the following format.
    Input File Record Layout:
    Group#                  like PLKO-PLNNR,     
    Group Counter             like PLKO-PLNAL,
    Operation#          like PLPO-VORNR,     
    Work Center#          like PLPOD-ARBPL,
    Control Key          like PLPO-STEUS,     
    Short-text          like PLPO-LTXA1,
    Long-text          type c(1000).     
    i have to upload the long text in the CA02 transaction. Could you please let me know the procedure that i should follow in uploading this in doing a call transaction in BDC.
    Thanks in Advance,
    Suresh

    Take a look at FM SAVE_TEXT
    To get the parameters of the FM :
    Goto the long text in CA02 and then via the menu :
    Goto --> Header .
    A popup is displayed containing the input parameters  :
    Text Name
    Language
    Text ID 
    Text object.
    Hope it helps,
    Erwan.
    Message was edited by: Erwan LE BRUN

  • 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

  • AC02 - Problem in uploading Long text data

    Hi All,
    I record a BDC for AC02 tcode and i am able to upload all the data in AC02 tcode except long text. How can I upload this, kindly suggest.
    Thanks and Regards,
    Rajesh Vasudeva

    Hi,
    Check the below threads.It could be helpful to you.
    LONGTEXT: MATERIAL - PRUE
    problem with long text
    Cheers,
    Hakim

  • Problem in uploading long text in service master through AC02

    hi experts,
    while iam recording the LSMW through T Code AC02 the system is not linking to the longtext in service master. Kindly guide me in this regard to upload service master with service long text together

    I have the same problem where the long text is not being updated through a AC02 BDC session.  Did you find a solution to the problem yet?
    Thanks
    Johan

Maybe you are looking for

  • Downloaded song tonight- Now my computer can't find it

    I bought the song and downloaded it without any problems. It shows up in my "Purchased" playlist so I know it WAS there. Now when I go to look for it on my hard drive or nano it can't be found. The only thing I can think of is that the title of the s

  • How to change icon of a Folder-track?

    By Folder-track I mean the Folder in Arrange window that is created from "packing reions". Is that even possible in LogicPro7 - to change it's icon? I mean I know how to change icons for my audio tracks, audio-instrument tracks. And it would be nice

  • Tables in popups not refreshing

    I'm having difficulty with some table refreshes within a popup. Here's my scenario. I have a window that displays a table. The user clicks edit, and the table is shown in an “edit” popup. At this point, if the user makes changes, clicks ok, then the

  • Iphoto freezes after deleting photo

    I have an issue after installing the newest version of iphoto. Everything seems to be working fine except when I attempt to delete a photo the application stops responding.

  • IMovie HD suddenly does not work right.

    I am currently working on an iMovie HD project. All of a sudden, the clip menu is acting strange. Whenever I scroll down, it just stops at the exact same point in the menu every single time. Then it takes forever to scroll back up and I can't scroll