RFUMSV00  DMEE (Tree type: UMS1)

When trying to execute the RFUMSV00 – Advance Return for tax on sales/Purchases we have a problem to generate/create a dmee file. We think that the problem is in the file because we have tried with a standard dmee file and it works fine. Besides, we don't seem to find where the error is since no errors are found when trying to check the file's consistency.
Thanks in advance.

When trying to execute the RFUMSV00 – Advance Return for tax on sales/Purchases we have a problem to generate/create a dmee file. We think that the problem is in the file because we have tried with a standard dmee file and it works fine. Besides, we don't seem to find where the error is since no errors are found when trying to check the file's consistency.
Thanks in advance.

Similar Messages

  • Error copy PS2 Format Tree format in DMEE tree type PAYM

    Hello,
    I need to modify the standar format tree PS2 to Portugal,  I have created a copy using the transaction DMEE.
    I want to change the name of the employee with the number of the employee.
    When I run the standar report to get the bank flat file using the copy format,  I don't understand why the output is different if I only did a copy without modify nothing. 
    Output with standar PS2:
    PS2108000001300000000077041111EUR20111128                    0000000000000000000
    PS22040000019002300200007795300000000278525PERIDO MANUEL     Wage/salary 40000
    PS290540000000000000000000001000000027842500000000000000000000000000000000000000
    Output with copy ZPTPY_FCC_PS2
    :20:0000000001
    :32A:111128EUR2785,25
    :53B:/001300000000077041111
    :57A:00190023
    :59:/001900230020000779530
    :PERICO MANUEL
    :70:WAGE/SALARY 40213025/201111
    Anyone know if it is necessary to do something more after the copy to get the same standar output?
    Thank you
    Ángel

    Hi
    Can you compare between the old and new for the filed Carriage return?
    Under File data tab in DMEE tcode
    If not make them same as earlier
    Reg
    Vishnu

  • DME tree issue

    Hi,
    Can anyone tell me How to debug DME tree?
    Thanks

    Salini,
    As per Suhas  they will be configuring the DMEE Tree Type while defininf the payment Method.Firs check whether this Tree Type is linked to the Payment Method or not.You can check it in FBZP
    FBZP
    Click on Payment methods in Country
    Choose the Country and Payment method
    on double clicking it will take you to details
    choose "Use Payment Medium Workbench" in Payment Medium wherein you can find the format that is tagged to the concerned payment Method.
    Even I learned this from going through the threads in SDN on DMEE.Just check in SDN with the keyword DMEE you can valuable info.
    Kiran.

  • DME tree - Invoice document description(BKPF- BKTXT) for type PAYM

    Hi All
    I need to map document header text(BKPF-BKTXT) to one of target field in DMEE tree. I can't find the field in any of FPAYP, FPAYH, FPAYHX structures . My Assumption was we can't select any other field which are not there in above structures. Please correct me if I am wrong.
    Please let me know how can I get BKPF-BKTXT field value to my target field.
    Thanks

    Hi,
    In DME, you can use the item text SGTXT. If you want  to use specific field to populate and if it is not in standard, then you can use the atom in the mapping procedure. In the atom, with the help of ABAPer you can define the field text to be populate.
    Thanks and Regards
    G.Gopinath

  • Error while activating DMEE tree

    Hi all,
    I have designed a DMEE tree; while I am trying to activate it; I am getting this message;
    Message no. DMEE_ABA214
    Diagnosis
    When you activate a format tree, ABAP source code is generated for test purposes.
    The following error occurred for ABAP keyword IF-ZOPENIN during generation for tree node OPENING_BALANCE:
    The data object "IF" does not have a component cal
    I opened the opening_balance node and changed its corresponding structure element to dec 13,2, while it was curr 13,2; since I was getting the same issue for other nodes. Once I changed it, the error got away for all other nodes, but still persists for the mentioned node.
    Thanks,
    Zahack

    Hi Navin,
    I have actually designed a DMEE tree for the generation of XML file;
    I have made a structure Z_HEADER-OPEN_BALANCE->DEC 13,2
    I have now made a node in dmee tree OPENING_BALANCE, specified length as 16; type as currency and conv func as AL.2.
    Previously, I was getting for some other nodes above this node; after I changed the corresponding structure fields from CURR to DEC; the issue got resolved; so OPENING_BALANCE is one of those fields; which still shows me error.
    Thanks,
    Zahack

  • DMEE Tree Change from flat file to XML

    Hi DMME Gurus,
    We have a custom DMEE tree that generates a flat file.  I need to convert it in such a way that XML will be created.  I could not find this option in Transaction DMEE. Is this possible? Can you please tell how to do this? 
    Or is it correct that I need to create another tree (for XML file) again from scratch? As pop up screen will appear when creating new DMEE tree that will ask you what format you like (flat or XML).  Please advise.
    Thank you.
    Best regards,
    Brando

    HI,
    Possible mention the source Message/Data Type and Target Data Type and Mapping Rules reuired. Then I think it may be useful to give some hints.
    btw , What is the error in Mapping ?
    Regards,
    Moorthy

  • WTRE DMEE Tree Format File For France (Withholding Tax for France)

    Hello,
    I have to implement withholding tax for France on SAP 4.6C environment
    I would like to generate and to send a file to administration
    I ‘m using generic withholding tax program RFIDYYWT but in DMEE tree transaction i see only one format of file : IDWTFILE_UK_CIS36E for withholding tax
    I know that there’s a format of file for France : IDWTFILE_FR_DAS2
    But is it possible to use it with SAP4.6c version ?
    And how can I install this file format for France (steps in customizing , ossnote to apply ?????) 
    Thanks a lot for any answer
    My

    Dear Merlino,
    I have some steps about withholding tax is it suitable or not find out but some scenarios is suitable kindlay check out
    Hi
    Withholding tax is calculated and posted to the appropriate withholding tax accounts at different stages, depending on the legal requirements in each country. As a rule, withholding tax is posted at the same time that the payment is posted, in other words the outgoing payment (Accounts Payable) or incoming payment (Accounts Receivable), is reduced by the withholding tax amount.
    In certain countries, such as Brazil, the Philippines, and Spain, withholding tax can or must be posted when the invoice is posted. This means that the amount receivable or payable is reduced by the withholding tax amount.
    Extended withholding tax supports both concepts.
    The key concept in extended withholding tax is the distinction between withholding tax type and withholding tax code. While withholding tax types represent basic calculation rules, specific features of these rules - in particular the percentage rate -
    are represented by the withholding tax code. You can define any number of withholding tax codes for a given withholding tax type.
    If a particular transaction requires more than one kind of withholding tax, this is covered in the SAP System by defining more than one withholding tax type.
    When entering a line item, you can enter withholding tax data for each of these withholding tax types.
    How To Configure Withholding Tax?
    Steps for extended withholding tax :
    1. Check withholding tax countries
    2. Define Ex. Withholding tax types for invoice postings
    3. Define Ex. Withholding tax codes
    4. Formula for Ex. Withholding tax calculation
    5. Assign Ex. Withholding tax types to Company code
    6. Activate Ex. Withholding tax
    8. Create a G/L a/C for Ex. Withholding tax
    9. Define A/C for Ex. Withholding tax (DBWW)
    10. Make changes in Vendor master (XK02)
    11. Maintain Company Code Settings:
    Path: IMG -> Logistic -> General -> Taxes on goods movement -> India -> Maintain company code settings
    12. Activate country version for specific fiscal year position
    Path: IMG -> FA -> -> **** -> Taxes on sales purchases -> Basic Setting -> India -> Activate country specific for fiscal year position
    http://help.sap.com/saphelp_erp2005/helpdata/en/e5/0780914acd11d182b90000e829fbfe/content.htm
    Hope this helps you
    Prem

  • DME tree

    Hi,
    I've created a DME tree, since I need to create another DME file with same number of fields, only the field contents are different, I tried to copy my tree A to tree B (new), things are copied over, however the node ID are remained the same, when I tried to change the attribute of node in tree B, it would also change the content in tree A.
    How can I create a new tree with reference to the old one?
    Regards,
    Junior

    Hi
    The system comes with a sample format tree for making automatic payments by bank transfer in the form of DME files, based on the file format of the ChoHung bank in South Korea. You can copy format tree KR_CHB and adjust it to fit your own requirements. Refer to the format-tree documentation for KR_CHB for further details.
    Features
    The format tree is designed to work with payment method T (bank transfer) and Payment Medium Workbench (PMW) format KR_CHB, both of which are supplied with the system. Once you create your own format tree, you need to configure your system to work with this payment method and PMW format, as described in SAP Note 881637.
    You then generate the payment media using the Payments program.
    Payments  
    Purpose
    You can use the payment program to process international payment transactions with customers and vendors.
    Information on payment transactions in Euro can be found by choosing "Cross-application components" and then "European Monetary Union", and also in the SAP Library under  European Monetary Union: Euro (CA-EUR)
    Implementation Considerations
    Configuration of the payment program is described in Customizing the Payment Program
    Integration
    The payment program is used by the following components: Accounts Receivable (FI-AR), Accounts Payable (FI-AP), Treasury (TR), and Bank Accounting (FI-BL).
    Features
    The payment program lets you handle both outgoing and incoming payments. It is flexible enough to allow you to define those payment features that vary from country to country such as payment method, payment form, or data carrier specifications.
    The standard system contains the common payment methods and the corresponding forms that have been defined separately for each country.
    The standard payment methods include check, transfer, and bill of exchange. Country-specific payment methods, such as the POR procedure in Switzerland, the bill of exchange payment request, and the PBC procedure have also been defined.
    Other special features include:
    Clearing open items between customers and vendors
    Inter-company payments, that is one company code pays centrally for others
    Paying or clearing any type of open item, for example clearing down payments
    Restricting access to the payment program by assigning authorizations
    Payment Medium Workbench  
    Purpose
    The Payment Medium Workbench (PMW) is a tool used to configure and create payment media sent by organizations to their house banks. This generic tool will gradually phase out the classic payment medium programs (RFFO*) due to the range of advantages that it provides.
    Superior control and verification of payment procedure
    Improved performance with mass payments (> 50,000)
    Better sort functions with payment advice notes
    Clearer to work with than the myriad previous payment medium programs
    Easier to maintain and to extend
    Implementation Considerations
    Before you can use the Payment Medium Workbench, you have to make various settings in Customizing. You can find the relevant activities in Customizing for Financial Accounting, under Accounts Receivable and Accounts Payable ® Business Transactions ® Outgoing Payments ® Automatic Outgoing Payments ® Payment Media ® Make Settings for Payment Medium Formats from Payment Medium Workbench.
    Integration
    The Payment Medium Workbench can be used by several components, for example FI-AP/AR, FI-TV, HR-PY, TR-CM, and TR-TM.
    Features
    The Payment Medium Workbench is embedded in a development environment. You can access all Workbench objects, (program objects, dictionary objects, and mapping tool objects) with a double-click. The Payment Medium Workbench encompasses the following areas:
    Customizing for payment media
    Defining Payment Medium Formats
    Adjusting payment medium formats
    Adjusting the Note to Payee
    Assigning payment medium format and note to payee
    Creating, Assigning, and Transporting Selection Variants
    Creating Payment Media
    Creating payment media without documents in file form
    Output of the created data media into DME administration
    DME administration supports both files stored in the TemSe or the file system, and payment messages like Internet payments (OFX) or IDoc.
    Creation of payment advice notes
    Output of the created payment advice notes as letter, fax, or IDoc
    Creation of an output log (an error log too, if necessary) for each program run of the payment medium program
    Constraints
    At the present time, not all formats that can be created using the classic payment medium programs (RFFO*) are supported. You can display a complete list of available payment medium formats in format definition, or by using input help (in configuration of payment methods in the country, for example).
    Data Medium Exchange Engine  
    Use
    The Data Medium Exchange (DME) Engine enables you to define file formats that meet the requirements of your financial institution. By doing so, you model an externally defined bank format in the SAP system, which allows you to send or receive data in the form of DME files in this format.
    The ability to define these formats in the system is particularly important as there is no worldwide or regional standard format. In some cases, no country standard exists and the file must comply with bank-specific standards. Covering such numerous and varied local format requirements is very difficult in standard software, but the DME Engine now enables you to define your particular local format yourself u2013 without any ABAP programming knowledge or coding. With this Customizing tool, in the form of a graphical editor, you can define new formats flexibly and, as format requirements change, modify existing ones efficiently.
    Integration
    Once you have modeled an external file format as a format tree in the DME Engine, calling applications can use it to:
    ·       Generate an outgoing DME file as a flat file or an XML file
    ·       Convert an incoming DME file to a format that the system can process
    Features
    The system comes complete with predefined format trees, which represent the file format requirements in a number of countries.
    You can also transport format trees to other systems, or alternatively upload and download as XML files.
    I hope this link will help you out.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/43/fb329a295e025be10000000a1553f7/frameset.htm
    Regards
    Odaiah

  • How to create multiple Tree Type Region In Tabular Form ?

    Dear Friends,
    i have to design tabular form to Distribute User Rioght to emp to access application
    eg if i have Three module in application
    1.Administration
    2.Attendance
    3.Accounts
    Module
    1 Administration have 5 Pages A,B,C,D,E.
    Module
    2 Attendance HAVE 4 Pages F,G,H,I
    Module
    3 Accounts HAVE 7 Pages J,K,L,M,N,O,P
    I need these three module divided into three section in tabular form as a tree Type like
    Module 1 Tree Open in Tabular Form like
    - (Tree Mark Open )
    =======================================================
    PAGE_ID-------------SUBPAGE_ID-------VIEW-------------------MODIFY-------------------CREATE----------------------------TABLE COLUMN NAME
    ========================================================          
    Administration-----------A------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Administration-----------B------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Administration-----------C------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Administration-----------D------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Administration-----------E------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    - (Tree Mark Open )
    Module 2 Tree Open in Tabular Form like
    Attendance-----------F------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Attendance-----------G------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Attendance-----------H------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Attendance-----------I------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    - (Tree Mark Open )
    Module 3 Tree Open in Tabular Form like
    Accounts-------------J------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Accounts-------------K------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Accounts-------------L------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Accounts-------------M------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Accounts-------------N------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Accounts-------------O------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Accounts-------------P------------------CHECK bOX------------CHECK BOX-------------CHECK BOXi need divided these three Module in Tabular form in three region as tree.
    Table APPLICATION_PAGE_DETAILS
    ID                   NUMBER
    PAGE_ID             NUMBER
    SUB_PAGE_ID          NUMBER
    ========================
    TABLE USER_RIGHT
    ======================
    ID                  NUMBER
    EMP_ID            NUMBER
    PAGE_ID            NUMBER
    SUB_PAGE_ID        NUMBER
    VIEW                    VARCHAR2(1)
    MODIFY                VARCHAR2(1)
    CREATE                VARCHAR2(1)How to create multiple Tree Type Region In Tabular Form ?
    How can i do this ?
    Thanks
    Edited by: Vedant on Oct 4, 2011 3:21 AM
    Edited by: Vedant on Oct 4, 2011 9:09 PM
    Edited by: Vedant on Oct 13, 2011 8:57 PM

    Well think of it I believe the scenario is too bird viewed hence the solution can't be exact.
    But thinking of a possible solution every time a child operation fails have a catch block where you you go back to system if the parent needs to be deleted if yes, call Delete Method on the parent.
    Note: Make sure that the decision on whether or not the parent record needs to be deleted will depends on the question "Does Parent Record already has several other children associated to it or not"
    Hope this clarifies.
    Regards,
    Messer

  • Sorting a DMEE tree

    I have made a very simple DMEE tree to generate a flat file from program SAPFPAYM. I would like to sort the file by FPAYH-BNKL1 (Bank key) and FPAYH-ZPFAC (PO Box) (which is are not key fields).
    When the file is generated, the entries are not sorted. E.g. BNKL1 value 00035211 occurs several times (se below). It seems like the file is sorted by field FPAYH-LFDNR even though this is not part of the sort fields I have given.
    How can I make sure that the file is actually sorted and grouped by the fields I have entered and not by LFDNR?
    I have set the following in Sort-fields:
    Key field  No sorting  Sequence  Structure  Sort field  Level
        X                  1         FPAYH      BNKL1       1
        X                  2         FPAYH      ZPFAC       2
    My REGUH looks like this (first 8 fields are keys fields- last 2 are not):
    |Run Date  |ID    ||CoCd|Vendor|Customer|Payee     |Payment|Bank Key|PO Box    |
    |24.10.2007|125602||0020|13    |        |3105600000|1      |00035211|3105609992|
    |24.10.2007|125602||0020|16    |        |2106530000|2      |00035211|2106539992|
    |24.10.2007|125602||0020|16    |        |2106530000|3      |01032224|2106539992|
    |24.10.2007|125602||0020|84    |        |2302450001|5      |00035211|2302459991|
    |24.10.2007|125602||0020|84    |        |2302450001|6      |00035211|2302459991|
    |24.10.2007|125602||0020|20440 |        |2512484908|8      |00700460|2512484908|
    |24.10.2007|125602||0020|100031|        |0210679991|9      |00035211|0210679991|
    |24.10.2007|125602||0020|100032|        |0210679991|11     |00035211|0210679991|
    |24.10.2007|125602||0020|100038|        |          |13     |00035211|1509559991|
    This is what is in the file:
    FPAYH-BNKL1:       00035211 
    - FPAYH-ZPFAC:       2302459991 / LFDNR:  13556664
    - FPAYH-ZPFAC:       3105609992 / LFDNR:  13556665
    - FPAYH-ZPFAC:       2106539992 / LFDNR:  13556666
    FPAYH-BNKL1:       01032224 
    - FPAYH-ZPFAC:       2106539992 / LFDNR:  13556667
    FPAYH-BNKL1:       00035211 
    - FPAYH-ZPFAC:       2302459991 / LFDNR:  13556668
    FPAYH-BNKL1:       00700460 
    - FPAYH-ZPFAC:       2512484908 / LFDNR:  13556670
    FPAYH-BNKL1:       00035211 
    - FPAYH-ZPFAC:       0210679991 / LFDNR:  13556671
    - FPAYH-ZPFAC:       1509559991 / LFDNR:  13556675
    I would expect this:
    FPAYH-BNKL1:       00035211 
    - FPAYH-ZPFAC:       0210679991 / LFDNR:  13556671
    - FPAYH-ZPFAC:       1509559991 / LFDNR:  13556675
    - FPAYH-ZPFAC:       2302459991 / LFDNR:  13556664
    - FPAYH-ZPFAC:       2302459991 / LFDNR:  13556668
    - FPAYH-ZPFAC:       3105609992 / LFDNR:  13556665
    - FPAYH-ZPFAC:       2106539992 / LFDNR:  13556666
    FPAYH-BNKL1:       00700460 
    - FPAYH-ZPFAC:       2512484908 / LFDNR:  13556670
    FPAYH-BNKL1:       01032224 
    - FPAYH-ZPFAC:       2106539992 / LFDNR:  13556667
    Rasmus
    Message was edited by:
            Rasmus Feldtmose

    I have now found out that it is crucial how the data is sorted in REGUH before running program SAPFPAYM. Therefore I have to look at the program filling REGU*. But I still don’t understand the purpose with the sorting fields in the Payment medium Format, if the data sorting is already defined in the step before.
    Here is the F1 help text from the sorting field:
    <i>The system sorts data selected by the application program according to the sort fields as they are defined in the format tree. After the data is sorted, it is transferred line by line to the DME Engine, which is used to generate the output file.</i>
    If I understand this correctly, the data will be sorted according to the sort fields BEFORE being transferred to the DMEE engine. Why is this not happening then? Can anyone enlighten me?

  • How to count number of lines in a DMEE Tree

    Hi all,
    My requirement is that in my DMEE tree I have to count entries of line item data(FPAYP). Suppose for entry of FPAYH there are two entries in FPAYP then for first line of FPAYP 1 should be printed and for next line of FPAYP 2 should be printed and so on.
    Can anybody tell me how to do this?
    Regards,
    Azra.

    Well, if you know how to read one line with a Buffered reader, and you know how to keep reading lines until you run out, then all you have to to is initialize a counter to zero before you start reading, add 1 to it each time you read a line, and then examine its value when you're done.
    Try that, and post again if you get stuck.
    Just be careful how you construct your loop. "Off by one" errors are a common way to get bitten. It could happen if you count what you think is the last line, but you've actually already counted all the lines and you end up counting one extra for "there are no more lines".

  • DMEE tree:it's possible to generate more files using one DMEE format tree?

    Hello Expert,
    I have a question and i need you help.
    It's possible to generate two files with one DMEE format tree? If yes, how can i do it?
    Thank you in advance.
    Amal

    In DMEE we define the structure ie the kind of feilds that needs to be populated.As far as my knowledge I think one DMEE tree can be used to create one file FORMAT
    Thanks,
    K.Kiran.

  • UNA Segment Issue in DMEE Tree

    Hi ,  I am creating custom DMEE trees in tcode DMEE . The issue that i have is with the segment UNA.
    The output format they want is UNA:+.? '
    but i dont know how to get this in the output file ,  i mean i am not sure how to create the element for this UNA segment to reflect the value :+.? '      ? If you could help me in creating this segment that would be great!
    Thanks.

    Any help in this would be greatly appreciated!! ..Its very critical ...

  • DMEE tree issue

    Hi ,
    I am facing a issue while  my dmee tree file generation. In generated file , last filed i.e. REGHU-VBLNR (FPAYH-DOC1R offset 4 )
    all of its characters are not coming in file .Only initial 1 character is appearing in the file generated.
    while in debug i am able to see all characters in field DOC1R.
    IN DMEE tree there are total 11 data elements and out of them this one is last .
    Please provide some help on this .
    Thanks
    saurabh
    Edited by: saurabh Asthana on Jul 16, 2010 4:34 PM

    Any help in this would be greatly appreciated!! ..Its very critical ...

  • Urgent : how I get tree type group total result

    hi master
    sir now system give me this type for result
    PARENT ACCID DRBAL CRBAL
    K1
    K11
    11 K1101 46291132
    11 K1102 13182173
    11 K1103 23784045
    11 K1104
    11 K1105
    11 K1106
    11 K1107 10001795
    11 K1108 9083529
    11 K1109
    11 K1110 4224350
    11 K1111
    11 K1112 6696832
    11 K1113 7963381
    11 K1114 742766
    1 K12
    12 K1201 1486082
    12 K1202
    12 K1203
    1 K13
    13 K1301
    1301 K130101
    1301 K130102
    1301 K130103
    1301 K130104 1977616
    1301 K130105
    1301 K130106 736266
    1301 K130107 396673
    1301 K130108 42751
    1301 K130109 298362
    1301 K130110 187696
    1301 K130111 537
    1301 K130112 942
    1301 K130113 987
    1301 K130114 1272
    1301 K130115 40000
    13 K1302
    1302 K130201
    1302 K130202
    1302 K130203
    1302 K130204
    1302 K130205 259941
    13 K1303
    1303 K130301
    1303 K130302
    1303 K130303 177716
    13 K1304
    1304 K130401
    1304 K130402
    1304 K130403
    1304 K130404
    1304 K130405
    1304 K130406 809719
    1304 K130407
    1304 K130408 1786091
    13 K1305
    1305 K130501
    1305 K130502
    13 K1306
    1306 K130601
    13 K1311
    1311 K131101 788780
    K2
    2 K21
    21 K2101
    2101 K210101
    2101 K210104
    21 K2102
    2102 K210201
    2102 K210202
    22 K2205
    2205 K220501
    2205 K220502
    220502 K22050201
    220502 K22050202
    220502 K22050203
    220502 K22050204
    22 K2206
    2206 K220601
    2206 K220602
    but sir i need this type of result
    PARENT ACCID DRBAL CRBAL
    GROUP NAME K1
    GROUP NAME K11
    11 K1101 46291132
    11 K1102 13182173
    11 K1103 23784045
    11 K1104
    11 K1105
    11 K1106
    11 K1107 10001795
    11 K1108 9083529
    11 K1109
    11 K1110 4224350
    11 K1111
    11 K1112 6696832
    11 K1113 7963381
    11 K1114 742766
    TOTAL
    1 K12
    TOTAL
    GROUP NAME
    12 K1201 1486082
    12 K1202
    12 K1203
    TOTAL
    1 K13
    13 K1301
    1301 K130101
    1301 K130102
    1301 K130103
    1301 K130104 1977616
    1301 K130105
    1301 K130106 736266
    1301 K130107 396673
    1301 K130108 42751
    1301 K130109 298362
    1301 K130110 187696
    1301 K130111 537
    1301 K130112 942
    1301 K130113 987
    1301 K130114 1272
    1301 K130115 40000
    13 K1302
    1302 K130201
    1302 K130202
    1302 K130203
    1302 K130204
    1302 K130205 259941
    13 K1303
    1303 K130301
    1303 K130302
    1303 K130303 177716
    13 K1304
    1304 K130401
    1304 K130402
    1304 K130403
    1304 K130404
    1304 K130405
    1304 K130406 809719
    1304 K130407
    1304 K130408 1786091
    13 K1305
    1305 K130501
    1305 K130502
    13 K1306
    Sir I need total group by group father group total and child group total
    Please help me how I get tree type group total result

    Hi master
    thankyou for your reply
    Sir,
    i know and you see my working i get code form master table and get detal amount form other table
    I have two table see table
    Acctab               Baltab
    PARENT           PCID
    CHILD           title
    PCID           amount
    I need heretical result use this type of query but not success
    please see my query and give me idea how I get here full tree
    select test.child,test.pcid,baltab.pcid from (select acctab.child,acctab.parent,acctab.pcid
    from acctab
    start with acctab.parent is null
    connect by prior acctab.child= acctab.parent) test,baltab
    where test.pcid=baltab.pcid ;
    CHILD PCID PCID
    1 1 1
    2 2 2
    3 3 3
    11 111 111
    12 112 112
    13 113 113
    21 221 221
    22 222 222
    23 223 223
    31 331 331
    32 332 332
    33 333 333
    but I need this type result
    CHILD PCID
    1 1
    11 111
    12 112
    13 113
    2 2
    21 221
    22 222
    23 223
    3 3
    31 331
    32 332
    33 333

Maybe you are looking for