Include program MV45AFZZ

hi all...
CC:to Anjith
how to creat an include program in "MV45AFZZ"....for USER exit....VA01
Pls post ur comments...on urgent basis.
thnanks & regards
sankar

Dear srinivas,
my client requirement is this...
In va01 or va02.....i've to restrict the end user upto the maximum of 4 line items, they can able to give at a single time...while entering 5th....it throws an error and revert back to the main......(restricting to 4 line items)...and also saving the same to the table xvbap or vbap....
Just advise me...how to go for it.....
Expecting ur reply...
my mail-id is [email protected]...
will come and check ur mail tom mng since i've to leave right now....
Pls post ur comments.....and check here tomorow for my reply....dont mind,pls
bye
sankar

Similar Messages

  • Sales order Update indicator in the include program MV45AFZZ

    Hi All,
    Can somebody will give idea how do we can find whether the sales order is creating or changing when we are writing some code in the user exit MV45AFZZ.I checked in this program we can find only at item level XVBAP-UPDKZ but i want this at the header level.
    One way we can find this is by checking SY-TOCDE = VA01 but this condition fail if we create sales order using the BAPI.
    Regards
    Mahesh

    In create mode XVBAK-VBELN will be initial, where as in change mode it contains sales order number.

  • How to identify userexits include program which can be modified

    hi frndz,
    plz don't give me the program which is circulating in forum bcoz i kno tht progm it gives the userexit and BADI but i want to get the include programs for eg:MV45FZZ for VA01 tcode....how to get the include programs like this for other tcodes.
    i think this include progm is to validate the fields in VA01....like this how to validate the fields of other tcodes or screens.
    Thanks.
    Points will be rewarded for rgt ans.
    Arunprasad.P

    Hello,
    as the real world is - there are very different types of 'userexits' inside SAP.
    These programs identifing  SMOD-Exits and BADI's are quite helpful, but they won't find any old exit's
    like the MV45AFZZ.
    I don't know a program which could do that - it would have to scan programs for subroutines maned 'userexit'. But this logic is the oldest logic existing from release 3.0 (or older ??). And (i think) only in SD-related programs. In that area you find the exit's via transaction SPRO -> Sales and Distribution -> system modification.
    Regards Wolfgang

  • Which is better Function modules or Include programs?

    Hi,
    I am working on an enhancement and it has lot of screens with a tree structure on the left. Now we are planning to have each screen to have its PAI/PBO and the processing logic to be in seperate include programs.
    However in our team we have debate as to go in for include programs or for Function modules. The opinion here is that the program should not take long time to load if its going to be include programs.
    Please suggest what approach is better, is it Function modules or include programs.
    Any other suggestion is also welcome.
    Thank You,
    SAC.

    Thank You all.
    In this enhancement I have about 13 screens and has business logic in each. So if I go with each screens and business logic coding in seperate Function modules than includes under 1 function group is adviceable?
    Using object oriented approach is really the best thing here, but however most of my team members are not welversed in OO concepts. The deadlines are very tight for grooming my team members as well.
    My only concern is that with so much screens and business logic in 1 transaction should not bring down this programs performance when its executed.
    Any other suggestions to keep in mind for this is appreciated.
    Thank You.
    SAC

  • How to use the variables of Function exit in the include program

    i have a problem of using the variables of a function exit in the include program..
    If i use those variables there will be an error indicating 'Field FEBVW_IN is unknown. It is neither in one of the specified tables nor defined by a DATA statement'. Please help... Below is the code of the function exit:
    FUNCTION EXIT_SAPLIEDP_202.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(IDOC_CONTROL_INDEX)
    *"     VALUE(IDOC_DATA_INDEX)
    *"     VALUE(FEBVW_IN) LIKE  FEBVW STRUCTURE  FEBVW
    *"     VALUE(FEBKO_IN) LIKE  FEBKO STRUCTURE  FEBKO
    *"     VALUE(FEBEP_IN) LIKE  FEBEP STRUCTURE  FEBEP
    *"     VALUE(FEBRE_IN) LIKE  FEBRE STRUCTURE  FEBRE
    *"     VALUE(FEBPI_IN) LIKE  FEBPI STRUCTURE  FEBPI
    *"  EXPORTING
    *"     VALUE(I_FIMSG) LIKE  FIMSG STRUCTURE  FIMSG
    *"     VALUE(FEBVW_OUT) LIKE  FEBVW STRUCTURE  FEBVW
    *"     VALUE(FEBKO_OUT) LIKE  FEBKO STRUCTURE  FEBKO
    *"     VALUE(FEBEP_OUT) LIKE  FEBEP STRUCTURE  FEBEP
    *"     VALUE(FEBRE_OUT) LIKE  FEBRE STRUCTURE  FEBRE
    *"     VALUE(FEBPI_OUT) LIKE  FEBPI STRUCTURE  FEBPI
    *"  TABLES
    *"      IDOC_CONTROL STRUCTURE  EDIDC
    *"      IDOC_DATA STRUCTURE  EDIDD
    *"      IDOC_AVIP STRUCTURE  AVIP OPTIONAL
    *"      IDOC_AVIR STRUCTURE  AVIR OPTIONAL
    *"      IDOC_AVIT STRUCTURE  AVIT OPTIONAL
    *"  CHANGING
    *"     REFERENCE(IDOC_AVIK) TYPE  AVIK OPTIONAL
    *"  EXCEPTIONS
    *"      PROC_ERROR
      INCLUDE ZXF08U10.
    Here is the code for the include program.
      INCLUDE ZXF08U10
    MOVE febvw_in TO febvw_out.

    Sometimes you will get this error message when checking include code in exits even though there is really no error - it happens because the include does not realise it is in the function due to the navigation index being out of date.
    Try activating the code - it may work even though the check said there were errors.
    You can also get this issue when trying to drill down on the field in the include to view its structure.
    Andrew

  • How to exclude the standard Include programs in Code Inspector?

    I am running code inspector (SCi) on all the development objects using a package. But in certain repository objects standard include programs have been used. I want to exclude the standard include programs while running SCI on the package. What are the ways to achieve this?

    Hi,
    while defining an object set choose:(in the menu)
    Edit - Exclude View Maintenance Function Groups.
    This should exclude most or at least some of the includes from being checked.
    Kind regards,
    Hermann

  • How to perform subroutine form in an include program?

    Hi all,
    I would like to perform an external subroutine form residing in an include program from a customer function user exit. I tried using the following code, but it dumps:
    PERFORM <form name> IN PROGRAM (lv_program)
               TABLES <a> <b> USING <c>.
    In the dump analysis I see that "Program <include name> is type I and therefore cannot be generated" and "The current ABAP/4 program attempts to call the program <include name> but this program cannot be executed. Therefore,the current program had to be terminated. "
    If the include can't be generated, is there another way or method I could directly call the form without needing to copy the standard code to an own function or form?
    Best regards,
    Mikko

    Hi,
    take this example..
         perform idoc_status_record_write in program sapmsed7 using
                                                    x_edidc-docnum
                                                    c_idoc_status_ready
                                                    space
                                                    space
                                                    space
                                                    space
                                                    space
                                                    space.
    in this the from is in include, but while calling you need to call with the help of main program.
    in this case <b>SAPMSED7</b> main program, but form is in include <b>MSED7F05</b>
    Regards
    vijay

  • Problem in creating include program for customer exit for BC425_01

    Hi,
         I want to write a customer exit for transaction BC425_01. For identifying the include program for exit , i go to System->Status.There I double click on the program name(GUI).Then I perform a 'FIND' in main program for 'customer-function' keyword. I get 3 search results with "CALL CUSTOMER-FUNCTION '001' " , "CALL CUSTOMER-FUNCTION '002' " , "CALL CUSTOMER-FUNCTION '003' ".
    Now i double click on CALL CUSTOMER-FUNCTION '001'  and i am taken to the code of program where this function is called in MODULE cust_check INPUT. I double click on CALL CUSTOMER-FUNCTION '001'  and then I am taken to the function module code which contains a single statement 'INCLUDE ZXBC425G01U01 .' .
    Now I double click on this include program so that I can write my own code. But when i double click on it , a message displayed 'Program names ZX.. are reserved for includes of exit function groups'. Hence I am not able to creates this include program and write my coding.
    Kindly Help
    THANKS

    Hi Amber,
    Then you click enter button.It is asking to create object with that include name ZXBC425G01U01 in a pop-up.You  should select YES option.It will ask package . Give the package name and save.Then include program is created and allowed you to write your own code.
    Thanks,
    Prasad GVK.

  • Subroutine inconsistency due to deletion of Include program

    Hi All,
          I created an include program(saved in local object) within my report(this was previously stored in a package) and I copied a few performs and forms from my report into the include program, but then i decided to go for the code without the include and commented the include statement in my report and deleted the include program(in se38). But now when I click on the perform statement in my report it gives a message "Object ZXY not found". The ZXY is my include program. Also when I view the report in se80 I find repetitive sub routines.Also I am not able to delete the duplicate sub routines in se80.
         How can we overcome this inconsistency in duplication of subroutines, how to suppress the message and make sure the code is consistent?

    Hi,
          So currently all the performs in program are part of some other include which is part of your main program?Because if not , obviously an error will be thrown.
    Have you tried the option of rebuilding object  list for the whole program?
    Right click on the program name in SE80--> Other functions->Rebuild object List
    Regards,
    Arun
    Edited by: arun warrier on Nov 30, 2011 1:36 PM

  • Activating Include Program in Exit Function EXIT_SAPLAAPM_002

    Hi,
    Thed System does not allow me to create/activate the Include Program ZXAAPMU02. I am getting message : Program names ZX... are reserved for includes of exit function groups. Can you please help me?
    Appreciate Your Help.
    Thanks,
    Kannan

    hi Kannan,
    when you get this message, just press enter. System will ask if it should create ... just say yes and you can create the exit code.
    hope this helps
    ec

  • Table for Include Programs.

    Hi,
    Can anyone tell me which table stores the include program names of a Module Pool.??
    regards,
    Ramakanth

    Thanks for your Reply..
    My exact requirement is to identify the main program for all the include programs. REPOSRC gives the include program name but i think it doesnt give the main program name from where include is fetched.
    So I need table which stores the main program / Module Pool and its includes.

  • Program  to list all include programs  from the  Sap program list

    My requirement is to display all include programs from the Sap program Table ( D010INC table and TADIR table), From
    here i have to get all include programs.Can anyone give the program code for this requirement

    well, it's your requirement and not ours, so why not try yourself first?

  • Changes in an INCLUDE Program not being transported

    Hi all,
    I have done some changes in the main program of a sapscript form in SE38. This main program calls an INCLUDE program, in which I have done some changes also. But when I transport the program, the changes done in the INCLUDE are not being transported, but only the changes in the main are transported!!
    Can anyone tell me why? I generated both the main and the INCLUDE but it still is not ok.
    Regards,
    Nelmaz

    Make sure the INCLUDE is also in the same request as that of Main Program
    Regards
    - Gopi

  • How to put display-only condition in a custom include program

    hello everyone,
    I have to make a custom include program that will be used instead of the already available 'bdcrecx1'.
    I have a couple of questions and would appreciate your help.
    I need to create a parameter with a checkbox. When this checkbox is 'X' the following 2 fields need to be greyed out, otherwise user should be able to enter values in them. How can I grey out the fields?
    Using my include I should have just the following:
    1)parameter with checkbox
    (if 'X', session and user greyed out)
    2)Session Name
    3)User Name
    Also, is there a way I can avoid putting the following onto the screen:
    1)Keep session (this will always be defaulted to 'X'
    2)No Data
    <b>Note:</b> I made a copy of 'bdcrecx1'and i'm doing changes according to my requirement.
    Thanks in advance.
    Regards,
    Fred.

    Hi,
    For your first question.
    use
    assign user command for checkbox say 'CLICK'..
    at selection-screen output.
    loop at screen.
    if screen-group3 = 'VALUE' and checkbox condition.
    screen-active = 0.
    else
    screen-active = 1.
    endloop.
    To make sure that the user enters the data in fields if checkbox is not grayed,
    do it in event
    start-of selection.
    if field is initial.
    exit.
    go back to previous screen.
    endif.
    for removing 'keep session' , check out for exits..
    Regards,
    Tanveer.
    Please mark helpful answers
    Sorry about the previous error in reply.
    Message was edited by: Tanveer Shaikh

  • Inserting an Include program into all Z programs dynamically using a BDC.

    Hi Experts.
    I've created a BDC to insert a include program (for Authorisation) into all our Zprograms.
    It works but if there is code written on the line where the include has to go it is simply overwritten by the new include.
    Is there a way to search the code lines for example to see on which line the "REPORT" statement is and
    to be able to then dynamically "Hit Enter" to insert a blank line after the report statement sothat the existing code is not
    overwritten.
    Regards
    Vic

    Thanks for sharing your brilliance.
    It's much appreciated
    If I have to insert my lines in, can I update directly from the itab or is there another process
    behind that.
    My reasoning is if there is no space for the Load-of-program and include I'll have to insert it.
    Edited by: Vic Delport on Dec 10, 2009 11:12 AM

Maybe you are looking for

  • Aperture - iWeb - MobileMe...  WORKFLOWS WANTED!

    I come seeking advice, and hoping this online essay will spark some discussion on the much-needed integration of Apple-apps online photo sharing and display capabilities -- and I promise to keep the rants to a minimum... *What I'm trying to do:* Crea

  • My MacBook was stolen and I need to know the MAC address

    An emergency question to Apple support. My MacBook was stolen and I need to know the MAC address of its network card. I have a receipt with the serial number of my MacBook. Can you assist? My serial: W8***66D Thank you p.s Any ideas how I can find it

  • Auto-Reaction Method - External Operating System Command

    Hello , I am trying to run a script (test.cmd) on a monitored java system out of solution manager via ccms auto-reaction method, but without success. I have created a RFC Connection to the java system in transaction sm59, defined an external operatio

  • Problem opening PDF from Google search

    Hi , I;m a newb to the  BB Torch 9810 and was wondering why , when I click on a link (Google search) , ffor a specific PDF file , my BB wants to save the file , rather than open it . How do I correct this problem , so the file will open and I won't b

  • Extremely slow performance on projects under version control using RoboHelp 11, PushOk, Tortoise SVN repository

    We are also experiencing extremely slow performance for RoboHelp projects under version control. We are using RoboHelp 11, PushOk and a Tortoise SVN repository on a Linux server. We are using a Linux server on our IT guys advice because we found SVN