Geting abort message in VA01.

Hi
I need to validate Usage in the sales tab of a order(Header data).
Validation is to check the partners(National Accts) in the partner tab.
This validation is working fine during change, But in the creation (VA01) it gives an error message if parner is not exits. But after if u press enter it gives abort message saying the line item does not exits.
Pls help me.
How to get rid of this problem.
Thanks and Regards
Harish

#1. you can use if condition to differentiate creates and changes to the sales order
if t180-trtyp eq 'H' - for create (VA01)
or t180-trtyp eq 'H' - for change of sales order (VA02)
#2. read xvbpa and yvbpa internal tables and design your logic around it.
read oss notes # 178328 on how to manipulate X and Y internal tables within MV45AFZZ program.

Similar Messages

  • Where can I download CRX developer edition ? Im geting error message on clicking the Download link

    Where can I download CRX developer edition ? Im geting error message on clicking the Download link.
    Someone pls help me to download CRX.
    Thanks in Advance.

    Hi Jayanth,
    Are you able to down load the develoer version finally?

  • I keep geting error messages when installing iTunrs on my pc.  The message is error 7

    I keep geting error messages when installing iTunrs on my pc.  The message is error 7.  I also get a windows message that says Run time error.  The application has made an attempt to load the C library incorrectley.. Does anyone know how to correct this?

    Solving MSVCR80 issue and Windows iTunes install issues.

  • BPM (blocks) stops for Abort messages

    Hi,
    We are using a RFC to get details from R/3 in a BPM scenario and handled exceptions for this RFC response. Our problem is the error handling behaves well when it has an error or success wherease for an abort messages, the entire process stops with that particular send step with the response from RFC and the does not proceed to the other transformations.
    Could you please help us.
    Thank you

    Are you sure that the Exception raised is catched by the Exception Branch? Do a F7 (check) for your BPM in IR.
    If possible host the screenshot of your BPM (send step and the exception handling part atleast) on some commonly accessible website and provide the link here so that somebody can help you out.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Jun 1, 2010 10:36 PM

  • User exit for change warning message to Error message in va01

    hi,
    I want to change  a warning message to as a Error Message in VA01 t-code,
    how can i proceed for this. where i need to change
    ( without changing standard code)
    thanks in advance.

    *& Report  ZUSEREXIT                                                   *
    report zuserexit no standard page heading.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.

  • Diff between Error,Warning and Abort message

    Hi Friends
    Can any body tell the Diff between Error,Warning and Abort message
    Thanks

    Error - Its the abnormal behaviour which was not expected. Its means the process has been hualted at this point. Unless and untill you resolve this, you can not procedd further.
    Warnings: Its just the effect of a process it may have on other processes. You can continue doing irrespective of the warnings.
    Abort : to terminate a computer processing or data transfer activity.
    Thanks..
    Shambhu

  • Warning and abort message for BAPI_MATERIAL_BOM_GROUP_CREATE

    Hi to all,
    i am creating BOM using FM BAPI_MATERIAL_BOM_GROUP_CREATE , i have passed all necessary parameters, but
    waring and abort message are coming with creating bom for BAPI_MATERIAL_BOM_GROUP_CREATE .
    W BAPI1080             028
    Error/warning when checking the structure of the BOM group with ID=BOMGROUP1
    A BAPI1080             018
    Item ID=BOM1 is not assigned to a variant/alternative
    A BAPI                 001
    No instance of object type BOMGroup has been created. External reference:
    please can any one tell me what will be the soultion for that.
    Regards
    Pavneet Rana
    Edited by: pavneet rana on Aug 23, 2011 6:27 AM

    Thanks for reply ,
    yes i have used that link, and i am using same value , except for matnr and plant.
    but warning and abort message are coming, and no BOM is creating in MAST.
    W BAPI1080             029
    Error when checking the data of the object type=BOM / Id=BOM1 of group Id=BOMGROUP1
    A BAPI                 001
    No instance of object type BOMGroup has been created. External reference:
    please can any one provide me the solution for that.
    code:
    DATA: BOMGROUP  TYPE TABLE OF BAPI1080_BGR_C,
            wa_BOMGROUP LIKE LINE OF  BOMGROUP,
            variant TYPE TABLE OF BAPI1080_BOM_C,
            wa_variant LIKE LINE OF variant,
            ITEM     TYPE TABLE OF BAPI1080_ITM_C,
            WA_ITEM   LIKE LINE OF ITEM,
            MATERIALRELATIONS TYPE TABLE OF BAPI1080_MBM_C,
            WA_MATERIALRELATIONS LIKE LINE OF MATERIALRELATIONS,
            RETURN    TYPE BAPIRET2_T.
    DATA: wa_return LIKE LINE OF RETURN .
    wa_BOMGROUP-BOM_GROUP_IDENTIFICATION = 'BOMGROUP1'.
    wa_BOMGROUP-OBJECT_TYPE = 'BGR'.
    wa_BOMGROUP-OBJECT_ID  = 'BOMGROUP1'  .
    wa_BOMGROUP-TECHNICAL_TYPE = 'M'.
    wa_BOMGROUP-BOM_USAGE  = '1'.
    wa_BOMGROUP-BOM_GROUP = 'BOMGROUP1'  .
    wa_BOMGROUP-CREATED_IN_PLANT = '2000'.
    wa_BOMGROUP-LTXT_LANG = sy-langu .
    wa_BOMGROUP-BOM_TEXT  = 'Created Using BAPI_MATERIAL_BOM_GROUP_CREATE'.
    APPEND wa_BOMGROUP to BOMGROUP.
    VARIANTS
      wa_variant-BOM_GROUP_IDENTIFICATION = 'BOMGROUP1'.
       wa_variant-OBJECT_TYPE   = 'BOM'.  "= 'BGR'. "
      wa_variant-OBJECT_ID  = 'BOM1'  .
       wa_variant-ALTERNATIVE_BOM = '2'.
      wa_variant-BOM_STATUS  =   '1'.
       wa_variant-BASE_QTY  =  '100'.
      wa_variant-BASE_UNIT =  wa_bom_header-BASE_UOM.
       wa_variant-LTXT_LANG = sy-langu .
       WA_VARIANT-LANGU_ISO   = SY-LANGU.
       wa_variant-ALT_TEXT  = 'BAPI_MATERIAL_BOM_GROUP_CREATE'.
      wa_variant-VALID_FROM_DATE = wa_bom_header-VALID_FROM.
       wa_variant-CHANGE_NO = 'ECN1'.
       wa_variant-FUNCTION     = 'NEW'.
       APPEND wa_variant TO VARIANT.
    ITEM
    WA_ITEM-BOM_GROUP_IDENTIFICATION  = 'BOMGROUP1'.
    WA_ITEM-OBJECT_TYPE               = 'ITM'.
    WA_ITEM-OBJECT_ID                 = 'BOM1' .
    *WA_ITEM-ITEM_ID                   = 'BOM1'.
    WA_ITEM-ITEM_NO                   = '0010'.
    WA_ITEM-ITEM_CAT                  = 'L'.
    WA_ITEM-COMPONENT                 =  '300201001'.
    WA_ITEM-COMP_QTY                  = '100'.
    *WA_ITEM-COMP_UNIT                 = 'KGK'.
    WA_ITEM-VALID_FROM_DATE           = SY-DATUM.
    APPEND WA_ITEM TO ITEM.
    MATERIAL
    WA_MATERIALRELATIONS-BOM_GROUP_IDENTIFICATION =  'BOMGROUP1'.
    WA_MATERIALRELATIONS-MATERIAL = '1020007'.  "lv_matnr. "
    WA_MATERIALRELATIONS-PLANT  = '2000'.
    WA_MATERIALRELATIONS-BOM_USAGE  = '1'.
    WA_MATERIALRELATIONS-ALTERNATIVE_BOM  = '2'.
    APPEND WA_MATERIALRELATIONS TO MATERIALRELATIONS.
    data: ITEMASSIGNMENTS TYPE TABLE OF  BAPI1080_REL_ITM_BOM_C,
          wa_ITEMASSIGNMENTS like LINE OF ITEMASSIGNMENTS .
    wa_ITEMASSIGNMENTS-BOM_GROUP_IDENTIFICATION  = 'BOMGROUP1'.
    wa_ITEMASSIGNMENTS-SUB_OBJECT_TYPE = 'ITM'.
    wa_ITEMASSIGNMENTS-SUB_OBJECT_ID = 'BOM1'.
    wa_ITEMASSIGNMENTS-SUPER_OBJECT_TYPE = 'BOM'.
    wa_ITEMASSIGNMENTS-SUPER_OBJECT_ID = 'BOM1'.
    *wa_ITEMASSIGNMENTS-VALID_FROM_DATE
    *wa_ITEMASSIGNMENTS-CHANGE_NO
    wa_ITEMASSIGNMENTS-FUNCTION  = 'NEW'.
    APPEND wa_ITEMASSIGNMENTS to ITEMASSIGNMENTS.
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
        EXPORTING
      TESTRUN                  = ' '
       ALL_ERROR                = 'X'
      TABLES
        bomgroup                 =  BOMGROUP
        variants                 = VARIANT
       ITEMS                    = ITEM
      SUBITEMS                 =
        materialrelations        = MATERIALRELATIONS
       ITEMASSIGNMENTS          = ITEMASSIGNMENTS
      SUBITEMASSIGNMENTS       =
      TEXTS                    =
        return                   = RETURN
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          =
    IMPORTING
      RETURN        =
       ENDIF.
      loop at RETURN INTO wa_return.
      write:/ wa_return-type, wa_return-id, wa_return-number,
      wa_return-message.
    endloop.
    regards
    pavneet rana
    Edited by: pavneet rana on Aug 23, 2011 8:57 AM

  • I pay $3.99 a month for 200gb storage and in my settings it says I have 166gb left, however I keep geting popup messages on my iphone5 that im out of storage and I cant take pictures etc, any suggestions?

    I pay $3.99 a month for 200gb storage and in my settings it says I have 166gb left, however I keep geting popup messages on my iphone5 that im out of storage and I cant take pictures etc, any suggestions?

    The money you are spending is for iCloud storage. The warning you are getting is in reference to storage on the iPhone. You cannot increase the storage on the iPhone except to delete content on the device. If you want to take more pictures, you need to remove some content from the device to create room on the iPhone.

  • Error message behaving like Abort Message

    Hi,
    In my program code , there is a error message written, but when this error message is triggered it is displayed as ABORT message and it is skipping the transaction.
      SORT zt5.
      READ TABLE zt5 INDEX 1.
      IF sy-subrc <> '0'.
        MESSAGE e208 WITH 'No tiene vistas autorizadas'.
      ENDIF.
    Could any one tell the reason why it is happening.
    Regards
    Prasanth Kasturi

    Hi Kasturi,
    if you issue a ERROR message in "PBO/ AT SELECTION-SCREEN OUTPUT it behaves like ABORT message.
    if it is of type "WARNING/INFORMATION then it behaves
    as "SUCCESS message(On the Status BAR)
    Hope this would clear the concept of MESSAGE types. For more info Take F1 Help on MESSAGE Key word
    Cheerz
    Ram

  • MM_ARRANG_GET_TAX_PERCENTAGE iam geting  this message for some tax code lik

    Hi experts
    i need tax percentage , i used this function module
    MM_ARRANG_GET_TAX_PERCENTAGE
    import parameter
         I_MWSKZ  = c1.
         I_BUKRS  = 1000
          I_WAERS  = inr
    iam geting  this message for some tax code like c1 ,t2, t3
    message : Tax code C1 country IN does not exist in procedure ZAXINN
    other taxcodes  v0,v2 s2,s3 are got  percentage, it's proper result.
    please give me  sugession.

    HI Friend,
    Use the Functional module  FI_TAX_GET_CONDITION, this will be used in case ur using the in acsess sequence tax classification (ie A003 table)
    pass the inputs like
    I_BUKRS >> company code
    I_LAND1>> country
    I_KALSM>> tax procedure
    I_MWSKZ>> tax code
    I_TXJCD>> tax juriduction code
    I_KSCHL>> condition type
    I_KTOSL>> transaction
    I_TDATE>> date
    the functional module your using will not give the proper results
    Regards
    Pramod

  • ITP 7613 SigTran Abort message

    Hi all
    I have a question about SigTran message.
    [ Test History ]
    1.     We made M3UA session with SGSN(SigTran)
    2.     We also made a two ASP in an AS
    3.     One of two ASP made an association but other one was not kept an association.
    4.     When we took an Ethereal from our ITP to SGSN(SigTran), we sent ‘Abort’ message to SGSN(SigTan).
    5.     I don’t understand why ITP sent “Abort” message to him?
    6.     The Abort message sent from 172.1.6.100(ITP,local IP) to 172.1.40.14(SGSN remote IP)
    7.     I attached our ‘show tech-support and some log” , Ethereal capture log.
    7.  Actual remote ip addresses:     170.1.40.14     State: inact  çwhy is this displayed “inactive” ?
                                                    172.1.41.14     State: active (effective prim)
                                                     172.1.40.14     State: active çwhy they have a two ?
         8. SLOT 11/1: Feb 24 11:08:49.553: %CS7XUA-4-ASSOCRESTART: Association 0xB101001A for ASP WPS_ASP2 has restarted
                              èwhat does mean of %CS7XUA-4-ASSOCRESTART? This messages display continuously.
                                 How can I solve this error message?
    Please, give me some idea for solve this problem.
    Thank you for your cooperation!
    YONGSIK/MR.AHN

    Hello KGKAPONE
    Try out the steps in the following article to resolve the issue.
    Logic Studio (2009), Logic Express 9: May unexpectedly quit during save, bounce, or quit
    http://support.apple.com/kb/TS3968
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Different message in va01: Defect in ECC6 server while saving the sales order .

    Hi ABAP gurus,
    I am in to upgrade Project In ECC6 server I am getting the different message when saving the sales order in va01 compare to  old sever(4.7) .
    I have to make it to the same message as it is in the 4.7 server.
    plz help me .
    Regards,
    vanamaala kashavena

    Hi,
    IF xvbap-uepos IS INITIAL AND
            xvbap-zzhrs_conf <> 'X'.
            MESSAGE ID 'ZOTC' TYPE 'E' NUMBER '067' WITH
            'Please select Hours Confirmed in Additional data B'(302) 'for item'(303) xvbap-posnr.
          ENDIF.
    this is the code in the  PARTICULAR INCLUDE PROGRAM .
    this is same in both the system ,but in ecc6 server,in message
    popup it is not giving 'Please select Hours Confirmed in Additional data B' .
    it is giving ORDER QTY FORMAT PERIOD (ITEM NUMBER(0010))
    Regards,
    vanamaala k

  • To change the warning message to error message in VA01.

    I want to change the warning message into error message in the standard VA01 transaction..
    The steps I follow :
    order type -->
    enter
    sold to part -->
    ship to party -->
    Purch order no -->
    Req deliv date -->
    Material -->
    Order quantity -->
    SU -->
    enter.
    The warning error dispayed is
    No add. vendor / customer data maint. for 16320340 - please maintain J_1IMOCUST...
    Want to change the above into error so that it shud not go further.

    Hi Arif,
    Click on Save  Icon.
      System will give information: No add. Vendor / Customer data maint. For INJ95C01 -Please maintain J_1IMOCUST.<b> Ignore it.</b>
    Result
    System will calculate Price of the Material creates Schedule Lines and saves the document. System will give a message: Standard Order has been saved.
    <b>**REWARD IF THIS HELPS WITH POINTS**</b>
    Regards
    AK

  • SO items are refreshed after showing error message in VA01

    Dear experts:
    I have a problem in VA01, please kindly help me.
    If we use the expression " message err_msg type 'E' " in userexit_save_document of MV45AFZZ , the system would show pop-up window with message "Item 000010 does not exist", then I can only quit VA01 screen and input SO data again.
    Why the so items are refreshed and how to solve this?Thanks a lot!

    Hi,
    Bcoz you are using Error   ("E") message .if u will use meassage type 'W' or 'I'(information) it will not happend. use any one.
    OR if want only error message u have to use in AT EXIT-COMMAND.
    regds,
    paras

  • Problem after raising an Error message in VA01

    Requirement: I need to raise an error message when a particular item and sold to party combination is not having any live contract.
    What I did: In USEREXIT_MOVE_FIELD_TO_VBED.
    1.     XVBAP having item details
    2.     VBAK structure having header details (I will get sold to party here)
    3.     VAPMA structure having the contract detail if any contract is exist.
    Here I raised an error message and its getting raised properly.
    Problem: Once the error message came I can’t able to clear or delete that line item (in va01 screen), I am getting an error message” No item category is available” only I can go back without saving.
    And I have tried in USEREXIT_MOVE_FIELD_TO_VBAP. Here I am not able to access the contract details from VAPMA (coming as blank)
    Please help me to clear this problem

    Use the form-exit USEREXIT_MOVE_FIELD_TO_VBAP.
    You can retrieve the VAPMA data as:
      SELECT * FROM VAPMA WHERE MATNR = US_MATNR AND
                                VKORG = US_VKORG AND
                                TRVOG = US_TRVOG AND
                                VTWEG = US_VTWEG AND
                                SPART = US_SPART AND
                                KUNNR = US_KUNNR.
    You will find this code in form VAPMA_SELECT in include MV45AFDB_VAPMA_SELECT

Maybe you are looking for

  • Material Ageing Report

    Hi I need the Material Ageing report as the given following requirement 1) Material With GR Date 2) The Ageing will be for 30, 60, 90, 180, 270, 360 3) Material with Normal & Special Stock 4) Material with the Split Valuation If any one have worked o

  • How to open a World Book Notepad document in Lion

    I just tried to open a World Book Notepad document and learned that that program isn't supported in Lion. Any ideas on how I can open the doc? It has some essential information. Jim T

  • Domain Controller resets time ahead one hour on reboot

    I have a Windows 2003 R2 domain controller that is running on a Windows 2012 Hyper-V cluster. Time sync between the host and guest are disabled. The last two times the Domain Controller has been rebooted, time has jumped ahead one hour on the Domain

  • Installing Clamav: configure: error: C compiler cannot create executables

    I want to install clamav-0.93.3 but i keep getting an error at ./configure This server doesn't have access to internet so blastwave isn't an option i think. Here is my config.log This file contains any messages produced by compilers while running con

  • Online Scenarios and offline ?

    Hi , Can you confirm online and offline scenarios are possible in MI . we are having NW 2004s here . online : I want a purchase order number to be checked with the backend instantly? Is this scenario possible  ? Offline : should i replicate the data