Customer : Exception 7 in function module VIEW_KUxxV

Hi,
While Billing facing this problem
00 Customer : Exception 7 in function module VIEW_KUxxV
10 The bill-to party could not be determined
10 The payer could not be determined
tx in advance
Bhushan Kolte

Hello Colleague;
Please check the account group assignment to the partner functions in   
transaction VOPA click on partner function button then environment      
then Account group assignment. Please ensure that this is all configured
correctly for the partners.                                                                               
Please also review the note                                    
-> 80233   Debit-side settlement: Customizing, error messages                                                                               
In particular the section:                                              
VF083: 'Customer &: Exception & in function module VIEW_KUAGV'                                                                               
The error message is generated because of a program error that          
has since been corrected. The correct error message is VP304,           
'Customer belongs to customer group & and thus cannot be the            
sold-to party'.                                                                               
The partner roles in the customer master are incorrectly set, see       
below.                                                                               
Recommendation: Assign the customer an account group which              
already fulfills these criteria. (In the standard system, this is       
Account group '0001).                                                                               
I hope this helps resolve the error.
Regards
Ruy Castro

Similar Messages

  • Customer 9000AAAE : Exception 7 in function module VIEW_KUAG2

    Hi,
    Hi all,
    When I do the intercompany billing for STO (vf01), I got the system message attached below. The customer 9000AAAE is a ship to party and assigned to the ordering plant. It has the partner function SH. So can anybody kindly tell me where is wrong in the custmer master data or somewhere else according to the following message? Or where to find the VIEW_KUAG2? What does it mean?
    Customer 9000AAAE: Exception 7 in function module VIEW_KUAG2
    Diagnosis
    During the attempt to read customer master record 9000AAAE,
    an error occured which is not handled separately.
    System Response
    The billing document for this business transaction was not
    created.
    Procedure
    If the error occured during a background job, you should try
    to create the billing document online. If the error occured
    online, the billing document can be created online. In any
    case, you should check the customer master record. If you
    cannot find any error in the master data, contact SAP.
    Technical data
    Tech. data details
    Client                                                002
    Group Number
    Sales Document Number                  0080100090
    Item Number of the SD Document      000000
    Schedule Line Number                      0083
    Counter in Control Tables                  00
    Message Identification                      VF
    System Message Number                 083
    Output Type                                     E
    Message Variable 01                        9900AAAE
    Message Variable 02
    Message Variable 03                        VIEW_KUAG2
    Message Variable 04
    Group Type                                      F
    In our Intercompany, our ship to party is different from the Sold to, bill to and Payer.  The configuration done as follows -
    a.  Defined Ship to Party as 9000AAAE
    b.  Define Sold to, Bill to, Payer as 9000AAAA
    c.  Assignd Ship to Sold to
    d.  Assigned Ship to customer to plant assignment in STO configuration in MM
    e.  Assigned internal customer of sales organization as 9000AAAA
    Please help in this
    Best Regards
    Goutham

    Hi,
    Thanks for ur reply
    I check the partner determination and the settings are as below -
    a.  Defined new account group for Sold to, Bill to and Payer
    b.  Defined new account group for Ship to
    c.  In the Ship to party account group, system only determine the ship to partner function
    d.  Customer defined in Sold to is assined as interneal customer to sales org
    e.  Customer defined in Ship to is assigned as customer for plant in Shipping data configure for STO in MM Configuration
    Please provide more insights
    Best Regards
    Goutham

  • Exception 7 in function module VIEW_KUAG2

    Hi all,
    When I try to process a Billing document in transaction VF04, has an error message "Customer 12334: Exception 7 in function module VIEW_KUAG2".
    Could you advise me why I receive this message?
    Is it possible that Customer master data it is not maintained propertly?

    Hi,
    When I checked there are only 5 exceptions for this functional module.  By the way which version are you in?  If you want to find out what the exception 7 is then go to SE37 and display this functional module.  There you can find a tab for exceptions.  Based on that you can proceed with changes in the customer master. 
    Its definitely the possibility of not maintaining the customer properly.
    Hope this helps.
    Thanks
    Krishna.

  • How to use Exceptions for a function module

    Hi folks,
            I have created  a new function module.Its working fine, but i am not aware of using exceptions for a function module. I hav just declared an exception in the 'exception' tab. Could any body explain me how to use that in my FM source code....Thanks...

    Hi Shyam,
    Have a look at this,
    START-OF-SELECTION.
      gd_file = p_infile.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = gd_file
          has_field_separator     = 'X'  "file is TAB delimited
        TABLES
          data_tab                = it_record
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
        IF sy-subrc NE 0.
          write: 'Error ', sy-subrc, 'returned from GUI_UPLOAD FM'.
          skip.
        endif.
    Regards,
    Sai

  • Exceptions in the function module

    Hi,
      I declared exceptions in the function module. But those exceptions not trigger in the abap editor.
    Regards
    Srinu

    Hi
    use RAISE EXCEPTION...
    RAISE KEY WORD IT WILL DEFENETELY RAISE THE EXCEPTION..
    REWARD IF IT USE FUL

  • How do we trap exception inside the function module?

    How do we trap exception inside the function module?

    Use ABAP Help - CATCH, RAISE for starters. Or take a look at an existing function module, for example.

  • Exception Raising in Function Module

    Hi,
    I am having a custom function module that calls a standard function module. Custom function module has following exception defined: manufacture unknown.
    Standard function module has enhancement sections that I implement. For a defined condition I have to raise an exception and return from the function module. However, the exception is not defined in function module.
    Standard exception OTHERS is available. Is it possible to raise OTHERS exception from the code? I have tried statement Raise OTHERS. But it has syntax errors.
    Regards,
    Bhavish Bhatia

    Hi,
    If you raise an exception not defined at exception's tab, sy-subrc will be returned with the number of exception OTHERS.
    Just with the sentece:
    RAISE ZEXCEPTION. (Assuming that ZEXCEPTION is not included at exception's tab).
    Regards,
    Pablo.

  • How to create customer By using SD_CUSTOMER_MAINTAIN_ALL function module

    Hello all,
    I want to create customer By passing( T_CUST_HIER_IP - customer no, account group, company code, distribution channel, division, name1, search team, city, country).
    using BAPI or function module I am using SD_CUSTOMER_MAINTAIN_ALL
    LOOP AT T_CUST_HIER_IP INTO W_CUST_HIER_IP.
        MOVE-CORRESPONDING W_CUST_HIER_IP TO W_KNA1.
        MOVE-CORRESPONDING W_CUST_HIER_IP TO W_KNB1.
        MOVE-CORRESPONDING W_CUST_HIER_IP TO W_KNVV.
      CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
       EXPORTING
         I_KNA1                              = W_KNA1
         I_KNB1                              = W_KNB1
         I_KNVV                              = W_KNVV.
    ENDLOOP
    But it gives error SALES_AREA_NOT_VALID.

    Hi,
       Check in TVKO and TVTA  master tables, for Sales Area (Sales OrganizationDistribution ChannelDivision) is vaild or not..
       If no entreis availble , it will raise the exception SALES_AREA_NOT_VALID.
    -somesh
    reward points if it is helpful

  • Uncatchable exception: BSP calling Function Module

    Hi all,
    currently i'm facing a very weird problem. My application class calls function module
    HR_INFOTYPE_OPERATION. Normally, in case of an error, the function module gives you back a return parameter. But if i call it from my BSP, the processing doesn't leave the function module. It directly throws an exception ERROR_MESSAGE_STATE instead of writing the message into parameter return.
    If i call the function module with the same parameters from a report, it works fine and the error message is written to return parameter without throwing an exception.
    What am i doing wrong? I don't want that exception and need to go on with filled parameter result.
    Regards
    Mark-André

    Hi MA,
    try using ERROR_MESSAGE in the exceptions list, like this.
    CALL FUNCTION 'func_name'
         EXPORTING
              string            = text
              pos               = position
         IMPORTING
              string1           = text1
              string2           = text2
         EXCEPTIONS
              string1_too_small = 1
              string2_too_small = 2
              ERROR_MESSAGE     = 3
              OTHERS            = 4.
    Cheers
    Graham Robbo

  • Exception handling in function module

    Hi experts,
    when we write the function module in the report program like "CONVERT_TO_LOCAL_CURRENCY"  if anything goes wrong in this FM the program goes to dump. So how to handling this exceptions.
    if sy-subrc ne 0 then i need to continue with the next statement.  will i need to use continue statement.
    Please expllain with some example

    hello,
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
    EXPORTING
    CLIENT = SY-MANDT
    date = itab-date_of_export
    foreign_amount = dl_kwert
    foreign_currency = itab-waers
    local_currency = c_usd
    IMPORTING
    local_amount = itab-value_of_goods
    EXCEPTIONS  " un-comment these sections
    no_rate_found = 1
    overflow = 2
    no_factors_found = 3
    no_spread_found = 4
    derived_2_times = 5
    OTHERS = 6.
    IF sy-subrc NE 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO  " this is display the system message automatically when ever exp are hit
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    here you can use the  case statement like:
    case sy-subrc.
      when 1.
    write your code what you want to do if no rate found
      when 2.
    what do you want to do in case of overflow.
    *similarly handle all the cases of exceptons
    endcase.
    hope it helps
    regards
    geeta gupta

  • Custom idoc [ related to function module]

    HI ALL,
    sorry for repeating the question
    i had an requirement to create a custom idoc for catsdb table with 4 fields
    1. pernr
    2. workdate
    3. lstar ......
    and to transfer it from one application server to another.i had created it n transfered it to another application server. now my problem is in receiver side the data in idoc is not posted into database of catsdb [ at receiver side].
    can any one give the code for Custom function module at receiver side so that when idoc is received [from sender] it must be updated to databse tables via this FM.
    its very urgent . help me ........................
    any suggestions are highly appreciated.
    with regards,
    Suresh Aluri.

    Hi Suresh,
    In the receiver system you have to :
    1. Create a process code and link with message type using WE42
    2. Create an inbound function module using SE37.
        For example: BAPI_IDOC_INPUT1
    3. Link function module with basic type and message type using WE57
    Regards,
    Hendy

  • CUSTOMER PARTNER INTERCHANGE, BAPI, FUNCTION MODULE or LSMW ??

    Hi Guys,
    I have a requirement to replace a partner with a new partner for a customer.
    Input for the same requirement is, below mentioned data in the format of a file.
    1. Customer No.
    2. Sales Organisation.
    3. Division.
    4. Distribution Channel.
    5. Partner Function to be deleted.
    6. Partner Number to be deleted.
    7. Partner Function to be added.
    8. Partner Number to be added.
    If anyone can suggest anything, Please let me know which one will be best to do this. BAPI, Function Module or LSMW.
    Let me know ASAP.
    Regards,
    Mayank.

    use bdc to tcode vap2
    A.

  • Calling custom screen inside a function module

    This is regarding calling a screen as a pop up from a function module.How do I capture the values that would be entered in the fields of that pop up screen?Do I use ABAP memory or SAP memory or is there any other alternative?Please suggest.

    Hi savitha,
    When you create the Custom Screen, you can attach that custom screen to the main program of the function module itslef.
    The TOP Include variables can be used as screen fields and hence you don't need to store the data entered in the screen, anywhere else.
    The data will be readily available in the global variables itself in the whole function group..
    Thanks and Regards,
    Kunjal Patel

  • Catch the Exceptions of standard Function Module

    Hi Experts,
    I am Using Version 4.6C.
    I am developing an RFC for creation of commitments into the system for this i have used 'FMFR_CREATE_FROM_DATA'  Function Module. But i need to capture the System exception so as to alert the user when it puts in invalid data. However function Module 'FMFR_CREATE_FROM_DATA' is working fine but   I am unable to System Exceptions i have tried using Function Module FORMAT_MESSAGE by importing the system variable into it but my program gets append ever time an system exception raised.
    Can anyone help in getting it fix.

    Hi,
    Which thrid party system you are configuring check the system destinations propely given or not and in third parthy which type error or any message u r getting or not.  Once if it is working find in from R/3 to other it is not RFC problem it may related to u r settings or in third parthy system not set properly.
    contact your basis teams
    Regards
    Ganesh

  • Exception while executing Function module - HRXSS_PER_READ_P0006_US

    Unable to execute any of the following Function modules(ECC 5)
    (Gave the neccesary inputs)
    HRXSS_PER_P0006_US
    HRXSS_PER_DELETE_P0006_US
    HRXSS_PER_EDIT_P0006_US
    HRXSS_PER_MODIFY_P0006_US
    HRXSS_PER_NEW_P0006_US
    HRXSS_PER_READ_P0006_US
    Getting an exception
    Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
    Exceptn CX_SY_REF_IS_INITIAL
    ShrtText
    Access with 'ZERO' object reference not possible.
    What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLHRXSS_PER_MAC" had to be terminated because one of the statements could not be executed.
    This is probably due to an error in the ABAP program.
    Error analysis
    An exception occurred. This exception is dealt with in more detail below . The exception, which is assigned to the class 'CX_SY_REF_IS_INITIAL', was neither caught nor passed along using a RAISING clause, in the procedure "HRXSS_PER_CLEANUP" "(FUNCTION)".
    Since the caller of the procedure could not have expected this exception to occur, the running program was terminated.
    The reason for the exception is:
    There was an attempt to access a component using a 'NULL' object reference (points to nothing).
    An object reference must indicate an object (an instance of a class), before it can be used to access components.
    Either the reference was never set or it was set to 'NULL' using a CLEAR statement.
    Missing RAISING Clause in Interface
    Program SAPLHRXSS_PER_MAC
    Include LHRXSS_PER_MAC$04
    Row 7
    Module type (FUNCTION)
    Module Name HRXSS_PER_CLEANUP
    Trigger Location of Exception
    Program SAPLHRXSS_PER_MAC
    Include LHRXSS_PER_MACU04
    Row 13
    Module type (FUNCTION)
    Module Name HRXSS_PER_CLEANUP
    What could be the reason?
    Regards,
    Sarath

    Hi Sarath,
    The problem is caused by a program error in the CRM system.
    Solution for this is Import the Support Package or implement the correction instructions as specified in note 742720, there are some corrections attached to the note. Hope this will resolve the issue.
    Cheers,
    Shyam.

Maybe you are looking for

  • How can I download a version of iPhoto that will work on OS 10.7.5?

    I tried to upgrade my iPhoto '08 to a newer version, but the new version won't run on OS 10.7.5 and now I cannot open iPhoto. Is there a way to uninstall the recent upgrade or reinstall a version of iPhoto to will work on OS 10.7.5?

  • APE12, burned dvds not recognized, bd-r media does not recognized

    I have a problem with burning with my PE12, I have a win7 64 bit PC, with following BD Burner: HL-DT-ST BD-RE BH16NS40 from LG BD-ROM: iHOS104 Problem 1: ========= All DVDs I burned with PE12 are not recognized on my HiFi BD-Player, ONKYO-BD-SP809 th

  • Itunes quit working.

    I was prompted to update quicktime media player. When i did this it in turn also updated itunes. Ever since the update, itunes wont open. I've tried everything. (even a system restore prior to the update. Nothing works. somebody help!

  • Chart Axis: Label Renderer pixel width

    Am using custom label renderer for Chart Axis labels. CustomLabelRenderer extends label override   public function set data(value:Object):void  if(value is AxisLabel){ dataValue = String(value.text); else{ dataValue = String(value); I would like to g

  • Issues with updating app

    I recently had an update for my Verizon Backup Assistant app, I hit download and put the phone down walked away like I normally do, cam back a few hours later and it still said waiting and the app was transparent. I waited a little bit longer and it