Skip to Content
avatar image
Former Member

abt forms

hello,

plz help me to solve the Qs.

1. how u debug the smart forms?

2.how u convert porder 1000 into words ( scripts)?

3.how u convert the script from 1 languge to another?

4. is standard text language dependent or indepemdent?

Good ans. will rewarded points.

thank u

Sweta.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 24, 2007 at 10:29 AM

    ans question 1:

    For debugging -

    1. Write BREAK POINT in the code window.

    2. Put a break point on the call function in the driver program

    3. Put a break point in the generated Function module.

    OR

    1) DEBUG Smartform:

    1.debug

    1) One way to debug smartform is to debug the Function Module of that smartforms.

    If you want to debug particular smartform node that the solution would be,

    insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.

    So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.

    2) SFTRACE can be used for debugging SMARTFORMS.

    Read More here.

    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

    OR

    Four ways you can debugging.....

    1.place SFTRACE inplace where we enter T_CODE and press ENTER.

    after that press F8.

    2 ./H

    3 /SH

    4.after generating the function module there is a button DEBUGGING

    Test smartform:

    1.after creating FM direct press F8 or Excute(button) then select print preview.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 24, 2007 at 10:39 AM

    ans to question 2

    Use the Function Module SPELL_AMOUNT to convert the integer into text.

    DATA v_int TYPE i VALUE '1000'.

    DATA words LIKE SPELL.

    CALL FUNCTION 'SPELL_AMOUNT'

    EXPORTING

    AMOUNT = v_int

    LANGUAGE = SY-LANGU

    IMPORTING

    IN_WORDS = words

    .

    WRITE words-word.

    <b>

    REWARD IF HELPFUL</b>

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 24, 2007 at 10:30 AM

    ans t oquestion 4 ;

    Standard text is "client depedent". ( so is SAPScript )

    You can transport it with two different ways.

    [1]. Program RSTXTCPY

    [2]. Create a manual transport of standard text. For this follow these steps.

    - Go to transaction SE10. Create a transport request ( workbench ) and task under it.

    - Select task and hit button "Disply object list (Shift + F11)".

    - On the next screen, switch to change mode.

    - Hit button "New entries".

    - Now create entry with these values

    PgmID = R3TR

    Obj = TEXT

    Object Name = TEXT,MY_TEXT_NAME,ST,E

    here, MY_TEXT_NAME is your standard text created in SO10 and 'E' is language. ( i assume the text is in english ).

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 24, 2007 at 10:34 AM

    ans t oquestion 3:

    create a program in se71 and go to form copy from and give the form name and lang and copy the form it will be copied to ur desired language then u van change it.

    like this.

    first create a form in en lanuage go to change mode

    go to

    form

    copy from

    give the form name and the lang

    and copy the form

    u get get the form in en lanuage

    Add comment
    10|10000 characters needed characters exceeded