Skip to Content
author's profile photo
Former Member

sap-script , ldb

1- In sap-script how we can print footer in last page only?

2- Where we generally use more then one main window in sap-script?

3- How we print date like 1 Oct 2005 instead of 01-10-2005?

4- What are the attributes have in LDB, Report?

5- What the main diff. in screen while we using LDB?

6- If we saved some object in $tem Development class and after we want to put that same object from $tem to any Zdevclass, how we do it?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • Best Answer
    author's profile photo
    Former Member
    Oct 05, 2005 at 12:57 PM

    hai,

    for point 3.

    use edit mask '__ ...'

    or u can look for any conversion exits.

    6. select the object in change mode follow thw path

    goto->object directory entry , ther select the change button and give teh devlopment class name you require

    cheers

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 05, 2005 at 12:59 PM

    1 Check here -

    sap-script

    2 When you want dynamic text to be printed in different colums in same page ( like a news paper).

    3 Use Edit mask Check Here

    http://help.sap.com//saphelp_470/helpdata/EN/d1/8031dd454211d189710000e8322d00/content.htm

    4 Goto tcode SLDB

    6 Use tcode SE03 to change object directory entry or may be in the application transaction itself goto object directory entry and you will be allowed to change dev class.

    Cheers.

    ( Dont forget to award points if answers were helful. )

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 05, 2005 at 01:01 PM

    Hi,

    For 3rd que.........

    DT <H>Date:</>,,&give your date field&

    /: SET DATE MASK = 'MM/DD/YY'

    This will work.

    For 6th Que...

    I think you need to creat another prog with meaningfull name and you should copy from it.

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 05, 2005 at 12:53 PM

    Hi Sameer,

    For Question 1:

    Print Footer notes only on the last page

    Command to used in your sapscripts :-

    /: IF &NEXTPAGE& EQ 0

    whatever footer you want.

    /: ENDIF

    Thanks&Regards,

    Ruthra.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 05, 2005 at 01:10 PM

    Hi

    1- You should used the statament BOTTOM/ENDBOTTOM in the

    main:

    /E FOOTER

    /: BOTTOM

    • This is the footer of the main window

    /: ENDBOTTOM

    The system'll write it at the footer of the main, so if footer of main is footer of page, you can print in the footer of page and, if there are more pages than one, in the last one.

    2. You can use several windows (but it's always the same)if text entry is continuous, once the first main window has been filled, output continues in the second main window.

    3. There isn't that format you should create own routine to convert the format date;

    4. Go to database program and then GoTo->Attribute

    5. Change the cirteria of selection-screen for searching

    6. Go to transaction where you've created your object and then Go TO->Object directory Entry: push CHANGE icon and change development class

    Max

    Message was edited by: max bianchi

    Add comment
    10|10000 characters needed characters exceeded