Field VBAP-MAGRV update??

Hi gurus,
we have an user exit in master material (MGA00001) that modifies sales order with bapi BAPI_SALESORDER_CHANGE, but field VBAP-MAGRV is not in parameters of this bapi. How Can we change this field in correct form?? Or only exist through UPDATE directly in table VBAP?
Thank you!!!
I will revvard all answers!!

Hi Daniel
U need to create an enanchement:
U need to use the paramenter table EXTENSIONIN (like BAPIPAREX) in order to transfer other informations (not managed by std structure of BAPI).
All item information will transfered from EXTENSIONIN to structure BAPE_VBAP, so u make sure your field is in this structure, if there isn't, u need to add it there by append structure.
U need to manage the structure BAPE_VBAPX just like BAPE_VBAP: here u need to insert the flag field.
At the end the information will be transfered from BAPE_VBAP to structure VBAPKOM, so yuo make sure your field is in this structure too, else insert it.
U need to manage the structure VBAPKOMX too.
How to fill EXTENSIONIN structure:
TABLES:  BAPE_VBAP, BAPE_VBAPX.
BAPE_VBAP-VBELN = BAPE_VBAPX-VBELN = <VBELN>.
BAPE_VBAP-POSNR = BAPE_VBAPX-POSNR = <POSNR>.
BAPE_VBAP-MAGRV = <.....>.
BAPE_VBAPX-MAGRV = 'X'.
EXTENSIONIN-STRUCTURE = 'BAPE_VBAP'.
EXTENSIONIN+30                = BAPE_VBAP.
APPEND EXTENSIONIN.
EXTENSIONIN-STRUCTURE = 'BAPE_VBAPX'.
EXTENSIONIN+30                = BAPE_VBAPX.
APPEND EXTENSIONIN.
Max

Similar Messages

  • Not all fields are getting updated in transformation

    Dear all,
    Please help me in the following issue:
    I have the following scenario:
    DSO1 and CUBE1. From DSO1 to CUBE1 I have transformation. Fields are mapped one to one.
    Some of the fields are getting updated in transformation (22 fields) and some of them are not updated in transformation. (2 - storage location and steel grade).
    The fields exist in DSO 1 but don't go into cube.
    I did the following:
    1. deleted transformation and dtp, recreate = > not working
    2. copied the cube, and create new transformation and DTP...not working.
    Any help would be appreciated
    Thank you
    Ramona

    Hi Ramona,
    Storage location (standard infoobject 0STOR_LOC) has plant as compunding object, check whether this is the issue ? (may be check with Steel grade infoobject also).
    Else, do some RSRV checks on the DSO and Infoobject, if it doesn't bring up any issue, raise a message with SAP.
    Check your BW Support Pack level , is it the latest ? Give more details about the scenario ?
    Cheers,
    CK

  • Incompletion log Field VBAP POSEX is not defind in incompltion procedure ZA

    Hi Friends,
    Need some help on this issue.
    We have some orders created in production, and when ever we go to VA02-> enter-> it pops up with the below error  message." Field VBAP POSEX is not defined in incompletion procedure ZA ".
    I already checked the incompletion procuredue and the field VBAP-POSEX (Purchase order item) was not at all defiend.
    It gives the incompletion log for only certain line items in the sales order and not for all. There are already few items delivered and we cannot reject the order to create a new one.
    I reveiwed this note "1497255 - Incompletion for PO item number (vbap-posex)" but it states it is for specifically for intercompnay orders.
    Our case is standard trade order. It woud be really great anyone has come across the same situation so that i can seek for help..
    Thank you so much!!
    Best Regards,
    Ram

    Hi Lakshmipathi,
    Firstly, thanks for the response.
    Yes.. I did checked... the field VBAP-POSEX was not maintained at item level though.
    The same item in other order does not have this problem and it is still open.
    This is specific to only very few orders, namely 4 or 5 orders but not with others.
    Moreover, these materils  are widely used among other company codes or sales org but no issues what so ever.
    This one appears to be a peculiar case. Thanks for your time and suggestions for looking it over.
    Thank you..
    Best Regards,
    Ram

  • Fields not getting updated in FBL3N and FBL5N

    Hi
    I have introduced new fields like material number, quantity sales document number, etc in through FBL3N --> Settings --> List special fields.
    Also i added one more field in 'sort key' as sales document number. I updated sort key in customer master and GL master (i.e. reconcliation account of customer A/c)
    But inspite of doing this, i can see those fields after change layout. But these fields are still empty. I do not know why its empty.
    When i changed sort key to sales document number, sales delivery number is coming instead of sales document number in assignment field.
    Please help

    Dear Meenakshi,
    Even though there are various fields available in FBL5N or FBL3N, all the fields are not updated for all the transactions. Based on transaction to transaction, fields get updated and mostly these are SAP standards. If you want certain fields, you need to develop Z reports accordingly.
    For example when GR is posted, system does not update PO number in Purchase order field. But alternatively it is updated in REFKEY1 field. Similarly when billing is done, it does not update material code in FI tables so it does not appear in FBL5N.
    Regarding Sort key, check with your SD consultant, what copy control it is used. In finance, assignment field is updated based on copy control used in SD.
    Regards,
    Niraj

  • This field cannot be updated as there are open sales order lines

    When trying to enable Item Attributes then I am getting a message "This field cannot be updated as there are open sales order lines". I cancelled the Sales Order ( which was having only 1 sales order line and that is also cancelled) but still I am getting the same message.
    How to overcome this problem.
    Khan

    Thanks Karthik & Sandeep........
    Issue got fixed. There was an open Sales order Line because of that line the issue was coming. After cancelling that SO Line, Users were able to update the Item field.
    Regards,
    Khan.
    http://moreapps4u.blogspot.com/

  • Credit - Field VBAP-CMPRE

    Dear experts,
    I've this issue:
    When i Create a new order the field VBAP-CMPRE is not valued. Do you know the reason?
    I've checked all credit settings in customizing and these are correct.
    If I check others orders in the table VBAP the field is valued correctly.
    Thanks
    Regards
    Max

    Dear Max Pozzi,
    Did you check whether the pricing procedure coming in the old sales orders is same as the one coming in the new sales order?
    Usually VBAP-CMPRE gets filled with the value of the condition type to which a subtotal A is assigned in the pricing procedure.
    Check what is the pricing procedure coming in the new sales order and go to v/08 and check whether there is a subtotal A assigned against any condition type.
    Check and revert back.
    Thanks & Regards,
    Hegal K Charles

  • Date of Last.Del field is not updated in EKEK table

    Hello All,
    We have one date update problem for one Scheduling agreement, the field is LFDKD (Date of Last.Delivery) in the table EKEK -Header Data for Scheduling Agreement Release and  this date hasnt been updated only for one SA since 2008 , it remains as it is like 18.02.2008, but the date of last field (LWEDT) is updated correctly till date. So due to this problem , the SA release is sent to the vendor through EDI and the date of last delivery is sent wrongly in 2008 date even though after that many goods receipt has been done for this SA.  Any idea why it didnt get update till date ?
    Thanks in Advance
    Benny

    Hello Benny,
    Please check if the following notes can help :
    1337084 Release header contains doc. date instead of delivery date
    1309001 Incorrect date for last goods receipt in sched. agreement
    Regards,
    Mauro

  • Field VBAP-CUOBJ

    Hi experts. I have an order that the field vbap-cuobj is filled with a value. What is this value ? How Can I track it (tables or anything) ?
    I appreciate any help.
    Regards!
    Renato

    Try using Search button - there are a lot of posts in this forum that mention that field, this one is just from the top of the list:
    Re: How Variant Configuration data stored with Sales Order
    Variant configuration:
    http://www.sap-img.com/sap-sd/steps-for-sd-variant-configuration.htm

  • Amend Structure with error, Reference field VBAP-KZWI1 for ZSMINI44_D4-PO_A

    Hi,
    i try to amend a structure but there is such an error that the Reference field VBAP-KZWI1 for ZSMINI44_D4-PO_AMT has incorrect type...
    but the data elements are the same.
    Please kindly advice.

    Dear Sally,
    Please use VBAP-WAERK  as your Reference Field instead od VBAP-KZWI1 for your structure field ZSMINI44_D4-PO_AMT.
    Hope this resolves your problem.
    Encourage others to answer your queries by suitably rewarding them
    Thanks
    Venugopal

  • How to modify the field VBAP-FIXMG

    Hello All,
    I have the value of VBELN and POSNR.
    I have to mofdify the value of field VBAP-FIXMG on the basis of VBELN and POSNR.
    Can u plz provide a solution for that.
    Bapi is also possible.
    if yes then plz provide name and exporting parameter.
    thanks.

    Hi
    Try to use BAPI BAPI_SALESORDER_CHANGE:
    Field FIXDAT_QTY of parameter ORDER_ITEM_IN
    Max

  • Add a field VBAP-MTVFP (availabilty check grp)to VA01/02/03 overview screen

    Hi,
    I want to add the field VBAP-MVTFP to the overview screen of Sales Order--> tcodes VA01/02/03.
    I came to know that this can be done by adding the field name in TCVIEW table but I am unable to see the field on the layout even upon doing so.
    Could someone please help?

    Hi,
    Append the table VBAP with the field you wanted to display at additional data A or B, and then write the code in sales order user exit to populate the field value.
    try user exit "USEREXIT_MOVE_FIELD_TO_VBAP" under include MV45AFZZ.
    regards
    Vivek.

  • Nokia E52 Message Sender Name Field is not updated...

    Nokia E52 Message Sender Name/Field is not updated automatically on Firmware 054.003!
    Issue 1: Message Sender Name/Field is not updated automatically after changes made in contacts.
    e.g. Message send by Mr. A is displayed in inbox, however when same contact changed to Mrs. AB in contacts does not update sender name/field inside inbox. Sender name remains Mr. A physically on handset. However the changes made to contacts and Message Sender Name/Field is updated automatically on use of Nokia PC Suite 7.1.60.0 and Nokia Ovi Suite 3.0.0.290 but not on phone. 

    Thanks for sharing the answer here, it is really helpful for others with the similar issue.
    Qiao Wei
    TechNet Community Support

  • REGUP Table Withholding tax field not getting updated

    hi friends,
                  from a specifc date with holdiing tax is not getting updated in REGUP-QBSHH field, so in payment advice its not getting displayed. can any one help me wat could be the problem for this
    thanks
    nagaraj

    hi amir,
            i dont have test case for that. till 28th of the last month the field has been updated and after that till now all the entries in that field is showing zero. but when we check in FB03. i can see the with holding tax amount. can u tell me how this table is getting updated
    thanks

  • Wrong VBAP table updation

    Hi
    Facing a problem with wrong VBAP table updation.
    Sales order shows Business Area" A " at both header and Item Level but in VBAP table the business area updated is " B ". can't understand why it is happening.
    Changelog doesn't indicate anything
    Thanks and regards
    Nikhil

    Hi,
    Can you check how the business rule that is assigned at SPRO-> Sales and distribution -> basic functions -> Account assignment/Costing -> Business area account assignment?
    Regards

  • DTW Some fields don't update

    I am updating lines of a Purchase Order throught DTW. I have multiple fields that I want to update. When I do the import it says that that record updated successfully, yet most of the fields are not updating. Here is my POR1 template:
    DocNum     LineNum     ItemCode     Quantity     Price     ShipDate     WarehouseCode     U_ShipDate
    DocNum     LineNum     ItemCode     Quantity     Price     ShipDate     WarehouseCode     U_ShipDate
    55     0     EEAC-100     5     80     06/23/11     01     05/24/11
    55     1     EEAC-100     4     80     07/23/11     01     06/23/11
    The quantity field updates fine, but the rest don't update.
    Any ideas why?
    Alan

    Gordon,
    That worked for the dates. Thanks.
    For some reason the price still doesn't update.
    Alan

Maybe you are looking for

  • How to UPLOAD Long Text in QS21

    Dear All, I have written BDC to upload Master Inspection Characterstics, The Problem is I need to upload the long Text, (which is of some 250 chars). How to do this. Help is appriciated. Thanks in advance Arun

  • Flash Debugger issue

    Hi, I'm trying to use the Flash debugger but when I put breakpoints in nothing happens except I see the swf.  I can't run through the code or see any variables?! I'm coding in AS3 and I'm using CS4 professional on Windows XP professional platform.  T

  • Music On Console Tray Icon

    MocIcon http://mocicon.archuser.com Today, I wrote a program called MocIcon *music on console icon* which is a gtk app written in C that gives you access to basic moc functions in the tray. Inspired by Moc-tray, I wrote this app primarily because I h

  • Error When Loading a Degenerate Dimension

    Hi, I have received the link > http://blogs.oracle.com/warehousebuilder/entry/owb_11gr2_degenerate_dimensions#comments from you to create a degenerate dimesion . I have create a DIM_DD_LOAN with two attribue loan_no_business with idenitifier business

  • Increase # of open terminals (more than 16)

    I'm working with CDE and 8 virtuals desktops on a Sparc based machine. My main problem is, that the count of open / active terminals is limited to 16 terminals. How can I increase this number ? Thanks in advance. George.