CHAR to NUMC to CHAR!! Wht does it?

Hi Experts,
I do paste some piece of code from z_upload_report, so, pls. clarify me that, 
1) Why the programmer moving & repopulating the same?? Is really, its helpful, useful??
data: itab-vbelo(10) type c,
num_10(10) type n.
if itab-vbelo co ' 0123456789'.
      num_10   = itab-vbelo.
      itab-vbelo = num10.
    endif.
thanq

Hi Srinivas,
This assigning is done to get the value with trailing zeroes.
ie. if itab-vbelo = 12345
then the output will be as follows:
itab-vbelo = 0000012345
num_10   = 0000012345
Maybe this is oneway like conversion routines.
awrd points if helpful
Bhupal

Similar Messages

  • Wht does it mean of   " * " in Long texts of  potextheader-text_form = '*'.

    Hi Experts,
    clarify one of my simple doubt, am populating the header text to PO, by BAPI, so, code is,
        potextheader-text_id = 'F01'.
        potextheader-text_form = '*'.
        MOVE t_vbak-kunnr TO potextheader-text_line.
        APPEND potextheader.
    let me know that, Wht does mean of " * " in the statement of      potextheader-text_form = '*'.
    thanq
    Edited by: Srinivas on Jun 19, 2008 3:44 PM

    Some format keys are defined by SAPscript. They have a predefined meaning and can be used in all texts:
    "*" Default paragraph
    The format definitions which are specified for the paragraph defined in the assigned style or form as the default paragraph are used for the output formatting of the paragraph involved.
    "/" New line
    The subsequent text is written to a new line during output formatting. The formatting attributes of the last paragraph format are retained.
    "/:" SAPscript control command
    The characters contained in the actual text line are not output as text but are regarded as a control command. They are not interpreted or executed until output formatting of the text. Control commands must always fit into a line fully. Subsequent lines are not allowed.
    "/*" Comment line
    This line is not taken into account during output formatting of the text.
    "=" Extended line
    This line is not subject to the line formatting in the SAPscript editor. The text contained in this line is appended directly to the character of the preceding text line which was output last. If this is not required, there must be at least one blank at the beginning of the extended line.
    "/=" Like extended line
    But the subsequent text is placed in a new line during output formatting.
    "(" Raw line
    The subsequent editor line is not interpreted by the SAPscript composer during output formatting. This means that character formats, symbols, tab characters, masking characters, or hypertext links which may be contained in this line are not evaluated and are therefore passed unchanged to the output device. The text contained in this line is also appended directly to the character of the preceding text line which was output last. If this is not required, there must be at least one blank at the beginning of the extended line.
    "/(" Like raw line
    But the subsequent text is placed in a new line during output formatting.
    ">x" Fixed line
    The line is not ready for input in the SAPscript editor. It can also not be deleted or separated. You can only create fixed lines with a program . You can therefore give a text a fixed structure, for example, which cannot be changed by the user.
    You can use any number or letter for the 'x'. You can therefore separate different sub-headings, for example. If several fixed lines occur consecutively with the same indicator, they are regarded as a unit by the SAPscript editor. It is not possible to insert anything between these lines in the editor.
    In the case of fixed lines, SAPscript print formatting interprets the first two characters of the line as a paragraph format for formatting. You therefore need to enter the required paragraph format or blank here.

  • Wht does mean of CONFIRMing of a Stock Transfer Order - STO??

    Hi Experts,
    Would like to know that,
    1 - Wht does mean of CONFIRMing the Stock Transfer Order-STO?
    2 - I guess, CREATing STO is just like that creationg of a PO, Am I correct?
    3 - Is ther any BAPI for CONFIRMing a STO?
    thanq

    Hi,
    Do you think of 'vendor confirmation'? Maybe it is possible to use it in case of STO...the fields are active...
    http://help.sap.com/saphelp_47x200/helpdata/en/75/ee13e855c811d189900000e8322d00/frameset.htm
    BR
    Csaba

  • Wht does it mean by reprocesing of idoc

    wht does it mean by reprocessing of idoc
    BD87 - Inbound IDoc reprocessing
    BD88 - Outbound IDoc reprocessing
    do we recreate an idoc again ...
    how do we do this ?

    Hi ,
           Some times in outbound process , idocs are generated but may not sent to other system and get errors like status 29, 27  or may get only 03(idoc created).So we can reprocess these error idocs using BD88(outbound).
        For inbound idoc is able to get but unable to post data into sap and get some errors .So these inbound idocs are reprocessed using BD87.
    Reward if it is usful.
    Thanks,
    Srikanth.A

  • Wht does mean of CONFIRMing of Stock Transfer Order-STO?

    Hi Experts,
    Would like to know that,
    1 - Wht does mean of CONFIRMing the Stock Transfer Order-STO?
    2 - I guess, CREATing STO is just like that creationg of a PO, Am I correct?
    3 - Is ther any BAPI for CONFIRMing a STO?
    thanq

    Sri,
    May be it looks like but you can also look at and test in SE37 before applying:
    Pls check the BAPIs,
    BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Confirmation from a Decentralized System
    BAPI_OUTB_DELIVERY_SPLIT_DEC BAPI for Subsequent Outbound-Delivery Split from a Decentralized Syste
    and at last call this for commit work:
    BAPI_TRANSACTION_COMMIT
    Amit.

  • U can hide the message by using #EC! Wht does it mean?

    Hi Experts,
    When am doing Extended Prog. check, am getting,
    1- <i><b>U can hide the message by using #EC!</b></i>
    Wht does it mean?
    2 - <i><b>No read access to field my_field!</b></i>
    Wht does it mean?
    thanq.

    Hello,
    This is error is gave by Tcode SLIN,
    Now in ur case the ur_field is not used any where in the report except the declaration line.
    So this error is give by SAP.
    In order to hide thiw warnigng u can use the  word "  # EC NEEDED.-
    This is will hide the warning.
    But my suggestion is remove the field from declarion.
    Regards,
    Vasanth

  • Wht does itcsy refers and how this statment in frm or program works

    hi
    when we call a program frm a form we use the below code can anyone explain me the full implication and process and how it works and waht it refers to
    fsap script form code : PERFORM GET_CODE IN PROGRAM  z_PH3
    using USING &vbak-VBELN& changing &ZINT&.....
    program code in z_ph3
    FORM get_code TABLES inttab STRUCTURE itcsy
                               outtab STRUCTURE itcsy.
    code...
    endforms
    WHAT DOES THIS ITCSY REFERS AND HOW IT IS CALLED AND HOW VALUES ARE PASSED AND WHT DOES USING AND CHANGING REFERS HERE AND CAN ANYONE EXPLAIN ME THE WHOLE PROCESS HOW THIS CODE WILL CALL AND WORK AND WHAT DOES THE VARIUS THING MENTION IN IT WORKS LIKE INTTAB OUTTAB SYTRUCTURE ITCSY AAND ITS USE ETC
    REGARDS
    arora

    Hi
    ITCSY is the structure to create the interface for routines called by a sapscript.
    A routine of this kind has to be like this:
    FORM <NAME FORM>  TABLES INTAB    STRUCTURE ITCSY
                                                      OUTTAB STRUCTURE ITCSY.
    DATA: MY_VAR LIKE ... 
    * In INTAB there are the variables inserting by USING:
    READ TABLE INTAB WITH KEY NAME = <VARIABLE NAME>.
    IF SY-SUBRC = 0.
    *---> Get the value from INTAB-VALUE
      MOVE INTAB-VALUE TO MY_VAR.
    ENDIF.
    * In OUTTAB there are the variables inserting by CHANGING:
    READ TABLE OUTTAB WITH KEY NAME = <VARIABLE NAME>.
    IF SY-SUBRC = 0.
    *---> Set the value to OUTTAB-VALUE
      MOVE MY_VAR TO OUTTAB-VALUE.
      MODIFY OUTTAB INDEX SY-TABIX.
    ENDIF.
    ENDFORM
    Max

  • Wht does the term Conversion Factor - Banking term exactly mean???

    Wht does the term Conversion Factor - Banking term exactly mean???

    If you are referring to JAX-WS 2.x and the asynchronous client APIs, it is the latter.
    If you are not referring to the JAX-WS APIs, it probably means the former.

  • Wht does my computer screen keeps going dark?

    Why does my computer screen keep going dark?

    Good. This means that, in your existing account, a setting is bad or .plist file is corrupt. As identifying the rascal may take time, my suggestion is to move data to the new account, must be with administrative privileges. As the contents of each account is unavailable to the other, there are two methods:
    - if you have a backup on an external disk, as you should (if not, consider this seriously, do not count on good behavior of hard disks), make a last backup on the existing account, and restore in the other account; when ready, delete the old (buggy) account
    - if not, save your settings unto a flash drive; this is a limited backup just to avoid putting back settings for Mail etc. I am satisfied with iBackup (grapefruit.ch), but there are other backup utilitites, Time Machine, for example; TM does not allow limited backup, it works if you have a large external disk. If backup disk is not available, move files to shared folder, which is visibile from both accounts, and from there to the new account.
    May seem difficult, in fact it is not. You must just move data from one account to another. Now, take care to new apps you install or new functions you activate. When you notice something strange, that may be the cause of this behavior.

  • Wht does it mean - "ASSIGN it_DB_TBL_name TO fs1 CASTING TYPE x"?

    Hi Experts,
    Just curious,
    Pls. let me know that, Wht is the functionality of the following statement:
    ASSIGN it_DB_TBL_name TO <fs1> CASTING TYPE x
    thanq

    ASSIGN feld TO <fs> CASTING TYPE type.
    ASSIGN feld TO <fs> CASTING TYPE (typename).
    ASSIGN feld TO <fs> CASTING LIKE fld.
    ASSIGN feld TO <fs> CASTING DECIMALS dec.
    You can use ASSIGN ... CASTING to treat the contents of a field as a value of another type using a field symbol. One application for this statement would be to provide different views on a structure with casts on different types.
    One wide-spread ABAP technique is to use C fields or structures as containers for storing structures of different types that are frequently only known at runtime. The components of the structure are selected with offset/length accesses to the container. Since this technique no longer works with Unicode, you can also look upon an existing memory area as a container with the suitable type definition using a field symbol with the ASSIGN ... CASTING statement. In the next example, a certain field of database table X031L is read, whereby the field and table names are only defined at runtime.
    Example:
    * Read a field of table X031L
    PARAMETERS:
      TAB_NAME    LIKE SY-TNAME,             "Table name
      TAB_COMP    LIKE X031L-FIELDNAME,      "Field name
      ANZAHL      TYPE I DEFAULT 10.         "Number of lines
    DATA:
      BEGIN OF BUFFER,
        ALIGNMENT TYPE F,                    "Alignment
        C(8000)   TYPE C,                    "Table contents
      END OF BUFFER.
    FIELD-SYMBOLS:
      <WA>   TYPE ANY,
       TYPE ANY.
    * Set field symbol with suitable to buffer area
    ASSIGN BUFFER TO <WA> CASTING TYPE (TAB_NAME).
    SELECT * FROM (TAB_NAME) INTO <WA>.
      CHECK SY-DBCNT < ANZAHL.
      ASSIGN COMPONENT TAB_COMP OF STRUCTURE <WA> TO .
      WRITE: / TAB_COMP, .
    ENDSELECT.
    Until now, in the ASSIGN feld TO <f> CASTING ... statement, the system checked to ensure that the field was at least as long as the type that was assigned to the field symbol, <f>. (Field symbols can either be typed at declaration or the type specified in an ASSIGN statement using CASTING TYPE). The syntax check is now more thorough. Now, you can only assign the field field (in either a Unicode or non-Unicode program)
    provided it is at least as long as the type assigned to the field symbol <f>. Otherwise, the system returns a syntax error. At runtime, the system only checks to see whether or not the lengths are compatible in the current system (as before).
    If the field type or field symbol type is a deep structure, the system also checks that the offset and type of all the reference components match in the area of field that is covered by <f>. The syntax check is now more thorough. Now, the system checks that these components must be compatible with all systems, whether they have a one-byte, double-byte, or four-byte character length. At runtime, the system only checks to see whether or not the reference components are compatible in the current system
    In Unicode systems, in the ASSIGN str TO <f> TYPE C/N and ASSIGN str TO <f> CASTING TYPE C/N statements, the length of str may not always be a multiple of the character length, in which case the program terminates at runtime.

  • Wht does lv7 help files for DAQmx lockup?

    I am trying to obtain help for the DAQmx vis in LV7 and the help files "hang", take for ever to load and sometimes lockup LabVIEW. Also, when they do load, the pull down selector does not work properly and causes the help file to lockup. Is there a fix for this problem?

    If you are currently running NI-DAQ 7.0 or 7.1, download NI-DAQ 7.1. This new installation will include new help documentation that will overwrite the existing files on your machine which may be corrupted. Here is a link to the NI-DAQ 7.1 download page: http://digital.ni.com/softlib.nsf/websearch/C1F802E457EA042586256DD00001B0C9?opendocument&node=132060_US
    Regards,
    Bill B.
    Applications Engineer
    National Instruments

  • Wht does safari combine multiple download into a zip file?

    I downloaded a MKV file from my NAS remotely which worked fine, however when i try to combine multiple files Safari seems to automatically ZIP the files which means I cannot tell how long the download will take or how much data is left to transfer.
    Anyone got any idea how to prevent Safari from putting multiple files into a zip?
    cheers

    I select multiple files from an online storage device, and select download. at this point for some reason when the download begins the files are combined into a zip file. when the download completes i then try to extract the zip file it often fails to extract.
    If I select any one of the selceted files individually, Safari download begins, and the completed download is not in a zip file format and the file is readable.
    I hope this makes sense to someone!
    cheers

  • How to parse/encode foreign chars in XML

    I am sending a char string such as
    y.x.x.x.y
    except that the y is actually a "y" with a dot on top (german).
    The remote server's parser complains and returns an exception.
    They are using xerces.
    What should they be doing to encode/parse such foreign chars
    (german, french, chinese....)?
    Should I be encoding this string before sending it? how?
    Thanks.
    -Mark Sabatini

    Thanks for the reply.
    I am sending the xml string such as
    <tag>y.x.x.x.x.y</tag>
    where y is the german char.
    How do I convert this string value to unicode before sending?
    Will the remote system see the same char? If not, doesn't that
    defeat the purpose of sending a german char?
    Does the remote parser need to encode/decode this too?
    Thanks.
    hi
    I had a similar problem and i solved it by before the
    parsing the xml, i converted all characters to
    unicode.
    Then the receiver who parses it in won't have
    problems, although he will see another sign instead of
    your character
    hope this helps

  • WebUtil Using Client_Text_IO with Japanese chars

    Hi, I am trying to use Client_Text_IO to read text file with Japanese characters in it. But it seems like Client_Text_IO can't read Japanese chars properly. Can anyone tell me how to use Client_Text_IO with double byte
    chars like Japanese?
    Thanks in advance for any help.
    Tad Teramoto

    Hi Frank,
    Thank you for your reply. Could you be a bit more specific about what this bug 3075927 really is? Is this a problem only in handling files with muli-byte chars or does it have an effect on other functions? And is there any workaround for it?
    Thanks

  • SAP Note 754143: SC names = 10 chars

    SAP Note 754143 says, "Use only 10 characters for the software component name and for the vendor."
    Wow! And no explanation is given. I assume, first of all, the note refers to software components defined in the SLD. 10 characters seems to be a pretty severe restriction, and I have not seen this advise anywhere else (in fact the example in the SAP Press book <i>Java Programming with the SAP Web Application Server</i> by Karl Kessler et al uses the software component JBOOK_EMPLOYEE = 14 chars).
    Does anyone have any comments on this or experience using SC names > 10 chars, with or without problems? Any ideas on why this recommended limit?

    Hi Randy,
    In my opinion they have given this warning because older version of windows operating system do not support names longer than 8/10 characters.
    Software Components names form folders on the local PC.
    I believe they must have given this restriction because of this reason.
    Just a thought.
    Regards
    Sidharth

Maybe you are looking for

  • Burning iTunes playlists onto a DVD

    I want to burn playlists from iTunes onto a DVD, primarily for backup purposes. But also, to give get them into another...PC...computer. I have iDVD 5, running Panther (10.3.9) I was told I could do this and it would work basically the same was as bu

  • Itunes 7 displays incorrect Skip Count values

    Using iTunes7,0 Mac and a 2GB 1st Gen iPod Nano When I connect the nano, the skip count for songs that already have a (>1) skip count gets something like doubled. For instance song X has a skip count equal to 8. I connect the nano, then song X skip c

  • What is the best way to maintain your Battery Life for Iphone 5 ?

    What is the best way to maintain your Battery Life for Iphone 5 ?

  • Robotic programming and others

    hello friends, P lease, can someone give me a hint on the following : 1. resources including appropriate softwares, code, classes, materials i need to write a java program that can send commands(or signals) via an infra-red(as in a TV remote control)

  • Unexpected Error Message - RoboHelp 6

    This is the second time that I have received this error message when I generate WebHelp. The .swf file does not work when the project generates. I really appreciate any help. Here is the message that I received. Thanks Preparing to create WebHelp...