Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sap-script , ldb

Former Member
0 Likes
700

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?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
662

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

5 REPLIES 5
Read only

Former Member
0 Likes
662

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.

Read only

Former Member
0 Likes
663

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

Read only

Former Member
0 Likes
662

1 Check here -

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. )

Read only

Former Member
0 Likes
662

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.

Read only

Former Member
0 Likes
662

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