STRUCTURE RV45A IN USEREXIT

Hi !!!
i have a problem with the standard transacction VA01. i need to get the data from the structure RV45A to obtain the field MATNR in the userexit FV45K001(CALL FUNCTION 'EXIT_SAPFV45K_001', include program ZXVVAU03), all this in run time. To get this data i use a select sentece. i already define this structure but shows me the error: "RV45A" is not defined in the ABAP Dictionary as a table, projection view or database view. Someone can help me please?
Thanks & Regards.

You cannot do it.
The enhancement only has these parameters:
""Lokale Schnittstelle:
*"       IMPORTING
*"             VALUE(IVBAK) LIKE  VBAK STRUCTURE  VBAK
*"             VALUE(IVBKD) LIKE  VBKD STRUCTURE  VBKD
*"       CHANGING
*"             VALUE(DA_KKBER) LIKE  VBAK-KKBER
so VBAP fields (where matnr is located) are not available, use another enhancement.
reward pints if helpful, pls.
regards
Roberto

Similar Messages

  • Need to find the table of RV45A-ETDAT for Report Development

    Hi Everyone,
    I need to bring a field on a custom report - 'First Date' in the Sales Order at item level.
    It is populated with a structure RV45A and the field is ETDAT.
    Apparrently this field is not directly stored in the sales order related database table like VBAP.
    Kindly advise on how to find 'from where to pick this field value' for a custom report development.
    Thank you very much for your help.
    Hemant

    Hi,
    The field ETDAT field is not stored in any SAP Table.
    Probably the field ETDAT in your structure RV45A is populated with data at runtime and that data might be reassigned to some other field.
    You can check the same only in debugging the standard code of that transaction.
    Reward if helpful.
    Warm Regards
    R Adarsh

  • Open Order Quantity in Contracts

    Dear Gurus
    I am trying to create a report which will show the Open Order quantity of SD Contracts.
    This being the figure of the target quantity less the called off quantity.
    Please advise on the best method of getting this information, I can see the cumulative order total in the contracts but this is held in a structure (RV45a- KWMENG) and I am struggling to get this information into a report
    Many thanks
    Tony

    Hi Tony,
    To the best of my knowledge you will not be able to read value into your report from RV45A- KWMENG. To get this value you need to first fetch the list of subsequent SD documents from VBFA table. Later you need check status of those documents both at header and item/s level using VBUK and VBUP. If you find the open items for documents you need to sum up all those quantities to arrive at a open quantity for the contract using tables VBAK and VBAP
    Please keep in mind performance issues which may arrive in this process as it deals with linking of 5 tables. You may need additional database index for the table VBAK (Thanks to check on this point).
    Below information may be useful to activate the index:
    To activate the index, proceed as follows:
    1. Call transaction SE11 and enter the database table VBAK. Choose "Display" and then select "Goto -> Indexes" (Ctrl+F5) in the menu.
    2. Double-click the entry I01.
    3. Change the option to "Index on all database systems".
    4. Activate the index (Ctrl+F3).
    5. You must collect the database statistics for the index so that the optimizer can recognize the index (transaction DB20).
    Hope this helps you.
    Regards,
    Praveen

  • Unable to change the order quantity value during save of sales order

    Hi Experts,
    There is a need to change the order quantity value, based on some conditions, when pressed 'ENTER' or during 'SAVE' of the sales order (VA01, VA02).
    We are trying to change the order quantity value (KWMENG) in table XVBAP in the subroutines userexit_field_modification, userexit_save_document and userexit_save_document_prepare of the user exit 'MV45AFZZ'. But the change is not replicated to field on GUI.
    The order quantity value can be changed in subroutine 'userexit_move_field_to_vbap', but the subroutine is not getting triggered when user changes only the order quantity on screen.
    Please help us in resolving this issue.
    Regards,
    Santosh

    Thanks for your time guys. The issue is resolved.
    SAP is not triggering the vbap user exit as the order quantity on screen is in structure RV45A.
    There are two ways of resolving the issue.
    1. Implement the SAP note #513342 - Quantity change and USEREXIT_MOVE_FIELD_TO_VBAP. But, it is SAP modification note.
    2. Write the code in VBEP exit of MV45AFZZ. This user exit is called whenever the order quantity is changed. But, it is called multiple times in some cases. Hence, need to write code to limit our code execution only once e.g. maintain a global table with our quantity & uom. Check when the quantity and uom in our table is same as quantity on screen. If not, exit from user-exit.
    Edited by: Santosh Kacham on Nov 11, 2011 6:37 AM

  • User Exit - VA01 / VA02 Sales Order, using Variant Configuration Fields

    Hi,
    I'm doing a user exit for creating / changing a sales order (VA01/VA02), and in my program I'm trying to use the characteristic values in variant configuration: Extras -> Configuration.
    I know there's a whole bunch of data in SAPMV45A, but I can't seem to find what I need. Structure RV45A is the closest I can find, but the characteristic name / value fields appear empty during the execution of the user exit.
    Any help would be greatly appreciated.
    Thanks!

    R u creating your own user exit or using the ones which are available for VA01/VA02?
    If you can use existing ones, to get the more details abt them, please have a look at below link.
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    I hope it helps.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Match Code Search

    All,
    We use Asset Balance Report, S_ALR_87011963 .  The description field is case sensitive.  We have a case where the asset descriptions are in consistent: e.g. BALL vs. ball.  When running this report one can only find all assets with "BALL"  or "ball".  Is anyone aware of how to set up a "Matchcode" search that will find the word "Ball" no matter if it us Upper or Lower Case?
    Thanks,
    Dan
    Edited by: Daniel Goodhart1 on Dec 6, 2010 12:16 PM

    For MM02 / MM01:
    Press F1 on the "Material" screen field.
    Select the "Technical Details" button.
    Double click on the fieldname "MATNR".
    Structure RMMG1 is displayed.
    Check the Search help for the fields MATNR in "Entry Help / check" tab.
    It is MAT1.
    For VA02
    Press F1 on the "Material" screen field.
    Select the "Technical Details" button.
    Double click on the fieldname "MABNR".
    Structure RV45A is displayed.
    *Check the Search help for the component MABNR in "Entry Help / check" tab.
    It is S_MAT1.
    Double click on the collective search help S_MAT1.
    The "Included search help" tab displays the append search help - S_MAT1_APPEND
    Add another search help here using the menu path Goto -> Append Search help
    If you modify search help MAT1 or MAT1
    S_MAT1 -> S_MAT1_APPEND -> MAT1 -> MAT1A / MAT1_MPN, then all the tcodes where the Material field with search help MAT1/ MAT1A is used will be modified.
    So modify search help S_MAT1. It will reflect in VA02.
    Hope this helps.

  • Order ETDAT Extraction to BW

    Hello experts,
    As you know in an order there is a date for each item called "FIRST DATE" with the technical name ETDAT.
    I need to extract this date per item but I can not find the date in the LIS Extractor.
    I also tried to find the ETDAT with the used for List and I only got the structure RV45A.
    In my understanding there muste be a table with the keys VBELN and POSNR to read the ETDAT for each order item that I can use for my append in the BW extractor for order items.
    Thanks in advance,
    Michael

    Hi,
    well I don't have access to a R/3 system at the moment. But you are right with the extractor 2LIS_11_V_SCL for the schedule lines. I thougt the name of the table related to it was vbet, ok may be it is vbep or something similar. You might need to check that in se11, searching for vb* and description 'inteilun'. As far as I remember is the date you are looking for the  one of the first schedule line related to a item.
    regards
    Siggi
    Edited by: Siegfried Szameitat on May 19, 2008 12:53 PM

  • Search help enhancement - VA01

    Hello,
    I am trying to enhance standard search help on material field(RV45A-MABNR) on VA01 screen with my custom search help. Can someone please suggest which search help is being used by this material field?
    Thanks,

    When you go to display the structure RV45A in se11 and goto field mabnr and double click it , you can find
    "explicit search help attachment to data element" and not as "explicit search help attachment to data field"
    which is the case for  RMXTT_TRIAL_HD-PRODUCT
    and also when you click on the search help for field at the bottom , you can see " no search help for field RV45A-MABNR".

  • Check 4 availability of stock

    hi,
    getting demands from APO. I need to create planned orders. b4 creating planned order i need to check stock availability and open production orders.
    how to check this. I think, AUFBAUEN_MDPSX_ANZEIGEN can be used.
    But I dont know how...plz suggest

    Hi,
    You'll need to make some modifications to standard if you want that to occur.  You will have to consider which plant and storage location should be looked at.  Do you really want Unrestricted Stock - would not ATP be better.  You can get ATP from the function  IVFP in the program SAPMV45B (the button on the item overview screen).  Otherwise you'll need a developer to look at modifications to:
    structure RV45A,
    program SAPMV45A,
    screen 4009.
    Hope this helps
    Regards
    Nick

  • Help of User exit to get to updated cuobj value in SAPMV45A

    Hi All,
    In Va01 / Va02 Transaction we have some characteristic Values (In fast entry Tab)
    which are comming from Material Master. which is display on screen using structure
    RV45A.
    when i debug in USEREXIT_SAVE_DOCUMENT_PREPARE OR
    USEREXIT_SAVE_DOCUMENT I connot find data in RV45A structure.
    my problem is : when user changes the char. value in fast data entry tab. i want to get updated values.
    vbap-cuobj is created but char. value is avilable only upon saving va01.
    can anyone tell me
    1. how to get this updated char. values in user exit move_fields_to_vbap or SAVE_DOCUMENT OF SAVE_DOCUMENT_PREPARE
    or
    2. any exit which is executed after saving va01/02 or after USEREXIT_SAVE_DOCUMENT
    Thanks in advance

    I solved using  userexit_new_pricing_vbap.

  • Sales order tables

    Hi Guru,
    Can anybody tell me in which tables the data in sales order like delivering plant, total weight, unit of weight, volume, volume unit etc stored.
    For example in my sales order the delivery plant for Sales Order no 100 is J100, in which table is this value J100 stored? I am unable to locate it in VBAK, VBKD or VBAP.
    When i try to get it from technical info, i find that it is in structures
    RV45A     DWERK
    RV45A     BTGEW
    RV45A     GEWEI
    RV45A     VOLUM
    RV45A     VOLEH
    Can anybody tell me where the values for these fields are stored?
    Thanks,
    Venkat

    I quickly checked
    BTGEW is not the filed you can change
    BRGEW you can change for each position and it is stored in VBEP-BRGEW (here I was wrong in last post. You can change what was taken from material master and this will be stored in VBAP table).
    BTGEW is calculated value, because the F1 help says its total and its calculated.
    I think this answers your question.
    regards
    Rafal
    Edited by: Rafal Drezek on Jul 9, 2009 4:37 PM
    Edited by: Rafal Drezek on Jul 9, 2009 4:38 PM

  • How to use User Exit for SD...

    Hi there,
    My client's requirement is to block the overall status of the Sales Order header under status tab to be blocked when user r-enters a new scheduled date in the "First Date" column in the SO.
    When they goto VA02, & put a new date it must automatically put a delivery block in the header as well as make the order header status to be blocked.
    I see the “First date” field in the SO is in a Structure “RV45A”, the field name is ETDAT.
    Can you let me know how to use User exit MV45AFZZ?
    When doing it, it must put the Delivery block in table VBAK – LIFSK.
    Rgds,
    Pri

    Hi Debadatta,
    Welcome to SDN.
    Have you looked report program <b>RM07MAAU</b> (Report for Material Document Archiving)?
    Hope this will help.
    Regards,
    Ferry Lianto

  • ETDAT

    Hi gurus
    i am looking for the field ETDAT (Delivered on). i went to the VA03 and took the technical details of particular field. <b>Structure RV45A</b> and <b>Field name ETDAT</b>. its easy to find the name of the field if its coming from the table name..but wondering how to locate the field if its showing the name of the structure, in which table i can find this field. i need help.Thanks
    Regards
    Kanth.

    Hi
    This is Ale
    My request is to find all customized reports which contain this field. RV45A-ETDAT . I found it is saved in VBAK table, the field is VDATU (Requested Delivery date)
    I entered into SE11 using the "where used" option but I also watched table TSTC for Z* and Y* tcodes.  And i cannot find any pogram related to the tcodes and in the where used list for this field.
    can you please help me out on how to find this relationship?
    Regards

  • Doubt in exits

    I want to add field in Table control which i already having remaining fields like this When creating, changing or displaying a sales order, the program (in regards to the subscreen) executed in background is SAPMV45A, and the underlying screen number is 4900.
    The information displayed in the columns (e.g. the first date, the plant, the shipping point etc.), is either derived from a structure (RV45A, e.g. for the first date) or a transparent table (e.g. VBAP, e.g. for the batch information).
    Renee - I would like to suggest to include the field RV45A - ENDBP (total amount of the item) at the end of the corresponding screen.
    Then, the Users will have the possibility - when configuring their own line item layout - to move the cloumn total amount of the item to the correct place.
    And  also i need to populate it , please tell me the porcess

    Could you solve the problem already? I have the same request.

  • IPC4.0: UserExit ABAP Structures konp, komp

    Hi
    I need some help with the representation of some ABAP structures in Java.
    We are looking for the representation of the KOMP-TAXM1 field, which should be an attribute of the Java Interface "IPricingItemUserExit". However, the call
    prItem.getItemAttributeValue("TAXM1")
    seems not to work.
    The ABAP KONP structure might be represented by IPricingConditionRecord:
    IPricingConditionRecord konp = (IPricingConditionRecord)prCondition.getConditionRecord();
    Is that correct?
    Thanks for any help.
    Kilian

    Hi Yatendra,
    Question 1 ) Do i need to define/declare "constants" and "feild-symbols" in Java userexit, as mention in above ABAP code ?
    Java has no such thing as  'field-symbols', thanks God for that, so the answer would be a no. And there is no such thing as 'constants' in Java, thou you can reach the same using a final class with a public static final variable of any given type you want.
    Question2 ) How to write SELECT statement code in Java UserExit ?
    You simply don't, and if you have such in ECC just raise ' ECC user exit is incorrect and should be fixed '... very very popular topic, pretty sure you will have a hard time to prove, but I'm certain you will prove that ECC userExit code in ABAP is a joke (because that code is a joke and I'm fairly positive it was created by an intern or something..)
    Question 3) What would be equivalent code/logic in Java userexit for READ TABLE statement ?
    as Sarath mentioned above, as soon you implement the BADI in ABAP code and Map the attributes accordingly, you will end up with no collection or Array inside the userExit itself, as stuff has been calculated before in the BADI and only final values have been passed forward to your custom Java code.
    Hope it helps, you should read Sarath hyperlink as he compiled a master piece on IPC extensions.
    Cheers,
    D.

Maybe you are looking for

  • Any ideas what this means (The online info does not help much)

    Hi Folks One of my Oracle 9i DB Instances is generating the following code in the ALRT file. I have looked up the codes in the online manuals but they don't tell me much. Could any DBAs out there take a look and let me know if I need to worry about t

  • How do i register a second ipod touch to my computer

    how can i add a second ipod touch to my computer and itunes account and why do i have to enter a card number to verify my itunes account

  • How to copy and  paste the data directly from the excel to the PDF?

    hi, I have found the same question on the link: How to copy excel sheet to pdf form? But I didnt get my answer through that forum. My requirement is dat I should copy the data from excel sheet and directly paste it to PDF form. When I am trying to co

  • NOKIA 701 AND HARD RESET

    I LOST MY ALL NOKIA DEFAULT APPS .LIKE OVI STORE/OVI MUSIC AND MANY MORE AFTER THREE KEY HARD RESET,IS THERE ANY WAY TO RESTORE MY ALL APS WHICH I WAS HAVING PREVIOUSLY,EVEN I HAVE REINSTALLED MY PHONE SOFTWARE TWICE USING NOKIA SUIT BUT STILL DOESNT

  • R9 290X Gaming VBIOS Request

    I just bought a brand new MSI 290X Gaming 4G and I have no control over fans, the msi GamingApp seems to have no control either. SN:602-V308-06SB1403000948