Special character "/" replacing with blank with Direct Input Method posting

Hi All,
I am posting FI historical data using Direct Input Method. Payment term contains special character "/"( I/E). SAP standard program replacing Special character "/" with blank (I E) so document posting is failing. Could you please advise.
Thanks
Chandra.

Can You please specify the Transaction code and SAP program name for direct input.

Similar Messages

  • Replacing a special character in a string with another string

    Hi
    I need to replace a special character in a string with another string.
    Say there is a string -  "abc's def's are alphabets"
    and i need to replace all the ' (apostrophe) with &apos& ..which should look like as below
    "abc&apos&s def&apos&s are alphabets" .
    Kindly let me know how this requirement can be met.
    Regards
    Sukumari

    REPLACE
    Syntax Forms
    Pattern-based replacement
    1. REPLACE [{FIRST OCCURRENCE}|{ALL OCCURRENCES} OF]
    pattern
              IN [section_of] dobj WITH new
              [IN {BYTE|CHARACTER} MODE]
              [{RESPECTING|IGNORING} CASE]
              [REPLACEMENT COUNT rcnt]
              { {[REPLACEMENT OFFSET roff]
                 [REPLACEMENT LENGTH rlen]}
              | [RESULTS result_tab|result_wa] }.
    Position-based replacement
    2. REPLACE SECTION [OFFSET off] [LENGTH len] OF dobj WITH new
                      [IN {BYTE|CHARACTER} MODE].
    Effect
    This statement replaces characters or bytes of the variable dobj by characters or bytes of the data object new. Here, position-based and pattern-based replacement are possible.
    When the replacement is executed, an interim result without a length limit is implicitly generated and the interim result is transferred to the data object dobj. If the length of the interim result is longer than the length of dobj, the data is cut off on the right in the case of data objects of fixed length. If the length of the interim result is shorter than the length of dobj, data objects of fixed length are filled to the right with blanks or hexadecimal zeroes. Data objects of variable length are adjusted. If data is cut off to the right when the interim result is assigned, sy-subrc is set to 2.
    In the case of character string processing, the closing spaces are taken into account for data objects dobj of fixed length; they are not taken into account in the case of new.
    System fields
    sy-subrc Meaning
    0 The specified section or subsequence was replaced by the content of new and the result is available in full in dobj.
    2 The specified section or subsequence was replaced in dobj by the contents of new and the result of the replacement was cut off to the right.
    4 The subsequence in sub_string was not found in dobj in the pattern-based search.
    8 The data objects sub_string and new contain double-byte characters that cannot be interpreted.
    Note
    These forms of the statement REPLACE replace the following obsolete form:
    REPLACE sub_string WITH
    Syntax
    REPLACE sub_string WITH new INTO dobj
            [IN {BYTE|CHARACTER} MODE]
            [LENGTH len].
    Extras:
    1. ... IN {BYTE|CHARACTER} MODE
    2. ... LENGTH len
    Effect
    This statement searches through a byte string or character string dobj for the subsequence specified in sub_string and replaces the first byte or character string in dobj that matches sub_string with the contents of the data object new.
    The memory areas of sub_string and new must not overlap, otherwise the result is undefined. If sub_string is an empty string, the point before the first character or byte of the search area is found and the content of new is inserted before the first character.
    During character string processing, the closing blank is considered for data objects dobj, sub_string and new of type c, d, n or t.
    System Fields
    sy-subrc Meaning
    0 The subsequence in sub_string was replaced in the target field dobj with the content of new.
    4 The subsequence in sub_string could not be replaced in the target field dobj with the contents of new.
    Note
    This variant of the statement REPLACE will be replaced, beginning with Release 6.10, with a new variant.
    Addition 1
    ... IN {BYTE|CHARACTER} MODE
    Effect
    The optional addition IN {BYTE|CHARACTER} MODE determines whether byte or character string processing will be executed. If the addition is not specified, character string processing is executed. Depending on the processing type, the data objects sub_string, new, and dobj must be byte or character type.
    Addition 2
    ... LENGTH len
    Effect
    If the addition LENGTH is not specified, all the data objects involved are evaluated in their entire length. If the addition LENGTH is specified, only the first len bytes or characters of sub_string are used for the search. For len, a data object of the type i is expected.
    If the length of the interim result is longer than the length of dobj, data objects of fixed length will be cut off to the right. If the length of the interim result is shorter than the length of dobj, data objects of fixed length are filled to the right with blanks or with hexadecimal 0. Data objects of variable length are adapted.
    Example
    After the replacements, text1 contains the complete content "I should know that you know", while text2 has the cut-off content "I should know that".
    DATA:   text1      TYPE string       VALUE 'I know you know',
            text2(18)  TYPE c LENGTH 18  VALUE 'I know you know',
            sub_string TYPE string       VALUE 'know',
            new        TYPE string       VALUE 'should know that'.
    REPLACE sub_string WITH new INTO text1.
    REPLACE sub_string WITH new INTO text2.

  • LSMW updating problem with direct input method

    Hi!
    Using version 4.0.0 of the LSM Workbench from 2001-07-01 on SAP R/3 4.7, I need to update the purchase order text and wanted to use the direct input method.  I found a tutorial on SAPTechnical which I followed.  All went well, the input data was converted and at last I got the message:
    "Long Texts in Total : 2
    Successfully Transferred Long Texts : 2
    Non-Transferred Long Texts : 0"
    My trials are recorded in table STXH with date and time and also in the material master change history.  However, the result in the material master is that the purchase order text is NOT updated.
    Can anyone tell me why this might be?

    Hi Santosh!
    First of all, thank you very much for posting an answer.  But unfortunately it was of no help.  I want to update the purchase order text on a material that already has the purchasing and purchase order text views. When I compare the PO text before and after my "Successfuly Transferred Long Texts" there is no change.  I hope that this make it more clear but it is still a mystery to me.

  • How to use the special character pallet in Maverics with Illustrator

    How to use the special character pallet in Mavericks with Illustrator - I follow the help instructions, but the pasted in object looks like a rectangle with an X, I have done this before, in earlier versions of AI, but cannot make it work in CS6.
    In fact, I can open an old AI file (CS4), copy the character (a graphic symbol, also taken from the special character set), paste it in, and it works, but can't do this with a new one, from the drop down, Show Character Viewer, in the Mavericks menu bar.

    The box with an X indicates the font you are using does not have the glyph you are trying to paste. Try a different font.

  • LSMW Direct input method: 0150 Characteristics with Values

    I am trying to upload several characteristics with Values using LSMW Direct Input method 0150.I have defined 2 level structure for Characetristic header and values. Have set the relevant indicators as 1 for characterisitc data and 2 for Values. I have set the T-code to CT04.I am trying to upload the data but only Characteristic data is getting generated and not the values. Can anyone help me out as to what may be the reason.
    The fields I have in my uploading template is as below:
    LINK     NAME     DESCRIPT     STATUS     FORMAT     LENGTH     DECIMALS     UNIT     WERT
    1     TON     WEIGHT LIFT CAPACITY     1     NUM     8     0     ton     
    2                                        20
    2                                        50
    2                                        60
    2                                        70
    2                                        100
    The Fields I have mapped in Source structre are:
    Source Fields
            CHARACTERISTIC            PM Characteristics
                LINK                           C(001)    Identify Field Content:1
                                               Identifing Field Content: 1
                NAME                           C(030)    Characteristic Name
                DESCRIPT                       C(030)    Characteristic description
                STATUS                         C(001)    Status of a characteristic
                FORMAT                         C(004)    Data Type
                LENGTH                         C(002)    Number of Characters
                DECIMALS                       C(002)    Number of Decimal Places
                UNIT                           C(006)    Unit of Measure, Language-
                CHARACTVALUE              Characterisitc Values
                    LINK                           C(001)    Identify field content
                                                   Identifing Field Content: 2
                    BLANK1                         C(001)    Blank1
                    BLANK3                         C(001)    Blank3
                    BLANK2                         C(001)    Blank2
                    BLANK4                         C(001)    Blank4
                    BLANK5                         C(001)    Blank5
                    BLANK7                         C(001)    Blank7
                    BLANK6                         C(001)    Blank6
                    WERT                           C(030)    Characteristic Value
    Source Structure is:
    Source Structures
            CHARACTERISTIC           PM Characteristics
             CHARACTVALUE             Characterisitc Values
    Structure relation is as below:
    Structure Relations
            BGR00 Batch Input Structure for Session Data                       <<<< CHARACTERISTIC PM Characteristics
                  Select Target Structure BGR00 .
                BIMST Batch input for characteristics                              <<<< CHARACTERISTIC PM Characteristics
                      Select Target Structure BIMST .
                    BIMZW Batch Input: Allowed Characteristic Values                   <<<< CHARACTVALUE   Characterisitc Values
    Can anyone help me resolve this issue.....
    Thanks in advance
    Murad

    Hi,
    Go through this links its might helpfull to you.
    Re: Porblem during characteristics LSMW
    Assigning Characteristics to a class using LSMW
    Issues Uploading Characteristics Data into SAP Using LSMW
    LSMW: CHaracteristics Load
    Thank you,

  • Doubt in BDC direct input method

    Hi experts
    I dont know how to upload data in SAP data base by using BDC direct input coding method. Can u people explain this with coding?
    Thanks in advance.
    Regards
    Antony

    Hi,
    DI is used when u r going upload large amount of data for single application.
    Better example where direct input method will be used is... uploading the data for material master.....it includes lot of views so its very much difficult to capture all the views and record the tcode and map the data in such conditions its better to go with DI methods
    advantages:
    in session method or CT method while uploading the data u do the validation by fallowing the screen sequence and field sequence where as in DI validations can be done set of code so this make the process very fast so its advantageous to upload large amout of data.
    you always use the standard sap provided program for this.
    Here in DI method very important thing is structure of flat file... so to know the structure first of all you have to download the data for one record into the internal table with the use of the same program then with the use of that structure u have to desing the flat file and upload the data.
    Re: re: direct input method
    Award points if useful.
    Thanks,
    Ravee...

  • Call transaction in Direct input method

    Hi All
      how do i use call transaction in direct input  method.
    thanks all

    Hi,
    Direct input is different and Call transaction is different.
    In Direct input method,the data will be uploaded directly into the table.
    In call transaction you can change the data before uploading into dictionary table by using tcode
    Ex for Direct input method
    TABLES: kna1.
    DATA: BEGIN OF itab1 OCCURS 0,
          str(255),
          END OF itab1.
    DATA: itab2 TYPE kna1 OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'WS_UPLOAD'
      EXPORTING
        filename                = 'D:\ABAP EVE\ffile1.txt'
        filetype                = 'ASC'
      TABLES
        data_tab                = itab1
      EXCEPTIONS
        conversion_error        = 1
        file_open_error         = 2
        file_read_error         = 3
        invalid_type            = 4
        no_batch                = 5
        unknown_error           = 6
        invalid_table_width     = 7
        gui_refuse_filetransfer = 8
        customer_error          = 9
        no_authority            = 10
        OTHERS                  = 11.
    IF sy-subrc <> 0.
      WRITE:/ 'sorry'.
    ELSE.
      LOOP AT itab1.
        SPLIT itab1-str AT ',' INTO itab2-kunnr itab2-name1.
        APPEND itab2.
      ENDLOOP.
      IF sy-subrc = 0.
        LOOP AT itab2.
          WRITE:/ itab2-kunnr,itab2-name1.
          INSERT INTO kna1 VALUES itab2.
        ENDLOOP.
        IF sy-subrc = 0.
          WRITE:/ 'inserted'.
        ELSE.
          WRITE:/ 'not inserted'.
        ENDIF.
      ELSE.
        WRITE:/ 'fail'.
      ENDIF.
    ENDIF.
    Flat file:
    10001,Sadney
    10003,Yogesh
    20005,Madan
    Ex for Call transaction
    DATA: BEGIN OF itab OCCURS 0,
          str(255),
          END OF itab.
    DATA: BEGIN OF itab1 OCCURS 0,
          lifnr LIKE lfa1-lifnr,
          name1 LIKE lfa1-name1,
          ort01 LIKE lfa1-ort01,
          END OF itab1.
    DATA: jtab LIKE bdcdata OCCURS 0 WITH HEADER LINE.
    DATA: ktab TYPE TABLE OF bdcmsgcoll,
          wa TYPE bdcmsgcoll.
    CALL FUNCTION 'WS_UPLOAD'
      EXPORTING
        filename                = 'D:\ABAP EVE\ffile4.txt'
        filetype                = 'ASC'
      TABLES
        data_tab                = itab
      EXCEPTIONS
        conversion_error        = 1
        file_open_error         = 2
        file_read_error         = 3
        invalid_type            = 4
        no_batch                = 5
        unknown_error           = 6
        invalid_table_width     = 7
        gui_refuse_filetransfer = 8
        customer_error          = 9
        no_authority            = 10
        OTHERS                  = 11.
    IF sy-subrc <> 0.
      WRITE:/ 'no file exist'.
    ENDIF.
    LOOP AT itab.
      SPLIT itab-str AT ',' INTO itab1-lifnr itab1-name1 itab1-ort01.
      APPEND itab1.
    ENDLOOP.
    LOOP AT itab1.
      PERFORM prginfo USING 'SAPMZBDCCT' '123'.
      PERFORM fldinfo USING 'i01' itab1-lifnr.
      PERFORM fldinfo USING 'i02' itab1-name1.
      PERFORM fldinfo USING 'i03' itab1-ort01.
      CALL TRANSACTION 'ZCSBDCCT' USING jtab
                                        MODE 'N'
                                        MESSAGES INTO ktab.
    ENDLOOP.
    --- Display the Status messages ---
    LOOP AT ktab INTO wa WHERE msgtyp = 'E'.
      WRITE:/ wa.
    ENDLOOP.
    *&      Form  prginfo
          text
         -->PRGNAME    text
         -->SCRNUMBER  text
    FORM prginfo USING prgname scrnumber.
      CLEAR jtab.
      REFRESH jtab.
      jtab-program = prgname.
      jtab-dynpro = scrnumber.
      jtab-dynbegin = 'X'.
      APPEND jtab.
    ENDFORM.                    "prginfo
    *&      Form  fldinfo
          text
         -->FLDNM      text
         -->FLDVAL     text
    FORM fldinfo USING fldnm fldval.
      CLEAR jtab.
      jtab-fnam = fldnm.
      jtab-fval = fldval.
      APPEND jtab.
    ENDFORM.                    "fldinfo
    MPP CODE.
    TOP-INCLUDE.
    DATA: OK_CODE TYPE SY-UCOMM.
    DATA: I01(10),I02(20),I03(26).
    DATA: WA TYPE LFA1.
    PAI
    CASE OK_CODE.
       WHEN 'INSERT'.
         MOVE I01 TO WA-LIFNR.
         MOVE I02 TO WA-NAME1.
         MOVE I03 TO WA-ORT01.
         INSERT INTO LFA1 VALUES WA.
         IF SY-SUBRC = 0.
           MESSAGE I001(ZCSMSG).
         ELSE.
           MESSAGE I002(ZCSMSG).
         ENDIF.
       WHEN 'EXIT'.
         LEAVE PROGRAM.
    ENDCASE.
    Reward,if useful.
    Thanks,
    Chandu

  • Korean direct input method in tiger Mac OS X 10.4.3

    Hello,
    I need to use the korean direct input method in tiger Mac OS X 10.4.3
    but I can not find the icon or some bars to choose for the direct input in korean input menu.
    the korean direct input is used to be in Mac OS X 10.3
    can someone help me out?
    I really need this function.
    Power Mac G5 Quad 2.5G   Mac OS X (10.4.3)  

    Yes, it makes different when I tied with boris graffiti 4.0.
    when I type korean word in boris graffiti program using "direct input" on mac os x 10.3, there is no promblem typing korean.
    But using "syllable" in mac os x 10.4, when I type the korean letter, it automatical erase the word that I typed.
    for example, if I type "gift to my friend" in korean, I try to type "g" and when I type "i", "g" is erased.
    And using "word" option, the problem is whenever I use space bar or enter key between word, and try to enter the next word, the previous word I typed is erased,
    for example, "gift to my friend", I type "gift" and I need to enter space between "gift" and "to",
    so after press the spase bar, and try to type "to", the "gift" is erased.
    I hope that you could understand what I tring to explain, and I was wondering if there is any solution for this problem.

  • Reg Direct input method

    Hi experts,
    Can you please provide documentation on Direct input method or any link which gives me overall idea.
    Yakub.

    Direct Input method is used for bulk transfer of data into SAP system.It results in faster execution since no screens are processed and the SAP database will be updated directly using the standard function modules.
    Better example where direct input method will be used is... uploading the data for material master.....it includes lot of views so its very much difficult to capture all the views and record the tcode and map the data in such conditions its better to go with DI methods
    Advantages:
    in session method or Call Transaction method while uploading the data u do the validation by fallowing the screen sequence and field sequence where as in Direct Input validations can be done set of code so this make the process very fast so its advantageous to upload large amout of data.
    you always use the standard sap provided program for this.
    Here in Direct Input method very important thing is structure of flat file... so to know the structure first of all you have to download the data for one record into the internal table with the use of the same program then with the use of that structure u have to desing the flat file and upload the data.

  • Abt Direct Input Method

    Hi Experts,
       How can Handle Direct Input Method in BDC.wht is Direct Input Method, wht purpose they can use.
    Thanks
    Srinadh

    Hi,
    DI is used when u r going upload large amount of data for single application.
    Better example where direct input method will be used is... uploading the data for material master.....it includes lot of views so its very much difficult to capture all the views and record the tcode and map the data in such conditions its better to go with DI methods
    advantages:
    in session method or CT method while uploading the data u do the validation by fallowing the screen sequence and field sequence where as in DI validations can be done set of code so this make the process very fast so its advantageous to upload large amout of data.
    you always use the standard sap provided program for this.
    Here in DI method very important thing is structure of flat file... so to know the structure first of all you have to download the data for one record into the internal table with the use of the same program then with the use of that structure u have to desing the flat file and upload the data.
    Re: re: direct input method
    Regards,
    Priyanka.

  • Material Master upload - LSMW direct input method - Internal Number problem

    Dear friends,
    I am uploading material masters with LSMW - Direct Input Method.
    The materials have internal numbers.
    I have four plants and I want to extend the same material in all plants.
    But LSMW is creating a new material for each row.
    Is there any way out or any indication I put in file to repeat the internal numbers created for all other plants?
    I can create another LSMW for material extension. But I want to know whether the problem can be solved in the current LSMW?
    Regards,
    Avinash

    http://www.sap123.com/a/98/
    Check the internal number range once.... before extending mateial...

  • LSMW Direct Input Method RMDATIND tax classification material

    Hi folks,
    I am loading material master data throught LSMW using direct input method. In MM01 for a particular sales org we have tax classifcation for three different countries US, CA and GB. Could anyone tell me how do I post the tax classification Material data in the table control for these three different countries.
    COUNTRY COUNTRY TAX CATG. TAX CATEG.       TAX CLASSIF
    CA     Canada     CTX1     GST (Canada)     ...........                        
    CA     Canada     CTX2     PST (Canada)     ...........                        
    CA     Canada     CTX3     PST (Base+GST) Cdn...........                   
    GB     United Kingdom     MWST     Output Tax...........                        
    US     USA     UTXJ     Tax Jurisdict.Code     ...........                        
    US     USA     UTX2     County Sales Tax     ...............                        
    US     USA     UTX3     City Sales Tax     .............
    Points will be rewarded for the answers.
    Thanks,
    Raj

    Hi,
    Not sure about the same requirement of countries & tax codes for all the materials for your upload.
    If this is the case,
    enable the
    Extras->DisplayVariant
    from the menu of the LSMW & check all the check boxes. Now you see the
    __END_OF_RECORD__
    for the structure
    BMMH2
    which has to be mapped with the input structure in the Maintain structure relations step.
    double click on the
    __END_OF_RECORD__
    which will lead to ABAP editor & then put the following code:
    * Canada
    bmmh2-stype = '3'.
    bmmh2-aland = 'CA'.
    bmmh2-taty1 = 'CTX1'.
    bmmh2-taxm1 = '1'.
    transfer_record.
    bmmh2-stype = '3'.
    bmmh2-aland = 'CA'.
    bmmh2-taty1 = 'CTX2'.
    bmmh2-taxm1 = '1'.
    transfer_record.
    else if you have a different set of countries with different tax codes for the set of materials,
    You need to have a separate file for this & map the fields to the structure fields of
    BMMH2
    Hope this helps.
    Best Regards, Murugesh AS
    Message was edited by:
            Murugesh Arcot

  • LSMW - DIrect Input Method --PO

    HI All,
    I am using LSMW Direct input method to upload Purchase orders.But my probelm is i am using Two files for header and items. In my case i have to upload so many Purchase orders with multiple item data at a time.
    Example.
    Header file
    H1  ......
    H2 .......
    H3 ......
    H4 ......
    Item File
    I1  ....
    I1 ....
    I2 ....
    I2 ....
    I3 ....
    I3 ....
    I3....
    I4....
    But my question is How the program will identify Which items are related to particular Header.
    Please help me on this.
    What will be the identification for header and item.
    Thanks in advance,
    Bhanu P R Gattu.

    I usually use a single file for both header and item:
    When you specify your source file, contents must be "Data for Multiple Source Structures (Seq. File)", and header record must precede item(s) record(s):
    H1
    I1-1
    H2
    I2-1
    I2-2...
    Regards,
    Guillermo.

  • LSMW direct input method - Equipment BOM

    Hi Experts,
    We have already written program for equipment BOM master in LSMW direct input method. I do not know about this direct input method.
    Here they have maintained 2 source structures and relavant source fields. one for BOM header and other for BOM items. The first field they maintained is LINK in both the source fields. I really do not know what that field is all about. I checked in step specify files and found that they have previously mentioned two files, one for BOM header and other for BOM items. but when I tried to save in this step it gives me error that " No logical path specified". Can anybody tell me what is this error is all about.Please heip me to get out of this problem.
    Thanks and best regards,
    Praveen

    Hi praveen,
    LSMW does not accept two files.
    In the step create source strcture
    crte one structure with BOM header like with ZBOM_H.
    Under that create another structure for item ZBOM_I.
    ZBOM_H
      ZBOM_I like this structure will will be.
    In the step source fields.
    crate onne variable with indicatoe header.While creating the variable we have field 'identify field content ' field in pop up screen 'H'.
    assign all header files under identifier 'H'.
    then under ZBOM_I create identifier with 'I'.
    Assign all the item fields to this.
    then map the fields.
    In the file should be H header fields.
                                  I item fields.
                                  I
                                  I.
    Then Header .It should be like this.
    in saptechnical u will get the examples go though them once.
    Thanks

  • LSMW Direct Input Method - Change Documents

    Hello experts,
    Could anyone please tell me how to enable the change documents(not just runtime) for LSMW direct Input method? There is also one option "Change Documents" in the last step of the process, will this write into any table that I see the changes later If I run the last step with selected this  option? If yes, What are the application (customer master data, vendor master data, material master data, etc) specific tables?
    Is there anyway that I could populate this method changes into the CDHDR & CHPOS tables?
    SAP documenation on this:
    To enter the data into the *corresponding database tables directly*, the system calls a number of function modules that execute any necessary checks. In case of errors, the direct input technique provides a restart mechanism
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/fa/097174543b11d1898e0000e8322d00/content.htm
    Since this tool writing data into database tables directly skips the CDHDR & CDPOS recording..
    Is there any other possible way for the complete change logs (change pointers???)? ( Or only table logging?)
    Please share your experience on this.
    Thanks,
    Himadama

    No response received..

Maybe you are looking for

  • New to the MAC OS and need help with FCE

    I have a number of videos from parties and events I have organized on DVD discs and I want to make a demo combining all these scenes into one DVD. Is there a simple way to import video and audio from a DVD to use in FCE 4. Ive had the computer for ab

  • 24" LCD has Super short mini-display cable that does not reach

    I was setting up a 24" display (on an LCD arm) and i noticed the mini display cable is very, very short. It does not reach to the Mac Pro under the desk. I guess the 24" displays were made for laptops and did not expect that the cables would need to

  • Iweb image hyperlinks not working across pages

    I KNOW there are many other threads on this topic, but I can't figure it out! I am using images as my website navigation and they have stopped working on some pages when I updated it (and won't work no matter how many times I replace them or send the

  • I keep getting this msg in iMovie10.0.1: Video rendering error: -50

    My movie stops renedering. I get this msg: Video rendering error: -50

  • Flash 9 and 10 .as editor slow in Vista/7

    I've posted an observation about this here that contains some tests about the CPU usage of the ActionScript editor in Flash 10.0.2. The problem is that the editor is slower than any editor I have used, including NetBeans which has the most active cod