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

USER EXIT

Former Member
0 Likes
725

Hi All,

Can any one help me on userexits.

how to trigger the user exit.

Thanks&Regards.

Ramu.

5 REPLIES 5
Read only

Former Member
0 Likes
600

Hi Ramu,

Here is an useful link :

Regards,

Preema

*Reward points for helpful answers

Read only

Former Member
0 Likes
600

Hi ramu ,

Userexit are all form endform .

Like for example .

Userexit MV45AFZZ has form called save_document

During process of order create or change there will a perform called save_document called.

But we use create a customer exit then moment u activated that using CMOD .It is automatically triggered.

Read only

anversha_s
Active Contributor
0 Likes
600

hi ramu,

hi

USER EXITS->

1. Introduction:

User exits (Function module exits) are exits developed by SAP.

The exit is implementerd as a call to a functionmodule.

The code for the function module is writeen by the developer.

You are not writing the code directly in the function module,

but in the include that is implemented in the function module.

The naming standard of function modules for functionmodule exits is:

EXIT_<program name><3 digit suffix>

The call to a functionmodule exit is implemented as:

CALL CUSTOMER.-FUNCTION ❤️ digit suffix>

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

CUSTOMER EXITS-> t-code CMOD.

As of Release 4.6A SAP provides a new enhancement technique, the Business Add-Ins.

Among others, this enhancement technique has the advantage of

being based on a multi-level system landscape (SAP, country versions, IS solutions, partner,

customer, and so on)

instead of a two-level landscape (SAP, customer) as with the customer exits.

You can create definitions and implementations of business add-ins at any level of the system landscape.

To unify enhancements of the SAP Standard you can migrate customer exits to business add-ins.

http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm

rgd

anver

pls mark hlpful asnwers

Read only

0 Likes
600

Hi All,

Can any one give me sample coding for my requairment.

my requairment as follows:

i have data in below segments,

E1EDK02 BELNR Idoc document number File PO Number

E1EDP01 POSEX Item Number File Line Item Number

E1EDP01 MENGE Quantity File Item Quantity

E1EDP20 EDATU Date File Delivery Date

E1EDP19 QUALF Object Identification for customer material

in hte below include zxvdbu01 in need implement the code.

FUNCTION EXIT_SAPLVEDB_001.

""Lokale Schnittstelle:

*" IMPORTING

*" VALUE(SEGMENT) LIKE EDIDD STRUCTURE EDIDD OPTIONAL

*" VALUE(DXMESCOD) LIKE EDIDC-MESCOD OPTIONAL

*" VALUE(CONTRL) LIKE EDIDC STRUCTURE EDIDC OPTIONAL

*" TABLES

*" DXVBAP OPTIONAL

*" DIVBEP OPTIONAL

*" DXVBADR OPTIONAL

*" DXVBPA STRUCTURE VBPAVB OPTIONAL

*" DD_FLAG_P OPTIONAL

*" DXKOMV OPTIONAL

*" DXBDCDATA STRUCTURE BDCDATA OPTIONAL

*" CHANGING

*" VALUE(DXVBAK) OPTIONAL

*" VALUE(DD_FLAG_K) OPTIONAL

*" EXCEPTIONS

*" USER_ERROR

*"----


INCLUDE <b>ZXVDBU01</b>.

ENDFUNCTION.

in the include based on the segment data .

1)i need to retrieve the sales order number and item(from table VBFA) based on the ponumber and item which is in segments.

2)based on the sales order and item i need to get the wmeng(quantity field from vbep) and i need to pass this wmeng to internal table IVBEP.

KINDLY CAN ANY ONE HELP ME ON THIS TOPIC.

It is very very urgent.

Thanks in Advance.

Thanks&Regards.

Ramu

Read only

Former Member
0 Likes
600

you can have a look at below links.

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

http://www.sap-basis-abap.com/sapab013.htm

http://sap.ittoolbox.com/documents/popular-q-and-a/debugging-a-user-exit-or-program-3022

Below link will give you a code where you can find user exits for a particular transaction.

http://www.sap-img.com/ab038.htm

Best Regards,

Vibha Deshmukh

*Plz mark useful answers