Repeating records for element values

Hi,
Need to get element input values,i have used pay_element_entry_values table to get he screen inpout value.Used the effective date to filter,still 2 records are fetched.
E.g query
SELECT DISTINCT papf.national_identifier, papf.employee_number,
papf.full_name, paaf.payroll_id, pop.org_payment_method_name,
pap.payroll_name,
(SELECT SUM (screen_entry_value)
FROM pay_element_entry_values_f
WHERE element_entry_id(+) = pee.element_entry_id
AND pee.element_type_id = '314') basic
FROM per_all_people_f papf,
per_all_assignments_f paaf,
pay_org_payment_methods_f_tl pop,
pay_personal_payment_methods_f ppp,
pay_assignment_actions_v paa,
pay_all_payrolls_f pap, --pay_element_links_f pel,
pay_element_entries_f pee,
pay_element_types_f pet,
pay_element_entry_values_f peev
WHERE papf.person_id = paaf.person_id
AND paaf.assignment_id = ppp.assignment_id
AND ppp.org_payment_method_id = pop.org_payment_method_id
AND paaf.assignment_type = 'E'
AND paaf.effective_end_date = '31-Dec-4712'
AND paaf.assignment_id = paa.assignment_id
AND paaf.payroll_id = pap.payroll_id
AND paaf.assignment_id = pee.assignment_id
AND pet.element_type_id = pee.element_type_id
AND peev.element_entry_id(+) = pee.element_entry_id
AND paa.effective_date >=
TO_DATE ('01-' || :p_start_date,
'DD-MON-YYYY')
AND paa.effective_date <=
LAST_DAY (TO_DATE ('01-' || :p_start_date, 'DD-MON-YYYY'))
AND peev.effective_start_date <=
TO_DATE ('01-' || :p_start_date,
'DD-MON-YYYY')
AND peev.effective_start_date <=
LAST_DAY (TO_DATE ('01-' || :p_start_date, 'DD-MON-YYYY'))
GROUP BY papf.national_identifier,
papf.employee_number,
papf.full_name,
paaf.payroll_id,
pop.org_payment_method_name,
pap.payroll_name,
paaf.person_id,
pee.element_entry_id,
pee.element_type_id
i get one saved entry values with a null value.Please advice.
Regards,
GD

It's not completely clear what you want.
Are you talking about needing to repeat parameters in your query?
e.g.
procedure myroc (p_val1 in varchar2, p_val2 in varchar2 := null, p_val3 in varchar2 := null, p_val4 in varchar2 := null) is
-- assume at least 1 value is passed in
SELECT   DISTINCT DECODE (MD.MDFR_CODE,p_val1,NVL (MD.MDFR_CODE, 0),
                          p_val2,NVL (MD.MDFR_CODE, 0),
                          p_val3,NVL (MD.MDFR_CODE, 0),
                          p_val4,NVL (MD.MDFR_CODE, 0))             AS MDFR_CODE
  FROM   MODIFIER MD, MODIFIER_STATUS MS
WHERE       MD.MDFR_CODE IN (p_val1, coalesce(p_val2,p_val1), coalesce(p_val3,p_val1), coalesce(p_val4,p_val1))
         AND MD.MDFR_CODE = MS.MDFR_CODE
         AND MS.OPRTNL_FLAG = 'A';
...

Similar Messages

  • I can't build an xsd for a flat file (txt) to handle repeating records

    Hi - have looked at many posts around flat file schema and they don't seem to address my question.
    I have a flat file that is \n delimited
    the pattern of the data is simple:
    record1 - 90 characters
    record2 - 20 characters
    record3 - n 248 characters - each of these records is parsed into children by the positional method
    record n+1 10 characters
    record n+2 20 characters
    so I used the flat file schema generator to generate the schema and built a map mapping the flat file schema to another xml schema. The schema looks ok - record1, record2, record n+1, record n+2 are child elements of the root. the repeating record
    section is showing up as a node with the parsed children.
    The transform is only mapping the children of the repeating records. When I test the map only the first repeating record gets parsed. No repeating happens (the actual flat file has 400+ repeating records). When I run the map in debug mode, the input
    xml shows that record1 is read in correctly, record2 is read in correctly, record3 is read in and parsed and record4 is treated like record n+1 and record5 is treated like record n+2 and the map thinks it's all finished.
    the section of the repeat part of the schema is and you can see that I set the minOccurs=1 and maxOccurs=unbounded for the node (INVOICE) and the complexType but this is not an affective syntax. I have looked at how the EDI X12 schema look and how they handle
    looping and it is a lot different than what the Flat File schema wizard is doing. Is there a good set of rules published that would guide me though this? otherwise I will basically have to read in the lines from the file and parse them out with functoids -
    seems so inelegant. Thanks in advance.
    <xs:element minOccurs="1" maxOccurs="unbounded" name="INVOICE">
              <xs:annotation>
                <xs:appinfo>
                  <b:recordInfo structure="positional" sequence_number="3" preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false"
    />
                </xs:appinfo>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence minOccurs="1" maxOccurs="unbounded">
                  <xs:annotation>
                    <xs:appinfo>
                      <groupInfo sequence_number="0" xmlns="http://schemas.microsoft.com/BizTalk/2003"
    />
                    </xs:appinfo>
                  </xs:annotation>
                  <xs:element name="SegmentType" type="xs:string">
                    <xs:annotation>
                      <xs:appinfo>
                        <b:fieldInfo justification="left" pos_offset="0" pos_length="2" sequence_number="1" />
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:element>....... more children elements
    Harold Rosenkrans

    Thanks for responding
    I gave up trying to parse the repeating record into fields. Instead I just loop through the repeating record section with an <xs:for-each> block in the xsl and use functoids to grab the fields.
    So that works for having the two, shorter header records (structure is positional) before the section of repeating records. Now I just have to figure out how to get the schema to handle the two, shorter trailer (or footer, whatever you prefer) records after
    the section of repeating records
    the error I get in VS when I test the map is [BTW I changed the element names in the schema which is why you don't see INVOICE in the error]
    When I declare the last element as being positional with a character length of 10 I get the error:
    Error 18 Native Parsing Error: Unexpected end of stream while looking for:
    '\r\n'
    The current definition being parsed is SAPARData. The stream offset where the error occured is 1359. The line number where the error occured is 9. The column where the error occured is 0. 
    so the first record is 77 char in length and the second is 16 char and then the repeating records (5 in the file) are 248 char and the last record is 10 char
    so an offset of 1359 puts it beyond the last record by 16 characters - so the stream reader is looking for the next repeating record.
    if I try to declare the last element as delimited I get the error:
    Error 14 Native Parsing Error: Unexpected data found while looking for:
    '\r\n'
    The current definition being parsed is SAPARData. The stream offset where the error occured is 597. The line number where the error occured is 5. The column where the error occured is 0. 
    so the first record is 77 char in length and the second is 16 char and then the repeating records are 248 char.
    a stream offset of 597 puts me 8 characters into the third repeating record - at this point I have only declared one trailer record in the  schema, 10 characters long.
    Why is stream reader stopping at such a weird spot?
    The bottom line is I still haven't discovered the correct schema to handle the trailer records. even if I set the maxOccurs="4" (for the repeat record declaration) it still gets the first error. How does it find an unexpected end of stream looking
    for \r\n when the maxOccurs for the repeat record declaration should have the stream pointer in the 5th repeat record.
    I unfortunately don't have any options concerning the file structure.
    I have read a lot of posts concerning the trailer issue. I have seen a couple that looked interesting. I guess I'll just have to give them a try. The other option is to create a custom pipeline that will only take file lines of 248 characters.
    That's just disgusting !
    Harold Rosenkrans

  • I am facing error while running Quickpay in Fusion payroll that "The input value Periodicity is missing for element type KGOC_Unpaid_Absence_Amount. Enter a valid input value". Any idea?

    I am facing error while running Quickpay in Fusion payroll that "The input value Periodicity is missing for element type KGOC_Unpaid_Absence_Amount. Enter a valid input value". Any idea?

    This is most probably because the Periodicity input value has been configured as "Required" and no value has been input for it.
    Please enter a value and try to re-run Quick Pay.

  • Multiple records to be created for multiple values in a field

    I am having a requirement in which i will have multiple values for a field.The values are seperated by commas.I need a record to be created for each value.(eg: if there are 4 values i need 4 records to be created). Any one please help me out.

    Hi !
    You can try solve it at File Content Conversion level, by specifing your value separator as the endSeparator.
    Or you can import all values as a unique record and then solve it via graphical mapping, using an advanced UDF, where you receive N records, then inside the UDF, you split the values via its separator and create new array values (one for each input value after splitting) and output that array to be used to fill destination structure.
    Regards,
    Matias.

  • How to search for value records for a specific period of time?

    Hi,
    I am building an application where I need to use BDB to store tons of call records.
    In the call records, I have the following fields:
    1. from-caller
    2. to-caller
    3. begin-time
    4. end-time
    5. account-code
    6. user-code
    I want to use end-time's microsecond representation to serve as the Key.
    So, how can I do the following data lookup?
    1. Search for all Value records between 2009-10-11 to now()
    2. Search for all Value records between 2009-10-11 to now() with account-code = 100
    3. Search for all Value records between 2009-10-11 to now() with account-code = 100 and user-code=10
    Is there any similar examples out there that I can refer to?
    Thanks,
    JB

    Hi,
    Btw, my operation is mostly:
    1. Append call records
    2. Search call records
    3. Remove ending records that are older than XX days
    Please kindly advise on how I should best structure the data to meet this purpose.
    Thanks,
    JB

  • After doing the recording for transaction fpcj, the values are not being se

    after doing the recording for transaction fpcj, the values are not being sent to the g/l.

    HI,
      When you are recording.. you might be creating the values... ensure that they are updated into the GL before u write program. I doubt you might have missed the save ..
    Thanks
    Mahesh

  • Pb for printing elements values

    This modified sample code for printing elements values doesn't seems to work ?
    an idea ? VALUE is always empty !
    -- prints elements in a document
    procedure printElements(doc xmldom.DOMDocument) is
    nl xmldom.DOMNodeList;
    len number;
    n xmldom.DOMNode;
    begin
    -- get all elements
    nl := xmldom.getElementsByTagName(doc, '*');
    len := xmldom.getLength(nl);
    -- loop through elements
    for i in 0..len-1 loop
    n := xmldom.item(nl, i);
    dbms_output.put_line('TAG ' &#0124; &#0124; xmldom.getNodeName(n));
    dbms_output.put_line('VALUE ' &#0124; &#0124; xmldom.getNodeValue(n)); -- Added line
    end loop;
    dbms_output.put_line('');
    end printElements;
    null

    getNodeValue() for elements will always be null since elements do not have a node value.
    Attribute nodes have a value <foo attr="yes"/>
    Text nodes have a value.
    Comment nodes have a value.
    PI nodes have a value.
    So, where you are asking for the
    value of an element, you likely
    intend to be getting the
    value of the Text node child
    of that element as in:
    <foo>Some Value</foo>
    The <foo> element has no value, but
    it has a Text-Node child with
    a value of "Some Value"

  • OpenScript fails to record AJAX element for load testing

    OpenScript 12.2.0.1 is failing to record AJAX element for load testing.
    After I press a button a text box should appear in another part of the screen.
    What can I do in this case?

    Hi,
    I think your password is encrypted. Try replace password "a99fad1866af01d9375627d5d08d7f1c11ed4d3f6d5d2372d40908884a15b8e6" with your password.
    Or Get output of obfuscate("your password") and replace "a99fad1866af01d9375627d5d08d7f1c11ed4d3f6d5d2372d40908884a15b8e6" with {{@deobfuscate( output of obfuscate("your password") )}}
    Regards,
    Deepu M

  • Repeating a group element on each page of a report.

    I have a report where I need to repeat a group element on each page. The element is from the first group in the data. It is in the center group. Currently, the values from this group only print when the group changes. Everything I try does not work. Does anyone have any ideas. I am attaching a sample of the data. Along with the rtf document. I am using the BI Publisher plug in in Word to create the template.
    Data
    <?xml version="1.0" encoding="UTF-8"?>
    <POLLEDTICKETRPT>
    <USERCD>klockhar</USERCD><POLLDATE>03/24/2009</POLLDATE>
    <LIST_CENTER>
    <CENTER>
    <CENTER_CD>0039</CENTER_CD>
    <CENTER_NAME>CROSS PLAINS QUARRY</CENTER_NAME>
    <LIST_TRANSDATE>
    <TRANSDATE>
    <TRANS_DATE>03/11/2009</TRANS_DATE>
    <LIST_CUSTOMER>
    <CUSTOMER>
    <CUSTOMER_NBR>33221477</CUSTOMER_NBR>
    <CUST_NAME>TDOT DISTRICT 32-GALLATIN</CUST_NAME>
    <LIST_JOB>
    <JOB>
    <JOB_CUST>33221477</JOB_CUST>
    <JOB_CUST_NAME>TDOT DISTRICT 32-GALLATIN</JOB_CUST_NAME>
    <RGI_JOB_NBR>2008</RGI_JOB_NBR>
    <QUOTE_ID>0</QUOTE_ID>
    <LIST_COSTCODE>
    <COSTCODE>
    <COSTCODING/>
    <COST_CNTR/>
    <COST_ACCT/>
    <PROJECT_NBR/>
    <PROJECT_TASK/>
    <LIST_TICKET>
    <TICKET>
    <TICKET_NBR>5000021</TICKET_NBR>
    <ORIGIN_CD>TSCC</ORIGIN_CD>
    <REFERENCE_NBR>254510</REFERENCE_NBR>
    <VOID_IND>N</VOID_IND>
    <STATE_CD>TN</STATE_CD>
    <MEASURE_SYSTEM>S</MEASURE_SYSTEM>
    <LOCATION>THANK YOU</LOCATION>
    <PO_NBR>POS-254510-C</PO_NBR>
    <TAX_CODE>4</TAX_CODE>
    <PRODUCT_CD>000003</PRODUCT_CD>
    <HAUL_ZONE_CD/>
    <INVENTORY_STATUS>PR</INVENTORY_STATUS>
    <HAULER_NBR/>
    <RGI_TRANSPORT_CD>FU96</RGI_TRANSPORT_CD>
    <HAUL_RATE> .00</HAUL_RATE>
    <MAT_RATE> 8.50</MAT_RATE>
    <NET_TONS> -7.96</NET_TONS>
    <MAT_SALES_AMT> -67.66</MAT_SALES_AMT>
    <HAUL_AMT>0</HAUL_AMT>
    <TAX_AMT>0</TAX_AMT>
    <SEV_TAX_AMT>0</SEV_TAX_AMT>
    <SEV_TAX_IND>N</SEV_TAX_IND>
    <VALID_NET_TONS> -7.96</VALID_NET_TONS>
    <VALID_SALES_AMT> -67.66</VALID_SALES_AMT>
    <VALID_HAUL_AMT> .00</VALID_HAUL_AMT>
    <VALID_TAX_AMT> .00</VALID_TAX_AMT>
    <VALID_SEV_TAX_AMT> .00</VALID_SEV_TAX_AMT>
    <CASH_TONS> .00</CASH_TONS>
    <CASH_SALES_AMT> .00</CASH_SALES_AMT>
    <CASH_TAX_AMT> .00</CASH_TAX_AMT>
    <CASH_SEVTAX_AMT> .00</CASH_SEVTAX_AMT>
    <CASH_HAUL_AMT> .00</CASH_HAUL_AMT>
    <TRADE_TONS> -7.96</TRADE_TONS>
    <TRADE_SALES_AMT> -67.66</TRADE_SALES_AMT>
    <TRADE_TAX_AMT> .00</TRADE_TAX_AMT>
    <TRADE_SEVTAX_AMT> .00</TRADE_SEVTAX_AMT>
    <TRADE_HAUL_AMT> .00</TRADE_HAUL_AMT>
    <INTRA_TONS> .00</INTRA_TONS>
    <INTRA_SALES_AMT> .00</INTRA_SALES_AMT>
    <INTRA_TAX_AMT> .00</INTRA_TAX_AMT>
    <INTRA_SEVTAX_AMT> .00</INTRA_SEVTAX_AMT>
    <INTRA_HAUL_AMT> .00</INTRA_HAUL_AMT>
    <INTER_TONS> .00</INTER_TONS>
    <INTER_SALES_AMT> .00</INTER_SALES_AMT>
    <INTER_TAX_AMT> .00</INTER_TAX_AMT>
    <INTER_SEVTAX_AMT> .00</INTER_SEVTAX_AMT>
    <INTER_HAUL_AMT> .00</INTER_HAUL_AMT>
    <CASH_PR_TONS> .00</CASH_PR_TONS>
    <CASH_NP_TONS> .00</CASH_NP_TONS>
    <CASH_MI_TONS> .00</CASH_MI_TONS>
    <TRADE_PR_TONS> -7.96</TRADE_PR_TONS>
    <TRADE_NP_TONS> .00</TRADE_NP_TONS>
    <TRADE_MI_TONS> .00</TRADE_MI_TONS>
    <INTER_PR_TONS> .00</INTER_PR_TONS>
    <INTER_NP_TONS> .00</INTER_NP_TONS>
    <INTER_MI_TONS> .00</INTER_MI_TONS>
    <INTRA_PR_TONS> .00</INTRA_PR_TONS>
    <INTRA_NP_TONS> .00</INTRA_NP_TONS>
    <INTRA_MI_TONS> .00</INTRA_MI_TONS>
    </TICKET>
    </LIST_TICKET>
    </COSTCODE>
    </LIST_COSTCODE>
    </JOB>
    </LIST_JOB>
    </CUSTOMER>
    </LIST_CUSTOMER>
    </TRANSDATE>
    RTF Template
    DISPLAY CENTER
    S M
    FOR EACH CENTER
    SET CENTER
    CENTER: CENTER_CD CENTER_NAME
    FOR EACH TRANSDATE
    TRANSACTION DATE: TRANS_DATE
    FOR EACH CUSTOMER
    FOR EACH JOB
    Customer: JOB_CUST JOB_CUST_NAME
    Job: RGI_JOB_NBR Quote Id: QUOTE_ID
    FCC
    group COSTCODE by COSTCODING
    Cost Center: COST_CNTR Cost Acct: COST_ACCT Project: PROJECT_NBR Task: PROJECT_TASK
    Ticket Nbr     ORGCD     OrigTck     V     ST     Location     Po Nbr     Tax Cd     Prod Code     ZN     Hauler      Truck     Haul Rate     UnitPrice     Tons     SalesAmount
    F TCK#M     CODE     OTCK#     V     ST     LOCATION     PO_NBR      TC     PROD     HZ     HAULER     TRUCK     0.00     0.00     0.00 *      0.00 E

    Post Author: Guy
    CA Forum: General
    Hi,
    You should add a first level of grouping in your subreport on a fake formula field with a constant value.  Put your header and footer information in this group header and footer.  In the group option make sure to check the "repeat group header on each page option".
    This group will act as a page header + footer within your subreport.
    good luck!
    Guy

  • Secondary Cost Element Values doesn't display in Profit Center Report

    Hi everyone,
    I'm having a problem with our Profit Center plan/actual/variance reports wherein it doesn't display the postings I made to the Secondary cost element when I executed an assessment cycle (KSU5). I already set in the configuration that all postings to be done in the cost centers, should have a parallel posting to the profit center assigned to it. I can see the postings in my cost center reports, but not in my profit center report. Could I have missed out on any procedure to enable the secondary cost element parallel posting in my profit centers? Any help would be appreciated. Thanks!

    it might be the configuration of the library or some parameter in the report (record type should be 0 and 2 for actual values, where 2 stands for distributed values and 1 and 3 for planned values)
    but it also might be that the reconciliation is done between different CC and same PC
    - check your CC organisation asignment
    - if sender cost center and receiver cost center have tha same PC it is probably the reason
    - I had that problem my self and didn't solve it
    cheers
    matej

  • Pulling records where number of records for unique ID = 6

    I have a table that contains address information for everyone in the system. It has numerous fields, though I've only included a few in the create table query below for the sake of brevity. The PIDM uniquely identifies each record as belonging to a particular person in the database. A person can have multiple addresses in the table, though we normally do not allow them to have more than one active address of a particular ATYP_CODE. Again, I am doing this here for the sake of brevity. What I need to do is pull all the records for each PIDM, but only where there are >= 6 records per PIDM. The user doesn't care if the data are pivoted (I can do that part if needed). Pulling the actual data isn't the issue. I just need a little help figuring out how to get only the records of PIDMs with six or more records in the table. So, from the example data below, the records for PIDM 12345 and 34567 are the ones that should be in the output, but the ones from PIDM 23456 should not.
    DROP TABLE SPRADDR;
    CREATE TABLE SPRADDR
    (PIDM              NUMBER(8),
    ATYP_CODE     VARCHAR2(2 CHAR),
    STREETLINE1   VARCHAR2(60 CHAR),
    CITY              VARCHAR2(60 CHAR),
    STATE              VARCHAR2(2 CHAR),
    ZIP              VARCHAR2(10));
    INSERT INTO SPRADDR VALUES (12345,'PR','1 MAIN','CANFIELD','OH','44406');
    INSERT INTO SPRADDR VALUES (12345,'MA','1 MAIN','CANFIELD','OH','44406');
    INSERT INTO SPRADDR VALUES (12345,'BU','1 MAIN','CANFIELD','OH','44406');
    INSERT INTO SPRADDR VALUES (12345,'PR','2 MAIN','CANFIELD','OH','44406');
    INSERT INTO SPRADDR VALUES (12345,'MA','3 MAIN','CANFIELD','OH','44406');
    INSERT INTO SPRADDR VALUES (12345,'PR','4 MAIN','CANFIELD','OH','44406');
    INSERT INTO SPRADDR VALUES (23456,'PR','1 MAIN','KENT','OH','44240');
    INSERT INTO SPRADDR VALUES (23456,'MA','1 MAIN','KENT','OH','44240');
    INSERT INTO SPRADDR VALUES (23456,'BU','1 MAIN','KENT','OH','44240');
    INSERT INTO SPRADDR VALUES (34567,'PR','1 MAIN','CANFIELD','OH','44406');
    INSERT INTO SPRADDR VALUES (34567,'MA','1 MAIN','CANFIELD','OH','44406');
    INSERT INTO SPRADDR VALUES (34567,'BU','1 MAIN','CANFIELD','OH','44406');
    INSERT INTO SPRADDR VALUES (34567,'PR','2 MAIN','CANFIELD','OH','44406');
    INSERT INTO SPRADDR VALUES (34567,'MA','3 MAIN','CANFIELD','OH','44406');
    INSERT INTO SPRADDR VALUES (34567,'PR','4 MAIN','CANFIELD','OH','44406');
    INSERT INTO SPRADDR VALUES (34567,'PR','6 MAIN','CANFIELD','OH','44406');
    COMMIT;I'd greatly appreciate any help you might be able to provide. I'm sure this is easy, but what I've done so far has not worked and I'm not including the code I tried because it's totally cockeyed and not working at all.
    Thanks,
    Michelle Craig
    Data Coordinator
    Admissions Operations and Transfer Systems
    Kent State University

    PIDM 12345 and 34567 are the ones that should.Why 12345? It is repeated 6 times where you asked for > 6. Anyway:
    SQL> select  *
      2    from  (
      3           select  s.*,
      4                   count(*) over(partition by pidm) cnt
      5             from  spraddr s
      6          )
      7    where cnt > 6
      8    order by pidm
      9  /
          PIDM AT STREETLINE1     CITY                 ST ZIP               CNT
         34567 PR 1 MAIN          CANFIELD             OH 44406               7
         34567 MA 1 MAIN          CANFIELD             OH 44406               7
         34567 BU 1 MAIN          CANFIELD             OH 44406               7
         34567 PR 2 MAIN          CANFIELD             OH 44406               7
         34567 MA 3 MAIN          CANFIELD             OH 44406               7
         34567 PR 4 MAIN          CANFIELD             OH 44406               7
         34567 PR 6 MAIN          CANFIELD             OH 44406               7
    7 rows selected.
    SQL> select  *
      2    from  (
      3           select  s.*,
      4                   count(*) over(partition by pidm) cnt
      5             from  spraddr s
      6          )
      7    where cnt >= 6
      8    order by pidm
      9  /
          PIDM AT STREETLINE1     CITY                 ST ZIP               CNT
         12345 PR 1 MAIN          CANFIELD             OH 44406               6
         12345 MA 1 MAIN          CANFIELD             OH 44406               6
         12345 BU 1 MAIN          CANFIELD             OH 44406               6
         12345 PR 2 MAIN          CANFIELD             OH 44406               6
         12345 MA 3 MAIN          CANFIELD             OH 44406               6
         12345 PR 4 MAIN          CANFIELD             OH 44406               6
         34567 PR 1 MAIN          CANFIELD             OH 44406               7
         34567 MA 1 MAIN          CANFIELD             OH 44406               7
          PIDM AT STREETLINE1     CITY                 ST ZIP               CNT
         34567 BU 1 MAIN          CANFIELD             OH 44406               7
         34567 PR 2 MAIN          CANFIELD             OH 44406               7
         34567 MA 3 MAIN          CANFIELD             OH 44406               7
         34567 PR 4 MAIN          CANFIELD             OH 44406               7
         34567 PR 6 MAIN          CANFIELD             OH 44406               7
    13 rows selected.
    SQL>  SY.
    Edited by: Solomon Yakobson on May 10, 2012 10:02 AM

  • Mapping with repeating records

    Hello,
    I have once schema which has two child records out of that second child has many child fields with repeating records, but when I mapped it further I am getting that second schema only once even it has multiple.
    Help me please ASAP
    Thanks in advance

    Nilesh,
    You have two options:
    Option1:
    Just ensure in schemas, in second child records, set the repeating child record's (repeating record under second child record) "Max Occurs" property is set to
    * (or unbounded). Ensure that this property (Max Occurs =
    *) is set for repeating records in both source and destination schemas. By this way, particular child record will repeat. This way gives more control on which child record you want to
    set as repeatable.
    Options2:
    Just set the second child record (which has the repeating records under it) "Group Max Occurs" property to
    * (or unbounded). By this way, all the child records of this second child, will be set to repeating record.
    Also ensure that the repeating records (not just the child elements, but also the repeating records) are mapped from source to destination.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • How to get only updated records for a column using loading type INSERT

    Hi,
    Good morning all,
    I have source1 containg 3 columns bill_cd,bill_desc,bill_date and
    source2 has the columns bill_cd,bill_key,source_id.
    My target has the columns bill_cd,bill_date,bill_desc .
    Now the requirement is, bill_cd in target should not repeated when we run the mapping more than one thime. it should get only updated records not the previous records using only INSERT Loading type(for target) not to use update/insert.
    How can we achieve this logic in mapping level.
    Anybody Please give me some solution immediately.
    Thanks in Advance,
    Siv

    Thanks Herzog for your reply,
    Here bill_cd is not unique. Yes,I want only new records using INSERT as loading type. Suppose when the map runs for the first time, bill_cd is loaded with values 1 to 5.
    Now, in the source I have got new records 6 to 10 for bill_cd and when I run the mapping again I need to get only records for bill_cd from 6 to 10 using INSERT as loading type.
    Is it possible to achieve this at mapping level?
    Regards,
    Siv.

  • Excluding records based on values

    Hi all;
    I have this datasource where there let's say there are several records with fields company code, costcenter, cost element, fiscal year, closing date etc. I need to select all records from that table excepts the ones which has the values on closing date. what I mean is I am not supposed to extract the records which has values on the closing date....how should I handle this scenarios...?

    hi:
    If the data source is a generic based on VIEW, you can add this in the selection Conditions:
    Closing Date EQ " ".
    NOTE: Use the FIELD name for CLosing Date.
    Ram C.
    Message was edited by: Ram Chamarthy
    Message was edited by: Ram Chamarthy

  • How to read multiline element values to a table

    Hello every one,
    I am facing a problem while reading multiline element values for workflow container.
    Through portal i am populating multipul records to the structure in wrokflow and they are storing fine, but when i am trying to read
    them through SAP_WAPI_READ_CONTAINER and reding with SWC_GET_TABLE OR SWC_GET_ELEMENT to a table with similar structure, i am not geitting the values.
    DATA: lt_url TYPE STANDARD TABLE OF ZHRESS_URL WITH HEADER LINE.
    CALL FUNCTION 'SAP_WAPI_READ_CONTAINER'
            EXPORTING
              workitem_id                    = '476329'                            "for instance i have hard coded the value
             LANGUAGE                       = SY-LANGU
             USER                           = SY-UNAME
          IMPORTING
            RETURN_CODE                    =
            IFS_XML_CONTAINER              =
            IFS_XML_CONTAINER_SCHEMA       =
           TABLES
             SIMPLE_CONTAINER               = lt_container
            MESSAGE_LINES                  =
            MESSAGE_STRUCT                 =
            SUBCONTAINER_BOR_OBJECTS       =
            SUBCONTAINER_ALL_OBJECTS       =
      swc_get_table wf_container 'URL' lt_url.
    the above element URL is multiline structure(ZHRESS_URL).
    Request your guidence.
    Thanks,
    Krish.

    Hello,
    Just look in SIMPLE_CONTAINER, you'll see mutiple entries if there's a table, eg:
    ADDRESSSTRINGS                   USSMITHJ
    ADDRESSSTRINGS                   USJONESB
    You can just read them using normal ABAP.
    regards
    Rick Bakker
    hanabi technology

Maybe you are looking for