Va21 and va22 need to display messages based on item condition

pls provide me the exit name or enhancement spot name where i can display the messages in tcode va21 and va22 with respect to line items.
there are komp-kzwi6 one field is there in this structure with respect to this field condition i need to populate the warning message.
pls provide me as soon as possible.
in MV45AFZZ  i have tried. but for this exact field condition i am not getting
Edited by: Shantha Sheela on Apr 2, 2009 12:08 PM

could u pls explain more abt this since its holding only the below parameters.
not the komp structure.
IMPORTING
*"             VALUE(I_VCSD_UPDATE_NEW) LIKE  VCSD_UPDATE
*"                             STRUCTURE  VCSD_UPDATE
*"             VALUE(I_VCSD_UPDATE_OLD) LIKE  VCSD_UPDATE
*"                             STRUCTURE  VCSD_UPDATE
*"             VALUE(I_VCSDPOS) LIKE  VCSDPOS STRUCTURE  VCSDPOS
*"             VALUE(I_VBAP) LIKE  VBAP STRUCTURE  VBAP
*"             VALUE(I_VBKD) LIKE  VBKD STRUCTURE  VBKD
*"             VALUE(I_VBAK) LIKE  VBAK STRUCTURE  VBAK
*"       EXPORTING
*"             VALUE(E_VBAP) LIKE  VBAP STRUCTURE  VBAP
*"             VALUE(E_VCSDPOS) LIKE  VCSDPOS STRUCTURE  VCSDPOS
*"             VALUE(E_VALUES_CHANGED)

Similar Messages

  • VA21 and VA22 User Exits

    Hi
    I have built a user exit for VA21 and VA22 in RV61AFZB as an include
    I need to modify the way conditions tab is displayed...
    Its a very simple requirement where I need to sumup the records of XKOMV which have the same KSCHL (say VA000) into one record...
    KSCHL        KWERT  KMPRS
    VA00          5
    VA00          10
    Now I need to show it as
    KSCHL        KWERT  KMPRS
    VA00          5
    VA00          10
    VA00          15           X
    I have done the above successfully for the table XKOMV but the problem is the above summation runs in a kind of loop and the summation gets appended everytime because of some other standard SAP code
    Has anyone faced the problem above... I have tried appending the values only for the last loop but it has other complications

    Hi,
    Here is my suggestion..
    In the pricing procedure add a line after the condition type VA00...
    Then assign a new formula for that line...
    In the new condition value formula (VOFM)...sum up the value based on the entries in XKOMV and assign the value XKWERT...
    It will display the value as per your requirement...
    Hope this what you are looking for...
    Thanks,
    Naren

  • Need to displaye message "User created successfully" after creating user

    Hi,
    I need to display message "User created successfully" after creating a user in OIM i.e after clicking on create user button, thie message should be displayed. Please guide me in this regard.
    Thanks.

    Hi,
    In ideal situation when you create an user and user gets created successfully the user profile page displayed.
    Now, if you want to show your message on top of that then you need to customize the Create User jsp.
    If you want to show new screen with required message then you need to create an custom screen,action class and some modification in struts framework.
    Regards
    Alabhya Goel

  • Addition of new fields in VA21 and VA22 Transaction

    Hi All
    I want to add a new field (custom) in VA21 and Va22. This field would then need to calculate values at run time. Has any one achieved this before? The field to be added is a multiplier. Its a kind of discount field.
    Which screen exits and user exits are available for it.
    Also pls tell if this is possible through SPRO, like if SAP has provided any unused fields which can be used.
    Regards,
    Jayant

    Hi Hoffmann,
                       Thks for responding. I will make you clear the procedure tht i have followed
    1) Copied the MGD1 function group to ZMGD1.
    2) Copied MARA table into ZMARA.
    3) Followed the procedure given in website - http://www.****************/Tutorials/ExitsBADIs/MM/MM01.htm
    4) Added two fields in screen 0001 pattno patttype.
    4) Successed in creation of screen and it is even showing when i am opening MM01 screen basic data1 the two fields that i have added.
    5) Issue is when i am giving the data it is not gettong stored in ZMARA table, as i have not given the coding in USER exit EXIT_SAPLMGMU_001 my new fields data will not be saved but the material number has to be saved thts my doubt.
    Hope it is pretty clear.!!!

  • I purchased a movie via Itunes and it does not display as a purchased item on my Apple TV yet A TV show I bought does.

    I purchased a movie via Itunes and it does not display as a purchased item on my Apple TV yet A TV show I bought does. The only way I can view it is if I turn on home sharing and the movie is downloaded to my PC. Is this normal?

    Welcome to the Apple Community.
    Perfectly normal, purchased items only applies to TV shows, the studios have not licensed movies for redownloading.

  • I'm trying to copy pics from my pc to Iphone4s and am getting an error message - cannot copy item - the device has either stopped responding or has been disconnected.  please tell me what to do to enable me to transfer the pics

    i'm trying to copy pics from my pc to Iphone4s and am getting an error message - cannot copy item - the device has either stopped responding or has been disconnected.  please tell me what to do to enable me to transfer the pics

    Are you syncing the photos using Itunes?
    When you plug your phone into your PC, in Itunes under the picture tab you can sync photo and then choose the photos.
    Look here more detailed instructions
    http://support.apple.com/kb/HT4236

  • Displaying record based on the condition in Crystal report

    Hi All,
    I want to display certain records in crystal based on some condition.
    For example,
    If I am having 5 student records like,
    Name  Mark1 Mark2 Mark3 Total
    aaa      40       50       60      150
    abc      30       60       40       130
    tcr        25      25        25       75
    Now in table i have only 4 fields (STUNAME, MARK1, MARK2, MARK3).
    I have to calculate the total at runtime and if total is greater than 150, then actual record should display in report.
    For example, I can use formula to calculate total but I can calculate total only after each record prints. But i want to calculate total internally only it should display in report if condition satisfies. I dont want to keep one more field for total in crystal report.
    Please help me on this.

    If the filter is not "pushed" down to the database, then Crystal will pull all of the data into memory and then filter it there.  This is not a big deal if you only have a couple of records, but it can significantly slow down a report that is pulling in more than a few records.
    An alternative, if your report is just linking tables in the Database Expert, would be to create a SQL Expression that adds the three fields together.  Using this in the Select Expert WILL push the condition down to the database.
    If you're using a command instead of linking table, they you would add this to the Where clause of the comment.  If you're using a stored proc instead of tables or a command, you would want to do this filter in the code for the stored proc.
    -Dell
    Message was edited by: Dell Stinnett-Christy

  • VT02N - do PGI and Invoice for certain deliveries either based on certain conditions

    Hi Friends ,
    We are using VT04 for creating shipments . While shipment completion stage in VT02N   an activity profile has been maintained  which does both the Goods issue and Invoice.
    We have a business requirement , PGI and Invoice should be created only for specific set of deliveries based on certain conditions.
    Is there any standard way to do this or by using user exits.
    Please guide.
    Thanks,
    Nileshsa.

    what about adding a check in userexit RV60AFZZ, when the condition is not met during invoice creation, error out and disable the creation of the invoice document?

  • Three Graphs and Data need to display in a single screen

    Hi Gurus,
    I have a requirment that customer wants to see three graphs and data in a single screen.
    The data will be avilable in a single query, how can i display.  I gone through with many SDN blogs, but i did not get the solution.
    Requirment is:
    First graph         Business Unit informaiton, there are around 7 BUs, under each BU, they have 3-7 Industry groups.
    Second Graph:  Industry Group, under each industry group there are no of customers, i want to display top ten customers.
    Third Graph:  Top Ten Customers.

    Hi Karanam,
    Assuming you are using WAD;
    First graph Business Unit information, there are around 7 BUs, under each BU, they have 3-7 Industry groups.
    -You would need to have a Query that displays the BUs with their Industry Group count i.e BU in the Rows with Industry Count as the KF - I assume you want to show count here
    -Build a Data Provider DP1 on the Query
    -Drag a Chart webitem onto the web template & assign DP1 to it - use a Column/Bar Chart to display the Category 'BU' & Series 'Industry Count'
    Second Graph: Industry Group, under each industry group there are no of customers, i want to display top ten customers.
    -You need to have a Query that displays the Industry Groups & top 10 Customers within each i.e.  - create a Query Condition to achieve top 10 Customers based on some criteria - I assume Sales Revenue or likewise
    -Build a Data Provider DP2 on the Query
    -Drag a Chart webitem onto the web template & assign DP2 to it - use a Column/Bar Chart to display the Categories 'Industry Group', 'Customer' & Series 'Sales Revenue' or likewise
    Third Graph: Top Ten Customers.
    -You need to have a Query that displays the top 10 Customers i.e.  - create a Query Condition to achieve top 10 Customers based on some criteria - I assume Sales Revenue or likewise
    -Build a Data Provider DP3 on the Query
    -Drag a Chart webitem onto the web template & assign DP3 to it - use a Column/Bar Chart to display the Category 'Customer' & Series 'Sales Revenue' or likewise
    --Priya
    Edited by: Priya Jacob on May 27, 2010 7:41 AM

  • Need to display fields based on first filed selection

    Hi All
    I am useing Apex 4.1 on 11gr2
    I am building an application that needs to have some fields completed based on the selection of the first file that is a LOV pick list.
    I am using the display condition for the edit of existing records, but now need to be able to create a new record.
    I thought I would have the screen redraw but that also resets the first field.
    Any help would be great.
    Edited by: merph on Oct 12, 2011 3:28 PM
    Sorry guys I found the answer,, getting to like apex ;-)
    Edited by: merph on Oct 12, 2011 3:57 PM

    Silly me it's right there

  • Need help displaying message box.

    hi, i have an application which takes pretty long to run. The process basically consists of several sql statements. My idea was to display a message box just before the process starts saying something like "in progress... please wait". Anyway i created a message box using jdialog but the problem now is, it just displays and empty box, the message is displayed only when the process has finished running which is useless. if i use the msg box elsewhere, it runs just fine, only when it is placed before a block of long running code (e.g a very big loop) it just does not display the text.
    Can anyone please advise me on this issue, thanks!

    hi, i have an application which takes pretty long to
    run. The process basically consists of several sql
    statements. My idea was to display a message box just
    before the process starts saying something like "in
    progress... please wait". Anyway i created a message
    box using jdialog but the problem now is, it just
    displays and empty box, the message is displayed only
    when the process has finished running which is
    useless. if i use the msg box elsewhere, it runs just
    fine, only when it is placed before a block of long
    running code (e.g a very big loop) it just does not
    display the text.
    Can anyone please advise me on this issue, thanks!If you don't want to get into threads and things like that, try the following?
    1. Add some delay between the message box request and start of the query.
    Like
    for (int i = 0; i < 100000; i++) {} // you have to experiment with the limit. A second's worth should be enough to see if this makes any difference.
    2 Add the method repaint(); after the message request.
    3 Add the method repaint(); and delay after the message request but before the query request.
    LIke
    // message display request
    repaint();
    for (int i = 0; i < 100000; i++) {}
    // query
    What's interesting to me is that an empty box is drawn. So my guess is if enough time (a second say) is given, the message box will be drawn completely. (Of course, I'm not sure.)

  • In my output fianl int. table how to display 'X' based on some conditions

    Hi,
    can somebody tell me
    how to populate the value in my fianl table as 'X'.This is my requirement.How to do???
    In the LOOP on lt_stpox, if lb_recursive is set to X, then populate gs_output-rekri = X for all components for material.
    this is my coading.
    *Panthom item check
       IF  p_phant = c_x .
          DELETE lt_stpox WHERE dumps = c_y.
        ENDIF.
        CLEAR lb_recursive.
        READ TABLE lt_stpox TRANSPORTING NO FIELDS WITH KEY rekri = 'x'.
        IF sy-subrc EQ 0.
          lb_recursive = 'X'.
        ENDIF.
        DELETE lt_stpox WHERE rekri = c_y.
        LOOP AT  lt_stpox INTO ls_stpox.
    *Move header data to final table.
          MOVE-CORRESPONDING ls_topmat TO gs_output.
    *move comonent data to final table.
          MOVE ls_stpox-ojtxp TO gs_output-maktx1.
          MOVE ls_stpox-idnrk TO gs_output-idnrk.
          MOVE ls_stpox-mngko TO gs_output-menge.
          MOVE ls_stpox-rekri TO gs_output-rekri.
          MOVE ls_stpox-meins TO gs_output-meins.
          MOVE ls_stpox-stufe TO gs_output-dglvl.
          APPEND gs_output TO gt_output.
        ENDLOOP.
        CLEAR: gs_output,ls_stpox,ls_topmat.
      ENDLOOP.
    ENDFORM.                    " BUILD_OUTPUT

    Hi,
    As per my understanding of your question, You are checking whether lt_stpox-rekri = 'X'  in below code and then you are setting lb_recursive as 'X' accordingly.
    CLEAR lb_recursive.
    READ TABLE lt_stpox TRANSPORTING NO FIELDS WITH KEY rekri = 'x'.
    IF sy-subrc EQ 0.
    lb_recursive = 'X'.
    ENDIF.
    DELETE lt_stpox WHERE rekri = c_y.
    And after that you are looping at lt_stpox to populate final internal table.
    So, instead of doing this, you can directly loop at table lt_stpox and in loop check if  lt_stpox-rekri = 'X', if yes then gs_output-rekri = X.
    Refer below code.
    LOOP AT lt_stpox INTO ls_stpox.
    If ls_stpox-rekri eq 'X'.
    gs_output-rekri = X.
    Endif.
    *Move header data to final table.
    MOVE-CORRESPONDING ls_topmat TO gs_output.
    *move comonent data to final table.
    MOVE ls_stpox-ojtxp TO gs_output-maktx1.
    MOVE ls_stpox-idnrk TO gs_output-idnrk.
    MOVE ls_stpox-mngko TO gs_output-menge.
    MOVE ls_stpox-rekri TO gs_output-rekri.
    MOVE ls_stpox-meins TO gs_output-meins.
    MOVE ls_stpox-stufe TO gs_output-dglvl.
    APPEND gs_output TO gt_output.
    ENDLOOP.
    CLEAR: gs_output,ls_stpox,ls_topmat.
    ENDLOOP.
    Hope it helps.
    Thanks,
    Archana
    Edited by: Archana Pawar on Feb 1, 2010 11:43 AM

  • Set Status on Header based on Item condition

    Guru's
    I have the following requirement:
    If a certain filled date on an item is equal to the system date the status on the Header has to be automatically set to "Not Accepted".
    An Action Profile and Definition is allready assigned to this Item Category. But what I want to know is if someone knows if there is a standard SAP Method that I can copy, change and use to get what I want.
    I found "LEAS_STAT_LCID", but I'm not sure if it will do the above.
    Hope you can help me.
    Thanks in advance and I will reward points!
    Joost

    Function always returns true or false
    Definitions below
    create or replace
    function CHECK_FLAG_F_officer (offid in number)
        return BOOLEAN is
      incStatus varchar2(10);   
      currentFacility off_profile.current_facility%type;   
      comStatus varchar2(10);   
      comRole   off_profile.comm_staff_role%type;   
      comStaff  off_profile.comm_staff_name%type;   
      comEmail  varchar2(200);   
    begin    
      select decode(lu.active_flag,'Y','ACTIVE',null) INC,   lu.current_facility,
             decode(lu.community_active_flag,'Y','ACTIVE',NULL) COMM,         lu.comm_staff_role,
      lu.comm_staff_name,  lu.comm_staff_email email    
           into
             incStatus,
             currentFacility,
             comStatus,
             comRole,
             comStaff,
             comEmail    
           from off_profile lu, sor_offender o
           where o.doc_number = lu.doc_num
           and (lu.active_flag = 'Y' or lu.community_active_flag = 'Y')
           and o.offender_id = offid;    
           IF comStatus = 'ACTIVE' and comEmail is not null THEN  RETURN(TRUE) ;
          elsif comStatus = 'ACTIVE' and comEmail is null THEN RETURN(TRUE);
          else
           RETURN(FALSE);
                 END IF;
                exception
             when others then
            RETURN(FALSE);    
          end;

  • Need to display the messages in a view which has the pop up on it

    Hello all,
    I have a view(View 1) in which if i click a button a pop up is being displayed.
    Now on the pop up(which has view 2 of window 2) i have a button(Ok) and if i click it then based on a condition i need to close the pop up and then display the message in the message area of View 1.
    Now if i click the button on the Pop up then it is being closed and the message is not being displayed on view 2.
    I think the message is being displayed on the pop up and is being closed after that.
    How can i display my message on View 1.
    Any ideas...Please help
    Thanks in advance,
    Shravan

    Hi Shravan,
    Create Message area in view1.
    and also give VIEW name wile displaying error message and try.
    *   report message
      CALL METHOD lo_message_manager->REPORT_ERROR_MESSAGE
        EXPORTING
          MESSAGE_TEXT              =
    *      PARAMS                    =
    *      MSG_USER_DATA             =
    *      IS_PERMANENT              = ABAP_FALSE
    *      SCOPE_PERMANENT_MSG       = CO_MSG_SCOPE_CONTROLLER
          VIEW                      =   VIEW1 .
    Cheers,
    Kris.

  • af:validateLongRange displaying message: How to insert 'new line' ?

    Hello,
    While using <af:validateLongRange> tag we need to display message in a well formatted way, we have to display each statement in a new line.For eg. : message as displayed by property 'messageDetailNotInRange' must come in three different new lines not as a continuous statement.I tried inserting '\n' escape sequence for new line, but it dint work.I tried spacing the statements but that also is not working out.
    Any idea how can we get this message displayed separately in three rows rather than in a continuous statement ?
    ++messageDetailNotInRange="You have entered a value more than is available. Value entered must be in the range of {2} to {3}.To delete this line, clear the value and click Delete"++
    +<af:validateLongRange id="xyz_VC1" minimum="1"+
    maximum="100"
    messageDetailNotInRange="You have entered a value more than is available. Value entered must be in the range of {2} to {3}.To delete this line, clear the value and click Delete"
    messageDetailMinimum="Minimum {0} allowed is {2}"
    messageDetailMaximum="Maximum {0} allowed is {2}"
    hintNotInRange="#{'xyz'}"/>

    Thx..Done that!! but dint get the desired result ,I put it as :-
    messageDetailNotInRange="You have entered a value more than is available.&lt;br&gt; Quantity entered must be in the range of {2} to {3}.&lt;br&gt; To delete this order line, clear the quantity and click DELETE."
    On corresponding page this message was displayed as :
    You have entered a value more than is available.<br> Quantity entered must be in the range of 1 to 100.<br> To delete this order line, clear the quantity and click DELETE.
    It dint insert line breaks in the message.Do i need to write it differently?
    Above html code is modified once i posted it, it has inserted line breaks here for the br tag i added , but in my actual .jsff page it did not . I can only see br tag displayed as part of message and no new line got inserted.
    I dont see an option to attach a file with the post so that I can show the code to you.
    Edited by: user13439821 on Aug 15, 2011 2:58 PM

Maybe you are looking for

  • How to keep a calculation field blank until the user enters a number?

    I am building a sales sheet for a school that sells scrip as a fund-raiser. I have the document set so that when the user enters the number of scrip certificates he wants (say, two $25 gift certificates at Lowe's), the program will automatically calc

  • Can't transfer files from old macbook to new retina?

    Hello, I am well aware that the macbook pro retina does not have a firewire 800 port, but rather thunderbolt. Unfortunately I didn't know of this when I asked an apple employee about how to transfer files from my old broken macbook pro (leopard) to t

  • Recording using an audio interface or audio cable?

    Hi everyone, I am a newbie with Garageband and home recording in general and I just wanted some advice about the best way to record songs I have written on my Korg Triton Extreme synthesizer onto Garageband 09. So far I have been using a basic audio

  • Sequence in apex

    Hello, i create a sequence.when i build a form and assign that sequence.it work ok.but when i delete a single record then next time the delete sequence no is miss and generate next no. like current cursor = 10 i delete the 10th record then current cu

  • Balancing field profit centre line item 001 not filled

    Hi Guru's, am facing  payroll posting problem system throwing error as Balancing field in profit centre line item 001 not filled  i have checked every thing is correctly maintained and please guide me where i have gone wrong and where exactly i get