Idoc - Account Group

Hi All,
I want to bring replicate customer master from one sap system to another.
In one system, the account group is DEBI and in the other the account group should be ZABC. I have entered in settings in BD79 where account group was set to constant ZABC.
After sending the data over, i got this error - Account group in the IDoc is different (Message no. B1 356).
Is there any way I can change account groups?
Thanks.
-Charlene

Hi Tan,
Is the account group ZABC exists in the target system?
=======================================
Can you check the Inbound funtion module => Is there any check towards the account group like if you pass ZABC, the function check whether it is some other(say DEBI) if not set a message 51?
Regards
eswar
Edited by: Eswar Kanakanti on Dec 19, 2008 5:17 AM

Similar Messages

  • Account Groups in the IDoc is different Message no. B1356

    Hi Experts,
    We are setting up CfC using the HCI interface, when we make a change on a customer (Which has been sent from ERP), in CfC, we get an inbound IDoc error in ERP "Account group in IDoc is different":
    Error Message:
    Diagnosis changes cannot be made automatically to the account group of a customer master record. The customer with number 00000XXXXX currently has account group 0020, but the account group 0001 is contained in the intermediate document. Procedure: Please change the account group manually to 0001 and then try to process the intermediate document again.
    The error makes sense since account 00000XXXXX was created in ERP with account group 0020. This was then sent to CfC where we have mapped a lot of account groups e.g. (CRM000 = 0001, CRM000 = 0010, CRM000 = 0020 etc.) When we map more account groups to the same internal account role in CfC (Via. Code list mapping), it is required to have one default outboud meaning that every change to an account will be sent with the role 0001 (If that is the default outbound, in this case it is).
    We are working with multiple account groups comming from ERP, all these account groups are Sold Tos, therefore we need to be able to send data from CfC to ERP, without the IDoc getting stuck in the validation.
    I was told in a CfC training session from SAP, that Sold tos should always be mapped to CRM000, therefore I haven't created different roles for different account groups.
    Do you have any recommendations on this issue? Is it recommended to create new Roles in CfC for every account group (remember that these are all sold tos, so they should work exactly as the standard role CRM000), or do we need to work with somekind of BAdi in inboud for ERP? Any thoughts are ideas?
    Best Regards
    Anders

    for information, I found this note 1914662, I think this will solve the issue.

  • Validation of vendor number vs. Accounting Group

    Hello Experts,
    We are using ESO 5.1 with integration package, connected to an ERP 5.0 backend system.
    I've confirmed an issue when creating a vendor in ESO for publishing to ERP, as E-Sourcing does not validate the vendor number the user is assigning. System only checks if the Accounting group has a internal or external numbering.
    Has anyone encontered this issue before? Any standard solutions for this?
    If so, I'll appreciate if you can share how this issue was solved. Validation script? If so, can anybody share or give me some pointers on how to create it?
    Thanks!
    Regards,
    GG

    I can answer by words of Axel Angeli - top level SAP R/3 consultant and R/3 cross-application development coach, the author of classic book "SAP R/3 Guide to EDI, ALE and Interfaces":
    "SAP R/3 delivers a serious of predefined EDI programs. Many project administrators see them as standards which should not be manipulated or modified. The truth is, that these IDoc processing functions are recommendations and example routines, which can be replaced by own routines in customizing."
    and
    "SAP R/3 is delivered with a series of predefined IDoc types and corresponding handler function modules.
    Some of the handler programs have been designed with user-exits where a developer can implement some data post-processing or add additional information to an IDoc.
    You must always see those programs as examples for IDoc handling. If the programs already do what you want, it is just fine. But you should never stick to those programs too long, if you need different data to be sent."
    So now you can feel free to customize
    Regards,
    Maxim.

  • Can I get  Vendor Account Group & Cost center from PAYEXT Message Type?

    Hi Everybody,
    I am getting all the IDOC's of message type "PAYEXT" fro EDIDC & EDID4 tables. But will these IDOC's will contain Vendor Account Group & Cost Center ? If so could you please let me know the Segment & corresponding fields.
    Thanks & Regards,
    Nagaraju Maddi

    Hi
    You can find the all related IDOC fields in the SDATA field of EDID4 table
    Yhis is a 1000 CHAR field which stores all the Segments data by concatenating into a string
    have to search for the required field by looking into the related segment..
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • EDI: Syntax error in IDoc (mandatory group/segment missing)

    hi EDI/IDoc experts,
    Need you help urgently. According to the requirement, i need populate a segement  E1IDT01 of basic type PEXR2002 . I added the code , then run and generate an idoc , the new segment
    E1IDT01  was populated,  but Syntax error 26 happend. Error message as below.   It also strange that i can see E1IDKU5 populate out as usual, but some others segment disappeared , i am sure that in my code ,i didn't changed any variable related to other segement . how can i fix this problem?
    EDI: Syntax error in IDoc (mandatory group missing)
    Message no. E0079
    Diagnosis
    The segment group E1IDKU5 has the attribute 'Mandatory' in the syntax description of the basic type PEXR2002 (customer enhancement ). However, the segment group is missing in the IDoc. The segment number logged in the status record identifies the item before which the segment group is missing.
    Procedure
    Please check the IDoc or the syntax description of the basic type PEXR2002 (customer enhancement ).

    Hi all,
    Thanks so much for your concern!
    Finally ,this problem has been figured out  .
    Requirement is user want to use segment E1IDT01 in idoc to populate the long text they maintained in accounting document vendor item line (use FB01 to create accounting doc).
    Why I made out " EDI: Syntax error in IDoc (mandatory group/segment missing)" this message out ,because  I didn't fill data correctly. I missed to keep SY-TABIX in momory .
    when we use Function module ,or do..enddo...or read table it_table. we should be careful that SY-TABIX  is changed .So we can't just use MODIFY EDIDD_TABLE INDEX  SY-TABIX  in the last . we should define a local variable to keep  SY-TABIX  in memory and then use it to modify EDIDD_TABLE. 
    Follow is the final code.
    IF SEGMENT_NAME = 'E1IDT01'.
    TABLES :STXL.
    * Define for long text getting
      DATA: LIT_TLINE  LIKE TLINE   OCCURS 0 WITH HEADER LINE.
      DATA: LV_STRING(2000)  TYPE C.                          
      DATA: LV_TDNAME TYPE THEAD-TDNAME,
            LV_ID     TYPE THEAD-TDID     VALUE '0001',
            LV_LANG   TYPE THEAD-TDSPRAS  VALUE 'E' ,
            LV_OBJ    TYPE THEAD-TDOBJECT VALUE 'DOC_ITEM'.
    data:   LV_LINE   TYPE I,                " long Text lines
            LV_LEN    TYPE I,                " long Text length   
            LV_TABIX  LIKE SY-TABIX.                              
    * Clear memory
      CLEAR:LV_TDNAME,
            LV_STRING,                                        
            LV_LINE,                                           
            LIT_TLINE, LIT_TLINE[],                          
            LV_LEN,                                            
            LV_TABIX.                                        
    * Keep sy-tabix memory using a variable--This is the key point
      LV_TABIX = SY-TABIX.
    * Combine TDNAME with company code + accounting doc + fiscal year + item number.
        CONCATENATE  REGUP_DATA-BUKRS REGUP_DATA-BELNR
                     REGUP_DATA-GJAHR REGUP_DATA-BUZEI INTO  LV_TDNAME.
    * When vendor item has long text , read long text into lv_string
        SELECT SINGLE *
          FROM STXL
          WHERE TDOBJECT = LV_OBJ
            AND TDNAME   = LV_TDNAME
            AND TDID     = LV_ID
            AND TDSPRAS  = 'E'.
        IF SY-SUBRC = 0.
          CALL FUNCTION 'READ_TEXT'
            EXPORTING
              CLIENT   = SY-MANDT
              ID       = LV_ID
              LANGUAGE = LV_LANG
              NAME     = LV_TDNAME
              OBJECT   = LV_OBJ
            TABLES
              LINES    = LIT_TLINE.
          IF NOT LIT_TLINE[] IS INITIAL.
            DESCRIBE  TABLE LIT_TLINE LINES LV_LINE.
            DO LV_LINE TIMES.
              READ TABLE LIT_TLINE INDEX SY-INDEX.
              CONCATENATE LV_STRING LIT_TLINE-TDLINE INTO LV_STRING.
            ENDDO.
            LV_LEN = STRLEN( LV_STRING ).
    * Make sure we only need  less than 840 charicters
            IF LV_LEN > 840.
              LV_STRING = LV_STRING+0(840).
              LV_LEN    = 840.
            ENDIF.
    * Populate Vendor item long text with segment E1IDT01 start from
    * Fields TXT03 to TXT14.
             EDIDD_TABLE-SDATA+147(LV_LEN) = LV_STRING.
            MODIFY EDIDD_TABLE INDEX LV_TABIX.
          ENDIF.
        ENDIF.
      ENDIF.

  • Error  in BD12 when setting Account group filter for ZDEBMAS

    Hi ,
    I am getting error "Internal error: Program read table idoc_structure, command data_select_for_block, argument Z1ADRC" when executing the BD12 to send customer of Account group other than 'ZSB' and able to get IDOC for the ZSB account group customers.
    I created object type in BD59 and assigned in BD95. I set the filer in BD64 for object type Account group as 'ZSB'.  
    Please reply if any of you have solved this type of error.
    Thanks & Regards,
    Rajesh Sanapala.

    Hello,
    Can anybody help me on the above issue.
    Thanks ,
    Rajesh.

  • Start Routine to Populate Account Group Field from Master data of 0Customer

    Hello Friends. Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
    Start Routine to Populate Account Group Field from Master data of 0Customer. I do not want to use read from master data functionality since that field 0customer is not there in dso but similar field 0debitor is there. so i want to put this code
    during the load from source DSO to Target DSO.
    Error Explicit length specifications are necessary with types C, P, X, N und
    DATA: L_S_DP_LINE TYPE DATA_PACKAGE_sTRUCTURE.
        types: begin of comp,
         CUSTOMER       type  /BI0/OICUSTOMER,
         ACCNT_GRP          type /BI0/OIACCNT_GRP,
       end of comp.
        DATA: l_S_comp type comp.
        DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer INITIAL SIZE 0.
    IF  L_th_COMP[] IS INITIAL.
    SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING FIELDS OF TABLE L_th_COMP.
    ENDIF.
    LOOP AT SOURCE_PACKAGE INTO L_S_DP_LINE.
    READ TABLE L_TH_COMP INTO L_S_COMP WITH TABLE KEY CUSTOMER = L_s_DP_LINE-CUSTOMER
    IF SY-SUBRC = 0.
    L_S_DP_LINE-/BIC/ACCNT_GRP = L_S_COMP-/BIC/ACCNT_GRP.
    MODIFY SOURCE_PACKAGE FROM L_S_DP_LINE.
    ENDIF.
    ENDLOOP.
    soniya kapoor
    Message was edited by:
            soniya kapoor

    Hello Wond Thanks for Good Answer and good option, But Client does not like this option and does not like Nav Attribute so he does not want to turn on any Nav Attribute, In general also We hav requirement to read a third table while uploading 1 dso table to 2 dso table,
    so  Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
    Start Routine to Populate Account Group Field from Master data of 0Customer.
    No syntax Error But during the load it is updating the source table and not the target table. how to define now target table.
    ***SOURCE DSO Table
    types: begin of typ_tgl1.
        include type /BIC/AZDAFIAR000.
        types: end of typ_tgl1.
        types: begin of comp,
         CUSTOMER       type  /BI0/OICUSTOMER,
         ACCNT_GRP          type /BI0/OIACCNT_GRP,
       end of comp.
    DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer
    INITIAL SIZE 0.
      data: wa_itab type COMP.
        data: wa_zdtg type typ_tgl1.
    IF  L_th_COMP[] IS INITIAL.
    ***Master Data Table
    SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING
    FIELDS OF TABLE L_th_COMP.
    sort L_th_COMP by CUSTOMER.
    ENDIF.
    LOOP AT L_th_COMP into wa_itab.
    select * from /BIC/AZDAFIAR000 into wa_zdtg
                        where DEBITOR  eq wa_itab-CUSTOMER.  *** SOURCE DSO Table
    IF SY-SUBRC = 0.
    wa_zdtg-ACCNT_GRP = wa_itab-ACCNT_GRP.
    MODIFY /BIC/AZDAFIAR000 from wa_zdtg. *** modify SOURCE DSO Table
    ENDIF.
      endselect.
        endloop.
    soniya kapoor

  • Vendor account Group

    Hello SAPians,
    I have a issue with regard to Vendor Account Group,can you please help me with some information
    Issue is:
    User want to change the Vendor account group of some vendor and there are few things need to be changed for TAX year 2012.
    what conditions need to be checked before changing the acc group.
    I checked the present acc group and new acc group,I found there is some diff with Number ranges and the fields in General Data,Company code data,purchasing data ,purchasing sub range & purchasing plant fields.
    And the partner determination procedure is defined for the old Account Group and it is not defined in New acc group.
    so for all these scenarios how I need to proceed further or suggest the user in order to change the account group.Please let me know the compatibility problems other than these.
    Thanks for your information
    Regards
    Varanasi

    Please read the below article,
    [Account group changes|http://wiki.sdn.sap.com/wiki/display/ERPLO/CHANGINGANACCOUNT+GROUP]

  • Vendor report by account group

    Hi,
    Does anyone know the t-code to pull up the vendor list by account group?
    Thanks

    Hi,
    Using SE38 execute the report RFKKVZ00.Select dynamic selections (Shift+F4) and double click on account group and execute the report.
    Regards
    Aravind
    Assign points if useful

  • Account Group wise vendor aging report

    Dear Gurus,
    How can I see vedor account group wise ageing report in a company code?i.e Trade Vendors, Non Trade Vndors wise aging report
    Thanks in adv.
    N.M.B

    Dear Raghavender
    No need to create to variant and all.
    You just go to S_ALR_87012085 then go to dynamic selections. There we can give account group whatever we want.
    If u have any doubts reg. this pls ask me
    Bye
    Murali

  • Terms of payment made optional in account group configuration of customer

    Hi Experts,
    I have made terms of payment optional in account group configuration of customer master for one time customer but it is showing me mandatory  when I am creating or changing customer.
    Is any body has any idea why this is happening?
    Thanks
    Krushnakumar Rathi

    Hi
    Select the Relevant account group
    Double Click on the Company Code data under Field status you will get another screen
    In that Screen Double click on the Payment Transactions under selection group and check the field "terms of payment" is Required entry or optional entry , mention Optional Entry
    Same as Double Click on the Sales data under Field status you will get another screen
    In that Screen Double click on the Billing under selection group and check the field "terms of payment" is Required entry or optional entry , mention Optional Entry
    Regards,
    Prasanna

  • Reg.Account group creation in for FS00

    Dear Alll
    I try to create PR in our ides system all entries I done and after entering the sale order ask for GL account number,if I give the GL account which I created(in FP01) telling the same error 'GL account not yet created'. Let it be one side
    In FS00 while creating the GL account If I select the account group which I created recently that is not come,how to bright to here at Account group in FS00.
    Please help in this matter.
    Thanks
    S.K Rajakumar

    Hi,
    So In FS00 ,while creating the GL account you are not getting  account group you created recently .Check your company code assigned to chat of account in t.code OB62 ( also check chart of account in t.code: OB13)and check in T.code: OBD4 , assignment of G/L account group, chart of account and its number ranges, If not assigned, assign it.
    Now try creating G/L in FS00
    Note: Close your all threads, if answered.
    Regards,
    Biju K

  • Change customer Account Group

    Hi Experts,
    We have two different account groups with different number Ranges. When i try to change the customer account group from one to other through XD07 system given the following warning message.
    Customer 600021 not in External Sold-to-Party
    - number range 0000100001-0000199999
    Message number F2691
    We have tried to change this warning message in to Error message through OBMSG and OBA5
    after that also system showing warning message.
    Where we do mistake? is there any other process to do the changing message?

    Hi,
    If You are trying to change the account group of a customer whose partner function is Sold-to-party.
    Changes to the account group and the relevent partner functions only made from lower level to higher level.
    Example:
    Sold-to-party cannot be assigned the function of a payer(Higher level to lower level) because you are trying to change the higher level partner function.
    Your can assign sold-to-party function to a payer (Lower level to higher level) because you are trying to change lower level partner function.
    Regards,
    Krishna Kishore

  • Change customer / vendor account group

    Hi,
    I want to change the account group of a vendor. I tried XK07, but I then get a message about "Critical field groups" that would be switched off in the new target account group and then SAP doesn't let me change the account group.
    The "critical field groups", however, are not critical to me at all and they are not relevant to my vendor master account. Does anyone know how to proceed in this case and if it's still possible to change the account group?
    Thanks in advance.
    René

    Hi Henri,
    I have the following field switched off:
    A    D110A    Address    002    Form of address
                                                    052    c/o name
                                                    058    Buildings
                                                    059    Floor
                                                    060    Room number
                                                    078    Delivery district
                                                    102    P.O. box without number
                                                    107    Undeliverable Street
    A    D110A    Address    108    Undeliverable Postbox
    A    D120    Control        021    International location number
                                                    026    Existing quality assur.systems
                                                    037    Reference account group (OTA)
                                                    045    Carrier details
                                                    046    Transport statistics
                                                    055    Business Place
                                                    067    Tax categories
    A    D120    Control        106    Proof of delivery
                                                110    Procurement Monitoring
    A    D130    Payment transactions    033    Alternative payee in document
                                                    035    ISR Subscriber Number
    Could you provide me with the correct code to change this account??
    Thanks

  • Changing Vendor Account group

    If the account group was set up incorrectly and did not get noticed until there was master data against the account- what can be done to correct the situation?
    Thanks
    raj

    Hello Rajendra,
    You wanted to know what to do so I replied accordingly.
    btw, the Account groups determine:
    - The type of number assignment (So if the new account group has the same number then I dont think it will impact),
    - A number range for assigning account numbers
    - Which fields are displayed and whether their entry is optional or required (field status) when you enter or change vendor master data (You need to take care for manatory field for new account group).
    - Whether the account is for one-time vendors (I dont think it will get affect)
    Rest of the thing will be fine.
    Try to change it and see if it throws error for any data inconsistancy.
    Hope this helps.
    Regards
    Arif Mansuri

Maybe you are looking for