cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancements

Former Member
0 Kudos

hi frinds..

plz let me know how to code the enhancement ..

wat is the diffrence between CMOD and SMOD

plz give steps for the same

mahesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

1) SMOD is where you can see the enhancements available in SAP..

CMOD is where you can create a project for the enhancement and activate the project..

2) You will be creating object type in SWO1..Then you will be using the object type and method in BDBG to create ALE interface for BAPI..

Urs Gs...

Answers (5)

Answers (5)

Former Member
0 Kudos
Former Member
0 Kudos

hi mahesh,

Here the is procedure..

Use the following:

-


when '$POSTINGDATE$'.

Loop at i_t_var_range into loc_var_range

where vnam = '$INPUTDATE$'.

check sy-subrc = 0.

//do stuff

l_S_range-sign = 'I'.

l_s_range-opt = 'BT'. //use 'BT' for an interval

l_s_range-low = $START$.

l_s_range-high = $END$.

append l_s_range to e_t_range.

endloop.

In my example I entered $INPUTDATE$ (user entry single value variable) and I calculate a specific range (aging from 0 to 30 days old) which is determined in the 'do stuff' section (left out). At the end the interval for $POSTINGDATE$ is determined. This is part of include ZXRSRU01. Look for howto's on how to setup these includes in CMOD. SAP has several howto's available.

or else see this link..

Customer exits are used to derive custom values for the variable value. When we have to derive a value based on another variable value, we go for a customer exit variable.

Now when Bex finds a variable of type exit, it get the value from customer exit code which is designed by the user.

here are some how to guides which will gives the step by step activities:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597...

Urs GS

Former Member
0 Kudos

Hi Mahesh,

Check this thread... this may be usefull

Regards,

Arun

Former Member
0 Kudos

1)SMOD-SAP Enhancement Management

CMOD-Enhancements

SMOD is just to see all the enhancements in the sap system.

CMOD is the customer projects where enhancements are implemented. If you want to implement any enhancements then you will create a project and assign the enhancement and do the coding in exits.

To customize an existing SAP application we have been provided the user exits by SAP. These exits are packaged under enhancements. You choose an enhancement according to your requirements e.g. enhancement MM06E005 is used for adding custom field in me21/me21n. SAP has limited no of enhancements for any transactions, you have to choose only from them to cater your requiement you cant create them.

After selecting your enhancements you have to inherit them in your project in CMOD. Thereafter you do coding and other things like making your subscreens or adding fields to standard tables in respective exits.

To see the effect of your whole project you must activate each componnents of your enhancements.

2)

Goto BDBG

Enter the Object name which you can either refer from SWO1 or can create a sub type in SWO1.

Enter Method.

Press enter

It will ask you for Message Type

And then will ask for the Interface Parameters.

Once you enter correct data it will generate the Segment, IDOC TYPE automatically

http://help.sap.com/saphelp_erp2005/helpdata/en/78/2176ec51ce11d189570000e829fbbd/frameset.htm

URs GS

Former Member
0 Kudos