SD sapmv45a

Hi All,
I m trying to activate this program after upgrading but i m getting and error message statement not accessible.
I have updated navigation index as well as generated main program for the include but it still gives the same error.
Please suggest some solution.
CONSTANTS: C_5000 TYPE VBAP-ZZ_PREPC VALUE '5000',          "AO01+
           C_SUEB(4) VALUE 'SUEB',                          "AO01+
           C_UMAT(4) VALUE 'UMAT',                          "AO01+
           C_TIME_INITIAL(8) VALUE '  :  :  ',              "AO01+
           C_FUNC_Z_READ_SUP(24) VALUE                      "AOCI+
           'Z_READ_SUP_CHAIN_CUT_OFF',                      "AOCI+
           C_TIME_BLANK(8)  VALUE '        '.               "AO01+
DATA: Z_ERZET LIKE ZD030-ERZET,
      D_MRPPP LIKE MARC-MRPPP,
      D_LOGGR LIKE MARC-LOGGR,
      D_PLIFZ LIKE MARC-PLIFZ,
      C_PLIFZ LIKE MARC-PLIFZ,
      D_LFRHY LIKE MARC-LFRHY,
      D_REFWK LIKE T399D-REFWK,
      D_WKDAY LIKE T439J-WKDAY,
      D_DAY   LIKE SCAL-INDICATOR,
      D_DATUM LIKE SY-DATUM,
      S_DATUM LIKE SY-DATUM,
      D_WERKS LIKE VBAP-WERKS,
      Z_VDATU LIKE VBAK-VDATU,
      D_MESSTYPE,
      D_MESSTEXT(30),
      LIN3    LIKE SY-TABIX,
      D_EXIT.
DATA: BEGIN OF IT_DATES OCCURS 0,
      DATUM LIKE SY-DATUM,
      DAY   LIKE T439J-WKDAY,
      Z_DEL TYPE C,
      END   OF IT_DATES.
DATA: BEGIN OF ERROR_CUT_OFF OCCURS 0,
      ZZ_WERKS LIKE ZZ_PLANTS-ZZ_WERKS,
      ZZ_EKGRP LIKE ZZ_PLANTS-ZZ_EKGRP,
      ZZ_EKORG LIKE ZZ_PLANTS-ZZ_EKORG,
      ZZ_TRTIM LIKE ZZ_PLANTS-ZZ_TRTIM,
      ERZET    LIKE ZZ_PLANTS-ERZET,
      ERROR TYPE C,
      END   OF ERROR_CUT_OFF.
Only Check Cut Offs for Valid Order Types
IF VBAK-AUART NE ZT017-AUART.
  CLEAR ZT017.
  SELECT SINGLE * FROM ZT017
    WHERE AUART = VBAK-AUART.
ENDIF.
it gives the error at first IF statement .
Thanks
ritika
Edited by: ritika red on May 14, 2010 3:53 PM

- In which of these [User Exits In Sales Document Processing|http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm] is the message sent ?
- Also check once again those user exits in SPAU
Regards,
Raymond

Similar Messages

  • Error while creating T code for SAPMV45A

    Hi,
    I am trying to create a t code let us say ZT_VA03 for VA03 i.e. SAPMV45A screen no 102. When I execute this transaction, this gives me error  "NO entry in table T180" . Please suggest what needs to be done to get rid of this.
    Thanks,
    Anuranjan
    Message was edited by: Anuranjan Sharma

    Hi Anuranjan,
    This is actually not so easy.
    Table T180 is a screen sequence control table which is used extensively in SAPMV45A to control which screens it should display and which actions it should take when users click on buttons or select options from the menu.
    One of the keys of this table is transaction code, so when you create a new transaction code ZT_VA03 it will look up the T180 (this is not the only table, there is a sequence of quite a few of them) to determine what it should do when the transaction is first run, and then what it should do for every FCODE the user hits. 
    To remove the error (for the initial call, and also during screen processing), you would need to add entries for every action and screen into T180 (and others).
    This is quite a large task.
    Cheers,
    Brad

  • Runtime error in Standard program "SAPMV45A"

    Hi Expert,
    i am getting problem in BDC , While creating the (sales order) VAO1 ,dump is occurs in standard program SAPMV45A. Because of in FM "Pricing_Dialog_Tabstrips" is incorrect and TAXI_TABSTRIP_C and TAXI_TABSTRIP_ITEM" specified here is a different field type.This is standard program we can not change field type. Kindly provide any OSS notes for this or any other solution.
    STANDARD PROGAM - SAPMV45A
    INCLUDE PROGRAM     - MV45AF0F_FCODE_PKO4
    ERROR  - Runtime Error CALL_FUNCTION_CONFLICT_TYPE has occurred
    Kindly help me, Its very uigent
    Thanks & Regards
    Md.MahaboobKhan

    Hi Archana ,
    Check is there any Inactive Versions in ur Systems ?
    useful tcodes are SPAU /SPDD for tables
    Regards
    prabhu

  • Incoming IDOC Error "No batch input data from the screen SAPMV45A 4001"

    Hello ,
    The Incoming IDOC with Message type 'ORDERS' is triggering the error message "No batch input data from the screen SAPMV45A 4001" with message no 00344 . There is an SAP note 785000 to handle this type of error message which has been already implemented. Still we are encountering few IDOC error's  at the time of sales order creation. The IDOC reaches status 51 throwing the error which is again reprocessed through BD87 .
    We are unable to replicate the similar scenerio in Development & Testing systems as it works fine.
    Can any one kindly advise how to eliminate the error "No batch input data from the screen SAPMV45A 4001" message at the time of Incoming IDOC processing.
    Thanks in advance.
    Best Regards
    Sateesh

    Dear Sateesh
    Check this link where the same topic was discussed
    [ VA01/VA02: batch-input error in IDoc processing|http://www.sapfans.com/forums/viewtopic.php?f=21&t=313032]
    thanks
    G. Lakshmipathi

  • Sale Order Upload: no batch input data for SAPMV45A 4003

    Hi Gurus,
    the error  "no batch input data for SAPMV45A 4003 "  is occuring in every sale order upload created by lsmw or thorugh abap..
    The issue is occuring randomly which means the same upload file produces the error in the different  positions at different time .

    I doubt that it's a random occurance.  4003 is the item container screen, so you are not transitioning properly between tabs or you are still stuck on the item conatainer screen when you are expecting to be back at the main overview screen.  You need to analyze a specific transaction and the data population in 'Display all' mode or just look at the generated BDC transaction from SM35.  That should give you an idea of where the recording code is not as expected.

  • To find error message in the standard program sapmv45a

    Hi friends,
    I have a following senario.
    Iam getting the following error mesage.
    INFO RECORD FOR VENDOR 'ABC' AND MATERIAL '00000678' DOES NOT EXIST.
    now my requirment is i should find from were this error message is being triggered.
    actualy my problem is its in production server i dont have the acess to debug it.
    even i dont have the mesage classs and mesage number also.
    How can i catch this error mesasge from the program code
    ie :  by checking the code of the program SAPMV45A
    Regards
    Priyanka.

    I got that mesage from ME13 tcode.
    now my requirement is
    in the line item i have material number '000000678'.
    now the end user is chaning tht material number ie : he is chaning from '000000678' to ' 000000600'.
    now for the ist material 000000678' the info record is maintained .
    but for the changed material  000000600' the info record is not maintained. so iam getting the error mesage as below.
    INFO RECORD FOR VENDOR 'ABC' AND MATERIAL '000000600' DOES NOT EXIST.
    Now my reuiremnt is i should skip this error mesage even when the material is changed ( ie if the info record is not maintained )  .
    ie :  it sholud allow me to process the flow of va01 tcode
    How can i do that.
    or is there any other solution for that.
    Regards,
    priyanka.

  • Enhancement on save in VA02 SAPMV45A

    Hello,
    Could someone please advise how I can do the following: On a save in VA02, if the billing block field is "approved request" and there are items that have been rejected, then a warning popup appears and I clear the rejected status.
    The environment is Netweaver so I have access to the new enhancement framework. The only problem is i'm not sure how to go about using it.
    Please advise.
    Points awarded to clearly worded help.
    thanks,
    Matt

    Hi Matt,
    You may use the subroutine 'USEREXIT_SAVE_DOCUMENT_PREPARE' which is present in the MV45AFZZ include of the main program SAPMV45A.
    Since it's Netweaver, you will have to use the New Enhancement Framework. Follow the below approach for writing the code.
    1. Go to the include MV45AFZZ and the above mentioned sub routine.
    2. Select Enhancement Operations from the EDIT menu.
    3. To view the enhancement points available, select 'Show Implicit Enhancement options'.
    4. You may then write your code under the Enhancement-Section or in Enhancement Spots.
    Refer to this link for more information on New Enhancement Framework.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9cd334f3-0a01-0010-d884-f56120039915
    Regards,
    Arun

  • Change label of table control column - SAPMV45A Screen 4900

    Hello,
    SAPMV45A / 4900 is the table control in the Sales tab of transaction VA01/02/03 (Sales Order Creation/Change/Display). On this table control there is a field ( RV45A-ETDAT ) with standard label First Date . The date displayed on this column is the first date on the schedule line tab at item level - changing the label of data element ETDAT didn't work for this table control, it seems the label is not taken from ETDAT labels.
    Is there any ehancemement technique that I can use to change ths label?
    Regards,
    Joã

    Hi,
    if you go to SE80 and display screen 4900
    Goto .-> Secondary window -> element list
    if you click on the red option "Dict. Attrib"
    there in "Modified" option you will see that *RV45A-ETDAT has an 'F' value (Text Fixed modified).
    http://help.sap.com/saphelp_nwpi71/helpdata/en/d1/801c47454211d189710000e8322d00/content.htm
    Modified
    The system sets this attribute if it detects a difference between the ABAP Dictionary definition for the field and the way it is used on the screen. You set this attribute if you do not want to copy all field properties from the dictionary definition.
    Best regards.
    Edited by: Pablo Casamayor on Mar 22, 2011 3:55 PM

  • PBO and PA! to Dynpro SAPMV45A 8459 do not execute

    Hi all,
    I found several threads about Dynpro 8459, which contains "Additional Data B" in the sales order. But I have a problem which isn't mentioned earlier.
    My problem ist that I did some coding in the PBO of dynpro 8459, but it isn't executed. When debugging, the PBO of the carrier dynpro 4462 is processed, but the command
    CALL SUBSCREEN KUNDEN-SUBSCREEN_8459 INCLUDING 'SAPMV45A' '8459'.
    doesn't call the PBO module of 8459. Neither works the PAI.
    Did anyone experience this problem, too?
    BTW: I'm talking about R/3 Rel. 4.6C
    Thanks in advance!
    Klaus

    solved it on my own....
    Reason is: subscreen dynpro mustn't be wider then carrier dynpro (81 characters by default)

  • Customer fields - SAPMV45A - VA01 - ECC6

    Hi all,
    We are on ECC6.
    I want to add customer fields to the tab 'additional data B'. I believe you see tha additional data tab because it is there in the program SAPMV45A.
    I tried to implement the Badi 'BADI_SD_TAB_CUST_I' referring to the standard implementation 'WB2_SOGUI_LAYOUT_I' but I dont get an additional tab when i activate my implementation.
    How to add customer fields to the tab 'additional data B' ?
    Thanks.
    Ali

    Hi Peter,
    I have been trying to implement the BAdI 'BADI_SD_TAB_CUST_I '. Supposedly the BAdI is for SAP internal use only and when I create an implementation for it, the implementation is never called.
    The standard implementation in ECC 6 is calling the 'Global Trade' screen and not the 'Additional Data B' tab. So even if i modify the 'Additional Data B' the screen, i dont think i can use the standard implementation of 'BADI_SD_TAB_CUST_I' unless i modify it too.
    To me this sounds like a bug. Modification is not an appropriate solution.
    Any suggestions??
    Thanks
    @li

  • Dump occured in standard program SAPMV45A (order creation)

    hi,
    In order creation, a dump is occured in standard program SAPMV45A. Because of in FM "Pricing_Dialog_Tabstrips" is incorrect and TAXI_TABSTRIP_C and TAXI_TABSTRIP_ITEM" specified here is a different field type.This is standard program we can not change field type. Kindly provide any OSS notes for this or any other solution.
    STANDARD PROGAM - SAPMV45A
    INCLUDE PROGRAM - MV45AF0F_FCODE_PKO4
    ERROR - Runtime Error CALL_FUNCTION_CONFLICT_TYPE has occurred
    Kindly help me, Its very uigent
    thanks in advance.

    hi
    Please note SAP  redesigned the condition screen and it's
    underlaying logic completely starting with release 4.6A.
    Hence you should not use the function codes PKON and KKON any longer.
    Furthermore screen 6201 and all includes stored in program pool SAPMV61A
    are not used by the standard any more. The new condition sub-screen
    is placed in program pool SAPLV69A and triggered by function
    codes KKO1 (= jump into header condition screen) or PKO1 (= jump into
    item condition screen). Further details you can find in the SAP
    note 360942.
    So, In release 470 & above , function code PKON to display the conditions in a
    sales order via VA01, VA02 and VA03 may lead this short dump. To avoid
    this short dump, I recommend you to use the function code PK01 instead
    Hope this helps
    Paul Quinn

  • *Program "SAPMV45A" tried to use screen 0000. The screen does not exist*.

    Dear Experts,
    I have copied a program SAPMV45A (VA01) to ZSAPMV45A and created the transaction ZVA01.
    I have maitained the transaction ZVA01 in V_T180 of SM30 by copying VA01.
    after doing all, when I execute the transaction ZVA01 it will go to the initial screen of create Sales Order after enter the header information like Order Type, Sales Org, Distribution Channel & Division if click Enter it will go to short dump where I am getting the information as shown below
    Program "SAPMV45A" tried to use screen 0000.
    The screen does not exist.
    If any one have an idea please let me know the solution to rectify this problem.
    Thank You,
    Best Regards
    Venkatesh

    Hi
    in transaction VFBS we have....
    Function Codes                            T185F
    Paths between Process. locations  T185
    Processing Locations                    T185V                                         
    Dialogs                                         T185D
    Development Support                     T185E
    Tab Control                                   TAXITABS
    To maintain the Screen Sequence is it enough to fill Dialogs T185D or do I need to fill all all...?
    if so can I maintain the same info for ZSAPMV45A as which is there for the standard profram SAPMV45A ?
    Regards
    Venkatesh

  • SAPMV45A: User-Exit to handle sub item quantity

    Hello,
    In SD sales order (VA01) I create line item 10 with sub item 11 such as:
    10     89464988     1 M
    11     99912001     1 PC     10
    If I change the quantity of main item from 1 to e.g. 2 so the quantity of sub item will also be changed to 2.
    Now, Iu2019m looking for a possibility to hold the quantity of sub item to 1.
    In SAPMV45A I cannot find an appropriated user-exit for that.
    How can I set the quantity to 1 in sub item? What exit can be used for that?
    Thank your for your hints in advance.
    Regards,
    Kurt.

    Hello Kurt,
    in that case you could also try the USEREXIT_CHECK_VBEP. In XVEBP you get the number of the position, that you can read in table xvbap.
    Just but an breakpoint inside the exits and try, which is the best for your case.
    In general, in these old SAPMV45A-Exits you have access to all internal areas and tables that are defined in the program (XBAP, XBEP and so on). That makes it so easy to change - but also so dangerous.
    Regards Wolfgang

  • USER EXIT FOR SAPMV45A

    hi all,
    id like to ask if you have any known user exit that could answer my problem
    i have a routine here that updates message control upon changing of the field werks in the line item.
    however, there are instances when output message is not updated.
    what might cause this problem? what must i do to solve this?
    thanks,
    audi

    SD exits are the "original" exit type....
    look in se80 for the includes of SAPMV45A....there are more than just MV45AFZZ in the exit includes...and these exits are not controlled by CMOD...and they're always turned ON if the code is activated....find the correct subroutine to insert your data....beware of what you put into document save....the save...prepare is the last place where you can actually change something in the SD data.

  • Va01 Calling program sapmv45b instead of sapmv45a

    Hi All,
    I am working on upgrade project from 45b to ecc6. In comparision to 45b system while debugging va01 is calling program sapmv45B instead of sapmv45a.
    I have checked the table t185v is filled with program sapmv45b in ecc6.
    In 4.5B it is sapmv45a.
    I have program which needs to call customer screen.
    call anyone tell me where i can control this flow.
    se93 is fine.
    Thanks alot in advance
    Ritika

    Hi Bijay,
    yes it is "call transaction J4AB". But my question is that do we need to create recording for that.Just giving "call transaction J4AB" is enough??if so, what do we give in perform generate bdc_data.
    If we have to create recording, do we need to ask client for the data. please let me know.
    Thanks,
    Hema.

  • Add Customer Push Button on SAPMV45A/8309 without making core-mod

    Hi, we have added many numerous custom fields on screen SAPMV45A/8309(Additional Data B) and have had no issues.
    We would now like to add a pushbutton on the screen 8309.
    We have added the pushbutton and built the corresponding logic in the PAI which is all working.
    The issue is we are getting the message after executing:
    "Requested function C2C1 is not available here
    Message no. V0104"
    This seems to be saying that we need to add the the function code(C2C1) to a GUI Status.
    But we are unsure which GUI status to add it to, AND we do not want to have to change a core GUI Status (which seems to be K).
    Is there a custom GUI Status that we should be adding it to?
    Any help is appreciated.
    Thanks, David

    Hi Raj, thanks for the reply.  I already had the function code listed in the screen attributes for the pushbutton.  I don't think I am accessing the screen logic out of sequence, but take a look and see if I am missing something.
    My Function Code is 'C2C1' assigned to pushbutton
    In Screen SAPMV45A/8309 in the PAI, I have the following:
    PROCESS AFTER INPUT.
      MODULE ZZUSER_COMMAND_8309.
    And then in MV45AIZZ, I have the following:
    MODULE ZZUSER_COMMAND_8309 INPUT.
      CASE FCODE.
        WHEN 'C2C1'.
          <PROGRAM LOGIC>
          move 'ENT1' to FCODE.   <------new statement
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.
    I tried adding the above statement to "reset" the FCODE to a known FCODE, and I do not get the error anymore.
    Although this now works, I am not convinced that it is the correct solution.
    Any thoughts?

Maybe you are looking for