How to avoid splitting of data in data package

Gurus
I am loading the data from DSO to Cube , during that load in end routine I am appending my material by reading Material Master data to have sub materials.
So for example Material ABC have sub material 01 and 02. So when the data go to cube it will have 3 records instead of one Parent material record due to Append.
Now the problem is , Parent material can come in different data packet from DSO so It may not get the sub material , I would like to get same Material in one data packet so I can append without any problem, would you please advise how should I proceed or achieve this?

Hi Kris,
2 ways to do this among others:
1. If you use a 7.0 flow, select semantic keys for Material in DTP.  All materials will be sorted and common ones will group together in same package.  This is esp. useful if your logic works in the Start or Expert Routine.
2.  With End Routine, you can simply sort the Result_Package and get all materials together and append lines for the required combination character set from the workarea.
Any of these should solve your problem.
Regards,
Aby
Edited by: Abraham Samuel on Mar 22, 2011 4:29 PM

Similar Messages

  • How to avoid the objects dependency in the packages by standard settings?

    Hi,
    How to avoid the objects dependency in the packages by standard settings?
    Example Scenario -> Our project uses two packages u2018ZZP1u2019 and u2018ZZP2u2019 for developments in the system u2018SN1u2019. We created a domain u2018ZZ_DO_TESTu2019 in the Package u2018ZZP1u2019. Now we have to make sure that the developer should not use or refer domain u2018ZZ_DO_TESTu2019 for the developments in the package u2018ZZP2u2019.
    u2026Naddy

    Evevn i felt that in the CTS at least a warning can be given if the included objects refer to any other object(s) which arre:
      1. Local Objects
      2. Locked under other requests,
      3. Lastly able to detect cyclic dependency as in we had a situation where we had a program locked in request A which calls an FM locked in request B. Now Request B refers to a message which is locked in request A.Since it was a message it gave only requrn code 4 in transport and transport ended with warnings. But if it is some other object then it is going to give compile error in at least one transport and neither can be moved without the other.
    Anyways, i will check the BAPI he has mentioned and see if any workaround can be done,
    Request: Please keep the post active until we arrive at a good solution,Thanks.

  • How to avoid material master data migration of inactive materials to SRM

    We are replicating material master from R3 4.6b to SRM 5.0 system.  Under COMMPR01 , we can see the product status as deleted or locked .
    How we can avoid the master data replication of  materials which are already flagged as inactive (deletion) in R3.
    Pls suggest.
    Regards,
    Avinash

    Hi
    Please try this ->
    1) It is possible to use product_id without needing to replicate material masters from R/3 to SRM. For this to work you have to set the flag "Do not check product" in customizing
    (see SRM Server > Master Data > Define External Web Services).
    We do it like that and it works perfect for us. Only annoyance is, that we have to put leading zeroes in the product_id field.
    "Do not check product" is used to avoid product check in SRM (to avoid replicating products into SRM), so they are not checked against SRM product master.
    But this is not related to R/3 check.
    In a classic or extended classic scenario, SRM will check that this material exists in the backend, especially for the current plant (location), before creating follow on doc.
    As you created your catalog item without zeros, I guess SRM is sending this material to R/3 that does not recognize it.
    Then you have this error message. Adapt your product IDs to be aligned with R/3 material master.
    2) Try to run the report BBP_PRODUCT_SETTINGS_MW, there you select user as SRM instead of CRM and select service product active
    3) Did you already checked OSS note 722600 and 366135 ? Also, Check the SAP OSS Notes -  786345, OSS Note 456753. It talks abt the internal and external representation of product ID in catalog and R3 system.
    Related useful pointers ->
    Product xx does not exist in plant xx or it has been flagged for deletion
    Stock reservation movement (field XWAOK) is not flagged in ECC ??
    Product XXX  does not exist in plant YYY or it has been flagged for delete.
    material deletion flag
    Product XXX does not exist in plant YYY or it has been flagged for deletion
    Hope this will help. Do let me know.
    Regards
    - Atul

  • How to avoid updating the data when ever we refresh the page

    I want to avoid updating the data to the server when ever we refresh the web page.
    Thanks in advance.

    You could potentially do it by using a redirect instead of a forward to the result page.
    That will essentially do it in two requests. 1 to request the save, another to display the result of the save.
    If the user then requests a refresh, it won't incur a save call.
    Of course, that doesn't stop them going back in the browser, and refreshing that page, but it at least makes it a little harder.
    Cheers,
    evnafets

  • How do we control the data package size that comes into the DSO?

    Hi experts,
    I have this scenario:
    Initial information (numbers are not real):
    I have 10 contracts in CRM (one order documents)
    Each contract when extracted becomes 50 records.
    Running BW 3.x
    (1) Now i start data extraction in BW, i will receive 5 packets, split like following:
    DP1: 100 records (contract 1 and 2)
    DP2: 100 records (contract 3 and 4)
    DP3: 50 records (contract 5)
    These records are stored in the PSA.
    (2) Then, it seems the system keeps the same package size and send these DPs to DSO like following:
    DP1 -> 100 records -> DSO
    DP2 -> 100 records -> DSO
    DP3 -> 50 records -> DSO
    What i want:
    I have a special case and i want to be able to do the following starting from (2).
    Instead of sending
    DP1 -> 100 records -> DSO
    DP2 -> 100 records -> DSO
    DP3 -> 50 records -> DSO
    I want to send:
    DP1 -> 10 records -> DSO
    DP2 -> 10 records -> DSO
    DP3 -> 10 records -> DSO
    DP25 -> 10 records -> DSO
    Do I have control over the data package size (number of records)?
    Can the DPs between DataSource <-> DSO be different then the ones from SourceSystem <->DataSource?
    Can i even go further and do some kind of selection to be able to send like following:
    DP1 -> all records from item 01 to 10 of contract 1 -> DSO
    DP2 -> all records from item 11 to 20 of contract 1 -> DSO
    DP3 -> all records from item 01 to 10 of contract 2 -> DSO
    DP4 -> all records from item 11 to 20 of contract 2 -> DSO
    DPn -> all records from item 11 to 20 of contract 10 -> DSO
    Thanks!

    Hi,
      If you are using infopackage try the setting in the infopackage ie in the scheduler menu at the top
    choose DataS: Default data transfer in which you can change the package size of data
    if using DTP in Extraction Tab you can specify  Package Size.
    Hope this helps for you.
    Thanks,
    Arun

  • How to Avoid Printing the data twice when the sub report has drill down?

    Hello,
    I have a sub report that has drill down which is placed in report footer.When i run the report sub report displays the data but when i tried to drill down it displays the same data again.After that i can able to drill down on sub report.Is there any way to avoid
    printing the same data twice.
    Thanks in advance.

    Hi,
    If the subreport you're referring to does not grow in size and it does not span multiple pages and you know the size of it, here's what you can do to stop drilling into subreports :
    1) Create a text object as large as the subreport (perhaps bigger than it) and fill it with spaces or new lines
    2) Place it 'over' the subreport such that it covers the entire area occupied by the subreport
    3) The subreport at all times should be smaller than the text object in all dimensions
    Now, when you hover the mouse over the subreport, there isn't any magnifying glass for you to drill down into.
    If the subreport has further drill-down functionality, then this isn't for you! Because, it just wouldn't allow you click on any objects in the subreport because of the text object eclipsing it. This is the only workaround I know at this point in time and I know a lot of users are looking for this.
    I would suggest that you log this as an Enhancement Request at http://ideas.sap.com for our developers to have a look into this.
    And finally, I also found an old forum post where Jamie has suggested a way to get this working on the Business Objects Environment. Give it a shot, if that's where the reports are eventually run.
    How to disable subreport view
    Hope this helps!
    -Abhilash

  • How to avoid oracle implicit data type conversion

    Hello,
    i have a query like below..
    SELECT EMP_NUM
    FROM EMPLOYEE
    WHERE EMP_NUM=SOURCE_EMP_NUM;
    1. My SOURCE_EMP_NUM data type is varchar2.
    2. My table EMP_NUM data type is number.
    3. In one case my SOURCE_EMP_NUM value '00000123'
    4. I have an entry in table for EMP_NUM as 123.
    5. In this case my query is success and giving me row for 123, which i don't want it should compare with leading zeros. But due to oracle implicit conversion the comparision getting passed.
    6. I have an index for this column, so i can't use "like" operator...
    Can somebody help me.....
    Thanks in adv....

    HI,
    Just see this :---
    SQL> select * from emp where deptno=00020;---------deptno is number, 00020 is number and its true
    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
    7369 SMITH CLERK 7902 17-DEC-80 800 20
    7566 JONES MANAGER 7839 02-APR-81 2975 20
    7788 SCOTT ANALYST 7566 19-APR-87 3000 20
    7876 ADAMS CLERK 7788 23-MAY-87 1100 20
    7902 FORD ANALYST 7566 03-DEC-81 3000 20
    SQL> select * from emp where to_char(deptno)=00020;=-------------deptno is character type and 00020 is number so still it is leaving 0000 from 20 as it number and has no impact,
    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
    7369 SMITH CLERK 7902 17-DEC-80 800 20
    7566 JONES MANAGER 7839 02-APR-81 2975 20
    7788 SCOTT ANALYST 7566 19-APR-87 3000 20
    7876 ADAMS CLERK 7788 23-MAY-87 1100 20
    7902 FORD ANALYST 7566 03-DEC-81 3000 20
    SQL> select * from emp where to_char(deptno)='00020';---now both are character and no row is selected.
    no rows selected
    So you can avoid the implicit conversion according to the requirements and in this case we are usin to_char function to avoid this.
    Regards,
    Navneet

  • How to avoid grouping by date with dates as incoming parameters?

    Hello, I have the following Query from SAP Business One set as DataSource:
    SELECT  T1.SlpName as 'Vendor', convert(varchar(12), T0.[U_ER_PROV])as 'City', T0.[CardCode] as 'Client Code', T3.CardName as 'Client Name', T0.DocDate as 'Date', T2.ItemCode, T4.ItemName as 'Reference Description', sum (T2.Quantity) as 'Toal Units per Reference',
    avg (T2.Price)as 'Average Price', sum(T2.LineTotal) as 'Total'
    FROM ODLN T0
    INNER JOIN OSLP T1
    ON T0.SlpCode = T1.SlpCode
    INNER JOIN DLN1 T2
    ON T0.DocEntry = T2.DocEntry
    INNER JOIN OCRD T3
    ON T0.CardCode = T3.CardCode
    INNER JOIN OITM T4
    ON T2.ItemCode = T4.ItemCode
    group by  T1.SlpName, convert(varchar(12), T0.[U_ER_PROV]), T0.[CardCode], T4.ItemName, T0.DocDate, T2.ItemCode, T3.CardName
    order by  T1.SlpName, convert(varchar(12), T0.[U_ER_PROV]), T0.CardCode, T0.DocDate, T2.ItemCode
    What I´d like to do is, grouping in Crystal Reports, the result of this query by Item Code, not by date. The problem I have is that I need users introduce "from date" to "end date" as incoming paramater.
    The way I am running it, for example  I have some results like:
    date                         Item Code               Total
    01/01/2009               4646_R2                  120 u20AC
    10/01/2009               4646_R2                  34 u20AC
    And I´d like to take something like this:
    Item code                       Total
    4646_R2                         154 u20AC
    Not grouping by date ......
    Is there any way to do this using this query in Crystal Reports?
    Thanks very much for your time.
    Miguel A. Velasco

    Hello all, thanks very much to  Raghavendra for his helpfully answer.
    I followed your coments and now the report is running fine.
    Thanks again for your help without expecting anything in return.
    Miguel Velasco

  • How can i change my data package from 64 to 32 bytes

    I have a serious problem with my internet conecction because the ping is to high and i need to make slower pakage, i mean 64 to 32. Any body could help me please?

    No. No one can help you. We are not your data support. You need to contact whoever provides your internet connection.

  • How to break up data package in CMOD

    Hello All,
    We am currently using a standard delivered SAP extractor. However, we have written additional logic in CMOD for this extractor. As a result of the CMOD there is a potential of 1 record expanding into hundreds of records which increases the size of the initial data package exponentially. Is there a way in CMOD to split up the final data package into multiple data packages and send it to BW one at time?
    Thanks,
    BQ

    Hi Nagesh,
    We thought of reducing the datapackage size, but that would increase the amount of data packages to over 1500.  This degrades our performace a lot.  We only want to split the data packages that are extremely large.  We dont' want to affect the size of data packages that are fine in size.  We want to create multiple datapackages because if we don't the load fail due to out of memory error.
    Like I mentioned in my initial message, 1 record generated from the standard extractor could potentially generate additional 100s of records through the CMOD code.
    <u>For example standard extractor delivers the following record:</u>
    1  ABC X
    <u>CMOD Results:</u>
    1  ABC X
    1  ABC Y
    1  ABC Z
    .... and so on and so forth
    I am hoping there is some kind of ABAP coding in the CMOD that could split the packages up and send it over BW separately.
    Thanks,
    BQ<u></u>

  • How to avoid clear record when tab pages changes

    Hi All
    I am using oracle forms 10g and db 10g.
    I have created a form with four tab pages. Namely "EXPENSE" , "AMOUNT_DETAILS", "SUPPLIER" , "ACCOUNT".
    When i enter a data in page 1 ie Expense and move to next page page2 "AMOUNT_DETAILS", and enters data in page3 "SUPPLIER" and when i come back to page1 "EXPENSE" and also Page2 "AMOUNT" the data get cleared in Tab pages. There is no data again i need to enter the data manually.
    Can any one suggest me how to avoid this clear data.
    Thanks & Regards
    Srikkanth

    Hi,
    Thanks once again for your quick response.
    I have checked it , i was working with oracle apps.Now i have entered all the datas in the four tab and press save button in the screen at that time also the data get cleared.Can you please tell is there any work around for this.
    regards
    Srikkanth

  • ODS Activation - Number of Records Per Data Package

    Hello,
    We are using the default Global ODS Setting called "Min Num of Data Records"... which defaults to 10,000.
    However, when I activate the ODS and look at the job log, I see that less than 10,000 records are in most of the data packages.  Below is part of the job log.  If the setting says the minimum must be 10,000 then why am i seeing data packages with less?
    Thanks!
    Data pkgs 000027; Added records 2,536; Changed records 0; Deleted records 0
    Data pkgs 000028; Added records 2,436; Changed records 0; Deleted records 0
    Data pkgs 000029; Added records 1,171; Changed records 0; Deleted records 0
    Data pkgs 000030; Added records 1,743; Changed records 0; Deleted records 0
    Data pkgs 000031; Added records 1,552; Changed records 0; Deleted records 0
    Data pkgs 000032; Added records 8,048; Changed records 0; Deleted records 0
    Data pkgs 000033; Added records 10,001; Changed records 0; Deleted records 0
    Data pkgs 000034; Added records 10,001; Changed records 0; Deleted records 0
    Data pkgs 000035; Added records 10,001; Changed records 0; Deleted records 0
    Data pkgs 000036; Added records 10,001; Changed records 0; Deleted records 0

    Hi Fong,
    The settings for 'no of data records' specifies how many records should be transfered in a data package to BW for processing .
    However added records specifies how many records of that data package actually loaded to your data target .
    This may be because of
    1.Key fields:  Your key field settings may lead to elimination of any duplicate records
    2.Update rule: Your update rule may have some filteration of records.
    Hope this makes you clear.
    Regards,
    Prema

  • How to avoid Invoice Split due to billing date, reference number and payment reference?

    Hi,
    In a scenario of delivery to invoice copying, we are facing issue of invoice split.
    After analysing split, came to know that split happened because of different billing date, reference number and payment reference.
    In VTFL we kept below fields blank at header level:
    Assignment Number
    Reference number
    In VTFL we kept below setting at item level:
    Copying requirements: 001 (this is a del related Pro-forma invoice)
    Data VBRK/VBRP: 001 (Inv.split (sample))
    Also in VF04, at "default" tab maintained billing date, but still system is splitting invoice.
    Split analysis showing below results
    Different billing date
    Different reference number and
    Different payment reference
    Pls let me know how to avoind this split. Do we have to copy routine and do changes into it to avoid split.
    Regards/Pravin

    Hello,
    Also in VF04, at "default" tab maintained billing date, but still system is splitting invoice.
    Split analysis showing below results
    Different billing date
    Different reference number and
    Different payment reference
    this doesn't seem to me standard behaviour (as it regards the billing date). Try the same with VF01: enter manually the billing date, the documents to invoice and press "Billing document overview";  if it keep on splitting according to the billing date, I guess that there's a user-exit during the creation of the invoice, which determines the invoicing date.
    Check the following exit:
    RV60AFZA
    RV60AFZC
    RV60AFZZ
    Best regards,
    Andrea

  • How to avoid invoice split due to different billing due dates?

    Dear All,
    How to avoid invoice split due to different billing due dates for the group of  outbound deliveries?
    Thanks in advance.
    Regards,
    Niketan

    Hi,
    Thanks for the inputs.
    I want to avoid the invoice split during invoice creation through transaction VF04 for  no. of delivery documents having different billing due dates.
    I can club only 14 delivery documents via VF01 which will have the common billing date. Is there any other method of clubbing 25-30 delivery documents with different billing due dates in one invoice?
    Regards,
    Niketan

  • How to avoid invoice split due to different billing dates?

    Hi All,
    How to avoid invoice split due to different billing dates during executing VF04 transction?
    I want to club 30 delivery documents with different billing due dates in one invoice.
    I am using VF04 tr for the same. However, here i cannot control the invoice split based on diff billing due dates.
    If the same thing is tried via VF01 , it allows only 14 del dcouments at a time.
    Can u suggest  abetter technique to do the same?
    Regards,
    Niketan

    I think I already explained you in a similar post to use VF04 setting the billing date as default:
    menu: settings->default data. Place  the date in field Billing Date.
    pls. reward if helpfull
    Roberto

Maybe you are looking for