Sales Order Additional Data

Hi,
I have 2 sales orders:
SO1) with an entry in the Header Level field VBKA-KVGR1 (Additonal Data A).
SO2) No entry in the Header Level field VBKA-KVGR1 (Additonal Data A).
If I open SO1 in VA02 and F3 Back out of it without making a change, I am asked "do I want to Save Changes"?
If I open SO2 in VA02 and F3 Back out of it without making a change, I am not asked the question.
Anyone know why?
Thanks.

Hi Max,
I said yes to the 'Save Changes' question but no new change document appeared.
I'll do a debug now and see if there is a userexit somewhere changing something.
From the quick debug that I have done, the Popup appears because...
(SAPMV45B)R185D-DATALOSS = X here:
SAPLV00F / LV00FF0D
Form DIALOG_AUSGEBEN
IF T185D-DIADYN NE SPACE.
  PERFORM DIALOGFELD_DYNAMISCH USING MODUL-POOL USER_DATALOSS
                                     USER_FIELD.
  ASSIGN (USER_FIELD) TO <FS1>.
Datenverlust -
  CHECK <FS1> NE SPACE. -
>>>>> 'X'
ENDIF.
(USER_FIELD)  = (SAPMV45B)R185D-DATALOSS
In the other one (SAPMV45B)R185D-DATALOSS = '  '
Thanks.

Similar Messages

  • Sale Order additional data B.

    Hi,
    I have created 2 z fields in sale order additional data b at item level.
    but when user is entering any data in that field,same data is getting displayed for all line items.
    how to control that for particular item for which user has entered.
    Data Entered in z fields are used only for display purpose which are used for some calculations.

    hi,
    in PAI  usercommand  module  
    use loop endloop for internal table which store item level data 
    loop at item level data
    user command module 
    endloop.
    in module  driving program .
    module
    read table it_issue index tab_ctl-current_line transporting no fields.
      if sy-subrc = 0.
        it_issue-kostl = p_kostl.
        it_issue-ktext = p_ktext.
        it_issue-for_sys = p_for_sys.
        modify it_issue from it_issue index tab_ctl-current_line.
        clear it_issue.
      else.
        it_issue-kostl = p_kostl.
        it_issue-ktext = p_ktext.
        it_issue-for_sys = p_for_sys.
        append it_issue .
        clear it_issue.
      endif.
    endmodule  .
    regards
    deepak.

  • Mandatory field in sales order additional data tab

    Hi,
    I have added an extra field in additional data tab of sales order. 
    How can i make this field as mandatory for certain sales organisations ?
    TIA

    since it's conditional, I think I would add code in SAVE_DOCUMENT_PREPARE subroutine in MV45AFZZ, based on transaction code, prior values (YVBAP) and current values (XVBAP), and issue an error message, allowing user to return to the screens displaying Item table control, when the field is not properly populated.

  • Screen compression problems in sales order additional data b screens

    When i enter va01 for the slaes order he screens are:
    SAPMV45A8309, Sales Document Header - User Exit Header
    SAPMV45A8459, Sales doc. Item - User exit item
    Use screen painter to change them. (transaction SE51)
    what happened is that i have four boxes in additional data b subscreens and i am calling another sub screen 9801 which contains table control what happened is that while run time i am getting gap in the boex of screen 8459, how to compreess the boxes or spaces to accomodate the table control.
    very urgent pls.....
    regards
    subba

    Thanks for your reply , Actually i am calling  9801 sub screen  with table control on to 8459 sub screen(sapmv45a program)
    still the problemm remains the same. I am using the code as below.zie,z01,zia are all modification groups to hide the boxes in the 8459 screen, pls check my code and revert back   urgently urgently.....
    PROCESS BEFORE OUTPUT.
                               Verarbeitung vor der Ausg
        MODULE ZZ_GET_TEXT.
       MODULE ZZ_FIELD_SETTINGS.
      CALL SUBSCREEN ZZAUDIT INCLUDING 'SAPMV45A' '9801'.
    PROCESS AFTER INPUT.
       CALL SUBSCREEN ZZAUDIT.
    MODULE    ZZ_FIELD_SETTINGS OUTPUT.
      LOOP AT SCREEN.
      Determine main grouping based upon mod group 3 field.
        CASE SCREEN-GROUP3.
          WHEN 'ZIA'.                    " Orbit  /interface architecture.
            PERFORM ZZ_FIELD_ZIA.
          WHEN  'ZIE'.                  " ERI interface.
            PERFORM ZZ_FIELD_ZIE.
          WHEN 'Z01'. " Generic -Relevant for all interfaces potentially.
            PERFORM ZZ_FIELD_Z01.
        ENDCASE.
      Handle display of contract versus other doc types.
        IF VBAK-VBTYP EQ  'G'.       "Contract doc type.
          IF SCREEN-GROUP4 NE  'Z02'.
            SCREEN-ACTIVE = 0.  " field not relevant for contract display.
          ENDIF.
        ELSE.                    "other doc types.
          IF SCREEN-GROUP4 EQ 'Z02'.
          Field not relevant for non-contract display.
            SCREEN-ACTIVE  = 0.
          ENDIF.
        ENDIF.
    FORM ZZ_FIELD_ZIE.
      IF NOT VBAK-AUART IN ZZR_AUART.
    IA related Doc Type - Hide ERI fields
        SCREEN-ACTIVE = 0.
      ELSE.
      IF SY-BINPT NE 'X'.         " Not Processing in BDC Mode
        SCREEN-INPUT = 0.         " Turn Off Input Ability
      ENDIF.
        CASE SCREEN-GROUP4.
          WHEN 'ZAU'.                " Audit Toggle Related
           IF zzshowaudit NE 'X'.
             screen-active = 0.
           ENDIF.
          WHEN 'ENA'.
            SCREEN-INPUT   = 1.
          WHEN 'ZTS'.
            IF SY-SYSID EQ 'DV2'.
              SCREEN-INPUT = 1.      " Testing Allowed in Development
            ENDIF.
        ENDCASE.
      ENDIF.
    FORM ZZ_FIELD_ZIA.
      IF VBAK-AUART IN ZZR_AUART.
      ERI related Doc Type  -Hide IA related fields
        SCREEN-ACTIVE = 0.
      ELSE.
        CASE SCREEN-GROUP1.
          WHEN '001'.                             "0902 specific fields
          WHEN '002'.                              "0902 WebCore fields
            IF  VBAK-VKORG NE '0902' AND
                VBAK-VKORG NE '0903' AND
                VBAK-VKORG NE '0917'.
              SCREEN-INPUT = 0.
            ENDIF.
          WHEN '003'.                              "0917 specific fields
            IF VBAK-VKORG NE '0917'.
              SCREEN-INPUT = 0.
            ENDIF.
          WHEN '999'.                             "Generic Fields
            IF VBAK-VKORG EQ '0917' OR
               VBAK-VKORG EQ '0902' OR
               VBAK-VKORG EQ '0903'.

  • Sales Order Addl data B field changes

    Dear friends,
    I have a requirment here to record document changes for a customized field Zlabdip in sales order additional data B.
    The document changes automatically gets recorded for standard SAP fields, how i can add document changes for a Z field.
    Kindly suggest.
    Regards,
    Praveen Lobo

    Hi Praveen,
    Goto dataelemnt of the zfield and in tab' further characteristics' Check the option 'change document'.
    Reddy

  • Sales order item data & sales order schedule data

    Hello,
    I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
    Example of how the data looks now:
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10
    1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15
    2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
    How do I merge the data on the Sales Order number in the cube so it looks like below?
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000
    Many thanks,
    Matt

    > Hello,
    >
    > I have a Sales Orders cube which is pulling data from
    > two DSOs (one for sales order item data and the other
    > for sales order schedule data). The common fields
    > between these two DSOs is the Sales Order number but
    > in my cube I have dual entries for each Sales Order
    > document (item and schedule info).
    >
    Two previous remarks:
    1) If you need to report on very detailed data consider doing an info-set joining both datastores. 2 reasons why:
    - not a good idea to report on very detailed information (sales order, GI dates) on cube level, if you have a scenario with lots of data. You end up with big dimension tables a poor report times;
    - there are better alternatives, like drill-through from cube query to DS query with report to report interface or Datastore-based reporting...so...
    With this solution you do not need to change the data model, I think, but test to be sure. See if the reporting times are acceptable. If not...
    2) First confirm your requirements, because what you show in your example as "to-be" have details that do not make sense, probably..
    - if you have more that one schedule line for each item then you would have many times the item information like material/price;
    - if not or if you could cope with that, then you can consider:
    2.1) create a new DS that agregattes from the previous on, with the same key of sales order item; do you have schedule line kf's? if so you these KF's should be additive in DS update; But if you may have more one scheduled line for 1 item then you have to decide what to do with the GI data (keep the last one posted, use code..) and other characteristics.
    2.2) update the shedule line datasource to the sales order item DS; same comments apply.
    2.3) maintain the missing data in the cube update rules from sheduled lines DS. Using code, refer to the respective item in the order item ODS. You would have to make sure that DS's data are correctly activated before updating the infocube.
    What solutions to choose?
    2.1 is better in terms of flexibility and architecture...because you could re-arrange the new DS to answer future needs, without loosing the 1st line DS's data;
    2.2 choose if data volumes and disk space are a concern...
    or
    2.3 it's OK, but i do not like it because of what explained in point 1...
    Message was edited by:
            Miguel Costa

  • SALE ORDER COMPLETION DATE

    Hi all,
               We are create one sale order in va01N after completion of all process we make a delivery entry in VL01N.We are creat morethan five deliveries.
          Any standard report to see the sale orders completed date
    ie order closed date wise report.
    Regards,
    T.Murugu

    Hi
    You can use Acceptance field at Sales Order item to enter date on which final delivery is made.
    Based on that field, we can create a Z report lisitng Customer, Order Number, and Delivery Date (Maybe more fields based on the business scenario)
    Hope you find it useful.
    Reward points if you do.
    Regards
    Ravi

  • Sale order complection date

    Dear All
    which table stored in sale order complection date
    Thanks and Regards
    Suresh

    You can see the SO complete status in table VBUK-RFSTK filed.
    But i dont think you will get directly teh completion date. What you can do the check for the billing documents of the SO and take final billing doc creation date as SO completion date.
    Anyway plese check with your functional consultant.
    Thanks,

  • Sales orders flow - dates difference

    Dear All,
    I need to build a model for a report which needs to have the days difference between the sales order creation date, delivery date, goods issue date  and billing date. The lowest level of detail should be the Sales Order/Item and one Sales Order/Item can origin different Delivery Items.
    Base on this, i'm wondering how can i model this scenario...
    Do you have any suggestion?
    Thanks in advance and best regards,
    Nuno

    Hi,
    I need to build a model for a report which needs to have the days difference between the
    Sales order creation date,
    Delivery date,
    Goods issue date ,
    Billing date.
    In your question you didn't mension what differences you need
    Eg:
    Sales order creation date - Delivery date
    Goods issue date - Billing date
    Sales order creation date - Billing date
    Delivery date - Goods issue date
    Like what combination you need?.
    Steps:
    Bring all InfoObejcts into Cube and once youn have all required InfoObecjts in your cube then in reporting level you can play like any thing. So first bring all Dates data into Cube. Use 0SD_C03 InfoCube with relavent datasources.
    Then Use Formula Variables with Replacement pathes and then do simple Substractions at reporting level. Your problem is resolved.
    See the below Article how I'm calculating Age of teh Material. Here I'm using Custome Exit Variable to get teh System Data, but in your case you don't need it, you just use Formula Variable with Replcemet Path and replace with Date and then do Substartion.
    Calculating the Ageing of the Materials
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Thanks
    Reddy

  • Sales order schedule date is a (working) day before Scheduled ship date

    In MRP/MPS planning, the forecast consumption is occuring for all sales orders at a date (sales order schedule date) which is always a working day before the Scheduled Ship Date (SSD). What is the logic?
    Time fences are not used.
    E.g. Sales order is scheduled to ship (SSD) on 30th Nov, in forecast set > Forecast items > Consumptiion > Detail, the sales order schedule date is a day before SSD.

    Hi,
    This is a complex issue; best solution is by using APO/GATP.
    If not, then in ERP only, the second best is:
    1) Work with assembly processing in SO, meaning that a production/planned order is automatically created in the customer order during order creation.
    2) Then, after the order is created it is scheduled, and the delivery date proposal is based on that.
    3) Now you can check in the order that there are no capacity overloads, and all capacity required to produce on the proposed date is available. If yes, you're done. If not, it gets a bit complex, since you actualy need to switch to capacity planning, do capacity leveling and dispatch (PP), and the you get a new feasible schedule proposal based on that.
    APO/GATP could do all that automatically!
    Regards,
    Mario

  • Sales Order Item Data & Sales Order Schedule Lines

    Hello,
    I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
    Example of how the data looks now:
    <b>Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . .  Act GI Date</b>
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10  
    1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15  
    2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
    How do I merge the data on the Sales Order number in the cube so it looks like below?
    <b>Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . .  Act GI Date</b>
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000 
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000  
    Many thanks,
    Matt

    Hi Matt,
        Its no possible If you are maintaining data at Order Level.
    Try to introduce one more ODS/DSO in between ODS's and CUBE by keeping Sales Order only key field. Load data from both DSO's in required fields only. Then PUSH delta to CUBE. In this why you can maintain 1 record. Try to compress cube(with delete Zero Record Rows) to delete unnessasary records.
    Hope it Helps
    Srini

  • How to fetch post goods issue date and sales order creation date

    Hi All,
    How to find out the difference between SD Sales Order Item Creation Date and final Post goods issue Date. I would like to know how to fetch those dates and what is the relationship between the tables from which i will get the dates.
    Please let me know the solution .
    Thanks in advance.

    Hi,
    Sales order creation date is when u raise a sales order in favor of the customer using VA01.......using ATP logic system purposes the material availability date....
    after saving ur sales order...when u raise the Delivery using VL01n  w.r.t to OR...than u have to perform picking ....In the picking Tab...specify the amount to be picked than press Post Good Issue....means the goods left the company premises ..
    You can the fetch the values using tables-  Use T code   SE12  or SE16
    Vbak-----order header
    Vbap-----order item
    Vbek-----order schedule line
    Likp-----Delivery header
    Lips----Delivery item

  • Control Sales order Pricing Date with Delivery GI Date

    Is it possible to have a control that ensures the Actual GI date in a delivery is not more than a number of days from the sales order pricing date?

    Hi,
    To have restriction in actual GI date in transaction VL01N . Please find the user exit for VL01N , you can use one which are marked as bold . Kindly take the help of abaper to put the validation or logic as required.
    V02V0001   - Sales area determination for stock transport order 
    V02V0002   - User exit for storage location determination 
    V02V0003   - User exit for gate + matl staging area determination 
    V02V0004   - User Exit for Staging Area Determination (Item) 
    V50PSTAT  - Delivery: Item Status Calculation 
    V50Q0001   - Delivery Monitor: User Exits for Filling Display Fields
    V50R0001    -  Collective processing for delivery creation 
    V50R0002    - Collective processing for delivery creation 
    V50R0004    - Calculation of Stock for POs for Shipping Due Date List
    V50S0001    - User Exits for Delivery Processing 
    V53C0001    - Rough workload calculation in time per item 
    V53C0002    - W&S: RWE enhancement - shipping material type/time slot
    V53W0001   - User exits for creating picking waves 
    VMDE0001  - Shipping Interface: Error Handling - Inbound IDoc 
    VMDE0002  - Shipping Interface: Message PICKSD (Picking, Outbound) 
    VMDE0003  - Shipping Interface: Message SDPICK (Picking, Inbound) 
    VMDE0004  - Shipping Interface: Message SDPACK (Packing, Inbound) 
    Hope this will help you to resolve your issue!!!!
    Regards,
    Krishna O

  • How to do INIT for Sales order Itema Data (DS 2LIS_11_VAITM)

    Hi all
    I have a report on sales order item data, I have to reload it. DS 2LIS_11_VAITM
    Can any of you pls explain me the steps to do the INIT? Refill set up tables etc
    Many Thanks in advance
    Ishi

    Hi Hari
    Many Thanks for the explanation and steps. I deleted set up tables and executed to fill it.
    It says in R/3 Start of Processing, I ticked to continue and its still running.
    In the mean time I checked RSA3 and it says 1007 records selected. I am refreshing it and the no. of records are still the same.
    Can you tell me how long it takes to fill the table?
    And the R/3 system is still running (Start of Processing)
    Thanks again
    Ishi

  • Create a report to show changes in Sales Order Due Dates

    Hello all,
    I've recently started using SAP Business One 8.8 and I want to run a report to show a list of Sales Orders with the original Sales Order Due Date, and the New Date that it has been changed to. What is the best way to create a report to show me this?
    thanks
    Leigh

    Hi Leigh.......
    Try this......
    Select T0.DocNum, Max(T1.UpdateDate) 'Last Update', T0.DocDueDate
    from ADOC T0
    JOIN ADOC T1 on T1.DocNum = T0.DocNum AND T1.ObjType = '17'
    where T0.ObjType = '17'
    Group By T0.DocNum, T0.DocDueDate
    Regards,
    Rahul

Maybe you are looking for

  • Failing all pre-requisite checks for 11.2.0.2.0 RAC on HP-UX Itanium 64

    Hi Guys, For Typical OR Advanced Grid Installation (GUI), all pre-requisites are failing on both nodes, like memory, swap, node reachability, groups, user & lot more..... But when I try to check Pre-requisite from command line, everything seems to be

  • Time out problem in BPS

    BPS friends, We have a planning function to copy Versions based with some filters. The copy function takes 5 hours and times out after that. The function is reaching max buffer size as recommended by SAP so we cant increase the buffer size anymore. W

  • Reference to 1.4.2_06

    I saw a posting in a Java Web Start FAQ about a defect fixed in 1.4.2_06. However, if I go to the download section for J2SE I only find 1.4.2_05. Is the _06 release imminent? Humberto A. Sanchez II

  • HTTP Server + HTTP GET

    Hi, short and simple: i wrote a small HTTP-Server (SocketListener) which is parsing the Request from the Client. i am using GET as transfer method, but for big Requests (>= 1468 chars) not all data arrives at the InputStream. Actually, after 1468 byt

  • Finder-pressing spacebar allows viewing images file, sometimes

    I've been having a problem with Finder. When I press the spacebar on an image file, say a jpg, it allows me to see that photo. When I move up or down on another jpg it shows another picture. But when I try to go back to the previous photo, the image