Application Development 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: 

How to add program to the lswm

Former Member
0 Kudos

Hi all,

We hv a requirement for ME31L , we tried with recording mode as there is no direct input prg for this thing. But while recording an extra screen is getting recorded, coz of this screen the following screen loosing its data.

Thus it is going for an error while executing through lsmw . ( There is no problem while recording ).

so i need to add program to the lsmw to handle this situation.

Plz reply it's urgent

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You need to register the program in the tables

SXDA0
SXDA1
SXDA2
SXDA3

through SM30 transaction as DI or BI programs.

Regards,

AS

3 REPLIES 3

Former Member
0 Kudos

You need to register the program in the tables

SXDA0
SXDA1
SXDA2
SXDA3

through SM30 transaction as DI or BI programs.

Regards,

AS

0 Kudos

what is DI 0r BI Program ?

Former Member
0 Kudos

Hi,

BI - Batch Input Program

DI - Direct Input Porgram

Goto SM30 and add entries in the 4 tables.

<b>SXDA0</b>--

PDXfer: Data Transfer Object                    
DX obj  DX obj.short text   DX type   Object Ty   
9304	Program Title	        D

D - Direct Input

B - Batch Input

<b>SXDA1</b>--

PDXfer: Data Transfer Objects and Sub-Category                                
DX oDXsuSubtyptext     DX prog.                                DTest prg.

In this table create with entries with the same no as created in SXDA0

You need to create the Target Structures and assign them in SXDA2 and then in SXDA3 assign the attributes like Nodata, stype etc...

Its a little bit lengthy process. Once you create the entry in SXDA's you can then directly specify the entry no. in LSMW Maintain Object Attributes.

  Object <-- <b>Here put the entry no</b>.             
  Method                    

Regards,

AS