Transfer data for text with BDC?

why there isn't a field for me to assign text contents to realize inserting text into TEXT in S/O?
perform bdc_field       using 'BDC_OKCODE'
                              '=T\08'.
perform bdc_field       using 'BDC_CURSOR'
                              'VBAK-AUDAT'.
perform bdc_field       using 'VBAK-AUDAT'
                              record-audat_011.
perform bdc_field       using 'VBAK-VKBUR'
                              record-vkbur_012.
perform bdc_field       using 'VBAK-VKGRP'
                              record-vkgrp_013.
perform bdc_field       using 'VBAK-WAERK'
                              record-waerk_014.
perform bdc_field       using 'VBKD-PRSDT'
                              record-prsdt_015.
perform bdc_field       using 'VBKD-BZIRK'
                              record-bzirk_016.
perform bdc_dynpro      using 'SAPMV45A' '4002'.
perform bdc_field       using 'BDC_OKCODE'
                              '=SICH'.
perform bdc_transaction using 'VA02'.
enddo.
perform close_group.
perform close_dataset using dataset.

Hello.
You can't insert TEXTS in bdc. Use FM SAVE_TEXT to insert TEXT after the BDC.
As an alternative, you can use BAPI_SALESORDER_CREATEFROMDAT2 or BAPI_SALESORDER_CHANGE to insert texts.
Best regards.
Valter Oliveira.

Similar Messages

  • Transfer data in unix with tab-delimited

    Hi,
    How can we transfer data to unix with tab-delimited? I have incoming file with tab-delimited and want to copy as backup file in another folder in unix. When I read the incoming file, tab separator is translated into '#' so when I do transfer data to the backup folder, the file contains '#'.
    Is there a way to transfer data in tab-delimited?
    thank you
    alia

    try to use delimiter cl_abap_char_utilities=>HORIZONTAL_TAB.
    here is a piece of code:
    REPORT  ztestfile                               .
    DATA: BEGIN OF gt_file_out OCCURS 0,
            filed(2000),
          END OF gt_file_out.
    START-OF-SELECTION.
      DATA: lv_file_out LIKE filename-fileextern.
      CONCATENATE 'Hello' 'World' INTO gt_file_out SEPARATED
        BY cl_abap_char_utilities=>horizontal_tab.
      APPEND gt_file_out.
      lv_file_out = '
    XXXX\XXXX\mytest1.txt'.
      OPEN DATASET lv_file_out FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      LOOP AT gt_file_out.
        TRANSFER gt_file_out TO lv_file_out.
      ENDLOOP.
      CLOSE DATASET lv_file_out.
    Message was edited by: joseph fryda

  • How to Restrict Single Delivery Date for PO with Multiple Line Items

    Dear Experts,
    How to Restrict Single Delivery Date for PO with Multiple Line Items.
    System needs to through Error Message if User Inputs Different Delivery Dates for PO with Multiple Line Items in ME21N Tcode.
    Can we achive this by Some Enhancement in SAP or Not ???
    If so how to do it.
    Any Inputs is highly appreciated.
    Thanks and Regards,
    Selvakumar. M

    Hi Selvakumar,
    we can resrict the PO to have a single delivery date in all the line items by means of giving a error message or overwiting the delivery date keyed/determined in the line item.
    You can use the BADI -> ME_PROCESS_PO_CUST. In which you need to implement the method PROCESS_SCHEDULE.
    (for technical aid - This method will be called for each and every PO line item, From the imporing parameter im_schedule we can get all the details of current PO line, even we can change the data in the current PO line. )
    Regards,
    Madhu.

  • I'm unable to send and receive email through Apple Mail 4.  I've checked my settings on Preferences, and my password to Gmail is up to date for syncing with IMAP, but it still won't connect.  Suggestions?

    I'm unable to send and receive email through Apple Mail 4.  I've checked my settings on Preferences, and my password to Gmail is up to date for syncing with IMAP, but it still won't connect.  Suggestions?

    I think it's trying to open it in a gMail eMail & is losing your gMail password that it needs log into gMail, but not 100% positive.
    Have you tried Right clicking or Control+click on the eMail link & choose Copy? Works on some, not others.

  • Error "No batch input data for screen" in BDC for Tcode CN22

    Hi,
    The issue is When teh BDC code is run by Functional guys we are facing the error as "No batch input data for screen SAPLCONW 1100", when I am trying teh change the Network Activity Level User field in Tcode CN22. When I execute the same BDC code with Developer User id, it is executing perfectly.
    I have checked the User Profiles for both functional and Technical and both are same. What is my solution now?
    Regards,
    Deepthi.

    Hi
    Take Recording using the functional guy log in there might be user depended screen  sequence
    Regards
    Nilesh Gaikwad
    Edited by: Nilesh  Gaikwad on Jan 26, 2010 10:49 AM

  • Creating Transfer Order for Delivery with Specified Source Bin

    Hello,
    My requirement is to create a pick transfer order for an outbound delivery.
    <b>L_TO_CREATE_DN</b> works perfectly well, however, it does not let me to specify the source (fixed) bin in my warehouse.  It actually executes the bin determination routine to pick the source bin for me, which is not acceptable.
    <b>L_TO_CREATE_SINGLE</b> won't work as my destination bin is a dynamic bin, and this FM does not allow to set LTAP-NKDYN.
    So, I'm stuck.  LT03 actually allows the user to input source bin information, so I'm saving BDC as my last option, but wanted to see if anyone here has other ideas.
    Thanks in advance!
    R.D.

    Hi,
    Try this L_TO_CREATE_SINGLE
    Tks,
    Krishna

  • How to create a xml element for Text with Java?

    Hi @ all,
    I want to tag a part of a text with Java.
    Like the InDesign function "Tag für Text" (maybe "tag for text" in english)
    Is there a way to tag text with Java?
    I tried to autoTag and to markup the text with an existing xml, but only got IdsExceptions.
    here the code where to tag the text:
    XMLElement newXML = parentXML.addXMLElement(VariableTypeUtils.createString("newXML"),OptArg.noVariableType());
    Text[] texts = para.findText(OptArg.noBoolean());
    for (Text text : texts)
       //TODO tag text
    Exception throwing code:
    text.autoTag();
    text.markup(newXML);
    newXML.markup(VariableTypeUtils.createObject(text));

    This is not a Web Dynpro specific question. This forum is for Web Dynpro specifc development aspects. There are other forums for general ABAP development as well as other specific aspects of ABAP development.
    I strong suggest that you review the rules of engagement for forum involvement, Derek.  You have had multiple violations of the rules in the last week.

  • Error occured while uploading the data for Tocde QP01 (BDC)

    Hi,
    I am facing a strange problem i.e. when i try to upload the data for the Tcode QP01 i am able to upload the data for the 18 rows but when it is more than 18 ,it gives the following error and saves the data upto 18 rows only :-
    CALL_TRANSACTION QP01 returncode:     0  RECORD:          0
    S Field RC27X-FLG_SEL . not found in loop of screen SAPLCPDI 1400
    S Cursor field PLMKB-VERWMERKM (18) does not exist in the screen
    S Field PLMKB-VERWMERKM (18) does not exist in the screen SAPLQPAA 0150
    S Field PLMKB-STICHPRVER (18) does not exist in the screen SAPLQPAA 0150
    S Inspection plan with plan group 12775 for material 200999 is saved
    Is there any way to solve this problem...

    hi,
    Ok,i agree with you but the thing is it was allowing to upload the data for more than 18 rows as there was logic written. It is specified in the code:-
    ELSEIF itab1-serial > 18 AND itab1-serial < 35.
                  IF index = 19.
                    index = 2.
                  ENDIF.
    Edited by: nav009 on Sep 9, 2009 8:25 AM

  • How  to transfer data using Lsmw with Recording...

    hi,
    Please let me know .How to use Lsmw to transfer data using recording.
    Thanks,
    Lawrence.

    Hi Lawrence,
    please go thru this link for LSMW data transfer techniques in PM, MM and SD modules.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90d90895-68dd-2a10-f096-bf8cf2e2f65b
    If u want to know in detail go thru this link
    http://help.sap.com/saphelp_nw04s/helpdata/en/87/f3ae74e68111d1b3ff006094b944c8/frameset.htm
    Hope this will be useful to u..
    Thanks
    Vijayasree

  • Can I use CSS, htmlTags and Alt tip for text with TLF?

    I want to know if it applicaple to use CSS style sheet to format TLF Text?
    is it Applicaple to use html tags instead of text with TLF?
    is it applicaple to add alt (tooltip when I over some words) with TLF?

    Thank you Robin for helpull answer, yes that what I meant by html, I will check the TextConverter Class.
    I asked about CSS because my Manager want to control the Format of the text inside Flash using The CSS.
    is there a way to format the TLF Markup, or what is the best suggestion instead of CSS?
    I didn't try before to add any new capapilities to the architecture, if I want  to start adding this what is the place to start from or any done example that demonstrate it.
    I am using Flash CS4 not Flash Builder nor Flex.
    thank you again for your helpful answer.

  • Master Data for Text

    Hello Everyone,
    I am trying to load sample Master Data. Can do that successfully for Attributes but not for Text. Can anybody help me.
    Thanks
    Points would be assigned for those answers which will resolve the issue

    Hi SAS,
    Suppose your master data attribute data will be like this,
    MaterialID , Material Name , Material Group
    CSV file will be like this,
    M001 X001 Y001
    M002 X002 Y002
    For this if you want to load text data means,
    The fields are
    MaterialID, 0Langu , 0txtsh
    CSV file for this will be like this,
    M001 EN SAMPLE
    M002 EN SAMPLE
    So you are loadind text for that same material ID or different material ID?
    and alsi check if there any lowercase letters in your CSV file .
    Regards,
    Arun.M.D

  • Creating transfer order for delivery with ABAP

    Hi Experts,
    I'm using L_TO_CREATE_DN to create a transfer order for delivery note...
    Is it possible to use this function or another one, to create a transfer order for one position of the delivery note ?
    Regards,
    David

    Hi,
    Try this L_TO_CREATE_SINGLE
    Tks,
    Krishna

  • Ale to transfer data for quality management in production server

    Hello Gurus ,
                            I want to transfer data from development to production server which method is easy and preferable by ale
    or by bapi .                                                                               
    Thanks And Regards
                                                                                    Shrikant Ambulkar

    i have close this thread

  • Data for field with structure

    Hi How I can take data for the field for plants
    for Plants : 7001,7002,7270,7300,7400,7600
    structure name: MG03STEUMM
    Field name : TAXIM
    This is structure.
    Thanks,
    Kiran

    Hi
    jujst check field TAXIM1 in se11 for where used list you will get many tables ,
    just find out one of your use , take helpl of your ABAPer

  • Master data  deletion -  text with compounding

    HI All,
    I have " 0PYMT_METH" Info object which is having "0PYMT_METH_TEXT" Data source.  " 0PYMT_METH" Info object is having text and  0country with compounding attribute.
    - First , I did not load this master data , I loaded transactional data. so some values for key are loaded without text and country in master data.
    - Later i came to know we need text for paymnt method, then i loaded again master data. but i am not able to delete previous entries which have blank text.
    -i deleted data with SIDS and deleted all the transactional data , still i am getting that entries with blanks.Because of this in report output i am getting # value for the text.
    How to solve this? Is it because of compounding attribute ? If so can u please suggest regarding this ASAP?
    Thanks in advance,
    Jo

    Hi,
    Please check the data load for the text as you must be loading
    MAster Data CHAR , Country , LANGUAGE and TEXT as fields in your data source.
    As the Text can be over written so if the porper key fields are matched the text should be modifyed everytime.
    SO please check what combination you r  loading .
    ANyway if that is one time , and very less data you can manually maintain th text for master data .
      In order to delete teh data you use SE14 use the text table there to delete the data. PS : This is not recommended solution .

Maybe you are looking for

  • DMA2100 how to factory reset in Windows 7?

    I've recently purchased a DMA2100 and have had it successfully talking to my Windows 7 64-bit media center PC. The problem I'm having seems to be a variant of a couple of other problems I've seen on here but not quite the same. I have no problem conn

  • I phone 4s simlock accidentally

    I Bought an iphone4s in japan and its not a brand new one but it still working i bring it to phil and gave it to my son and accidentay lock his sim on his iphone then after that he cant use his phone as a cellular phone . Even thou he apply the sim p

  • PU19 recording

    Hi, I need to call PU19(module pool program) from my prog and want to write the pdf form to application server(without displaying to the user). So I am doing BDC recording of PU19 but not able to do that. I have to generate W2 form (from Annual tab)

  • Adobe Media Player Loop Playback

    I'm playing back a .flv file created with the on2 vp6 codec question: how can I get AMP to loop playback? I looked in the playback tab under options but there is no option to set playback to loop. AMP seems to be a very "consumerish" program- this is

  • Run-time Error 10459 - Can't Load NIDAQ DLL

    Hi, I'm using VB6 and Measurement Studio 6 with NIDAQ 7.4 and a PCI-6013 device. I've written an application which accesses the daq card, but also will open another seperate VB6 application which needs to access the daq card.  Before the first applic