Skip to Content
author's profile photo Former Member
Former Member

Enhancement using customer exit !!

<i>Hello Friends,

I like to implement user exit SAPL1ZE for txn MSC1N.

I need to check value from the screen fields.

Now, shall I have to consider the flow logic of the main program, because if I write some code in this, How the flow cud be.

For this enhancement, I have to over power the PAI module developed by SAP. I don't find any Exit function module call here.

Your help is greatly appreciated.

Thanks,

Senthil</i>

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2005 at 09:20 AM

    Hi Senthil,

    There are no userexits for trxn MSC1N.

    Regards,

    Raj

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2005 at 09:25 AM

    Hi,

    If you are sure about the user exit, you can set an explicit break point in the user exit and check when you run the transaction the flow goes to the place where the break point is set,

    Following are the user exits available for MSC1N transaction,

    BATCHCHK Function Module Exits for Check in Case of Batch Changes

    MBCFC010 Propose batch number on Inventory Management item screen

    SAPLCHVW Batch where-used list

    SAPLMHD1 Shelf life expiration date

    SAPLV01D Determining the initial status of a batch

    SAPLV01P Function Module Exits at Time Batches Are Updated

    SAPLV01Z CFCs for internal batch number assignment

    SAPLV1ZE CFCs for external batch number assignment

    SAPLV1ZN CFCs for batch valuation in VB_CREATE_BATCH

    hope this helps,

    Rgds,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2005 at 10:10 AM

    Hi,

    Could you please tell what is the actual requirement. Why do you need to over power the PAI module.

    Also you can go to the Transaction->SPRO->SAP Reference IMG -> Logistics->Batch Management->....

    you can find all the User Exits and BADIs available for batch transactions with the documentation. Please check. Hope it helps...

    Lokesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2005 at 07:44 PM

    Hi,

    If you want to check the New Batch Number created then u can used the exit EXIT_SAPLV01Z_004 in which you have user Importing parameters NEW_CHARG & structure X_BNCOM.

    I hope you are looking for this .

    Thanks

    Rajeev

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2005 at 08:16 PM

    Hi,

    For checking Batch Number created exit EXIT_SAPLV01Z_004 can be used. Inside this function module u will find INCLUDE ZXVBZU04 wherein u can write the appropriate code. U can pass NEW_CHARG & X_BNCOM structure values as the importing parameters and write the code. CUST_NOT_ALLOWED will be the exporting parameter for this.

    U can have more knowledge from below comments.

    FU EXIT_SAPLV01Z_004

    ____________________________________________________

    Text

    Check New Batch Number According to Customer Rule

    Functionality

    Using this customer function call (CFC), you can use your own rules to check if a manually entered batch corresponds to certain numbering conventions.

    The communication structure X_BNCOM contains the application data known up to this time. You can extend this structure in the DDIC using the structure BNCOMZ.

    If you set the parameter CUST_NOT_ALLOWED, you reject the batch number. This leads to an error in the calling application and therefore to rejection of the batch number.

    Parameters

    NEW_CHARG

    X_BNCOM

    CUST_NOT_ALLOWED

    Exceptions

    Function Group

    XVBZ

    Pl. award appropriate points.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.