DTP Request

Hi,
I am writing a transformation from source to target. Source is header DSO while target is a merged DSO i.e. it will have merge records from header and item DSO. So, I am appending additional records in result_package while while writting routine for some of the fields.
Now the problem is after I run DTP a request gets generated and when I check new data table it gets populated accurately i.e. according to the transformation but the prblem lies when I activate the request. After activating the request data gets moved from new data table to active data table but some of the non-key fields of the target DSO for which I have written transformation doesnot gets populated. Dont know why...Please help.
I am also getting one error while activating the DTP request: activation sid for datastore object changed while activating the request.

Hi,
Thank you very much for your help. It is working now.
I have one more doubt regarding my code logic of end routine.
1st Method - I am refreshing RESULT_PACKAGE at the start of END_ROUTINE then I am filling the result_package through global internal table (which i have filled in start routine). i.e.
REFRESH RESULT_PACKAGE.
loop at gt_src_pack into lwa_imsrc_pack.
some code....
append work area to RESULT_PACKAGE.
endloop.
2nd Mehthod: I am looping RESULT_PACKAGE and then reading the contents through global internal table and filling another internal table which is of type result_package then refreshing the RESULT_PACKAGE and then transferring contents of internal table to RESULT_PACKAGE i.e.
loop at RESULT_PACKAGE assigning <result_fields>.
some code....
append <result_fields> to lt_result_package
endloop.
REFRESH: RESULT_PACKAGE.
RESULT_PACKAGE[] = lt_result_package[].
Please tell which method is a better one...??

Similar Messages

  • Which is better or 'standard' option for a Delta DTP request

    Hi folks,
                I am creating a delta DTP for loading HR Payroll data. While creating the DTP I see two options
    a) Only Get Delta once
    b) Get all new data request by request
    which is a better option if I have a lot of records to upload for every delta upload.
    Points waiting to be given to you...
    Thanks
    Sunil

    U should go with Get all new data request by request
    i. With Only Get Delta Once, define if the source requests should be transferred only once.
    Setting this flag ensures that the content of the InfoProvider is an exact representation of the source data.
    A scenario of this type may be required if you always want an InfoProvider to contain the most recent data for a query, but technical reasons prevent the DataSource on which it is based from delivering a delta (new, changed or deleted data records). For this type of DataSource, the current data set for the required selection can only be transferred using a full update.
    In this case, a DataStore object cannot normally be used to determine the missing delta information (overwrite and create delta). If this is not logically possible because, for example, data is deleted in the source without delivering reverse records, you can set this flag and perform a snapshot scenario. Only the most recent request for this DataSource is retained in the InfoProvider. Earlier requests for the DataSource are deleted from the (target) InfoProvider before a new one is requested (this is done by a process in a process chain, for example). They are not transferred again by the DTP delta process. When the system determines the delta when a new DTP request is generated, these earlier (source) requests are considered to have been retrieved
    ii. Define if you want to Get All New Data in Source Request by Request.
    Since a DTP bundles all transfer-relevant requests from the source, it sometimes generates large requests. If you do not want to use a single DTP request to transfer the dataset from the source because the dataset is too large, you can set the Get All New Data in Source Request by Request flag. This specifies that you want the DTP to read only one request from the source at a time. Once processing is completed, the DTP request checks for further new requests in the source. If it finds any, it automatically creates an additional DTP request.
    u201COnly get Delta Onceu201D
    /people/community.user/blog/2007/06/21/sap-netweaver-70-bi-data-transfer-process-with-147only-get-delta-once148
    u201CGet Data by Requestu201D
    /people/community.user/blog/2007/06/21/sap-netweaver-70-bi-data-transfer-process-with-147get-data-by-request148

  • Where DTP requests will be stored

    Hi ,
    I know Infopackge requests stored in table RSLDTDONE .
    But I want the table where DTP  Reqeusts will be stored .
    Please anybody can help

    Check these tables:
    RSBKDATAPAKSEL - DTP: Data Package Selections
    RSBKSELECT - Selections for DTP Request (Summary)
    RSBKREQUEST - DTP Request
    RSBKREQUEST_V  - View of DTP Request
    Hope it helps..

  • Table where selections of DTP Requests are stored ?

    Dear members,
    I would like to know where the Filter values in a DTP are stored.
    I found Table RSBKSELECT, but there are only the entries for selection type 6 (Routines) and 7 (OLAP variable).
    I need the entries made in the select options/single value fields.
    In table RSSELDONE it's also not available.
    For a monitoring, I take information from table RSBKREQUEST_V (view) into an DSO.
    When loading this information, I need to read the selection made in the DTP/request for additional information.
    So I'm looking where I can find or how to get this values ?
    Thanks in advance
    Martin

    Hi,
    Pl check following table
    RSBKDATAPAKSEL  DTP: Data Package Selections
    Other tables are
    RSBKDTP  BW: Data Transfer Process Header Data 
    RSBKDTPH  DTP: Historic Versions 
    RSBKDTPSTAT  Status Information on Data Transfer Process 
    RSBKDTPT  Texts on Data Transfer Processes 
    RSBKDTPTH  Texts on Data Transfer Processes 
    RSDDSTATDTP  Table for WHM Statistics. Details DTP 
    RSOACUBE_DTP  BW: OLTP Direct Access: Directory of Assigned Remote DTPs 
    RSBKSELECT  Selections for DTP Request (Summary) 
    RSBKREQUEST  DTP Request 
    RSBKREQUEST_V  View of DTP Request 
    RSBKBP  Breakpoints 
    RSBKDATAINFO  Information on DTP Runtime Buffers 
    RSBKDATAPAKID  DTP: Status Table for Data Packages 
    RSBKSUBSTEP  Properties of Substeps in a DTP 
    Thanks and regards

  • Determine the count of data-packages in a dtp request.

    Hello,
    in a start routine I need to know the count (=highest number) of all data-packages in the current DTP-Request.
    I have had a look to table RSTSODSREQUESTPG it contains exactly the fields I need,
    but I do not find every dtp-request in this table.
    For me it looks as if this table was only filled in BW 3.5 but not in BI 7.0 or there is another reason why not every DTP-Request is stored in this table.
    Is there a new table to get the information ?
    Thanks
    Armin

    Hello,
    in the table RSBKDATAPAKID I found the field DATAPAKID, what I was looking for.
    But the field REQUID is only 6 byte like: 123456.
    In the start routine I have only a 30 byte field like: DTPR_4B34567890123456789012345
    In the administartor workbench I can see that both numbers are the same request.
    Is there a matching table ?
    In the table RSDDSTATDTP the field INSTANCE seems to be the 30 byte DTPR-Number.
    And a field DATAPAKID is also in this table.
    That looks good, i will try out if it works.
    Thanks
    Armin
    Edited by: Armin Batzelt on Sep 17, 2008 4:44 PM

  • Unable to delete the DTP request.

    Hi friends, iam unable to delete the DTP request, its showing in yellow mode, iam unable to change it to green or red, i checked in SM50 and SM51 ...is there any other way to delte the request ....any FM .
    My version is 7.0 and SP16 BI_Content 9.
    Thanks in advance,

    Hi,
    Try this.
    RSBKDATAPAKID DTP: Status Table for Data Packages.
    Check this table if you can change the status to red.
    If yes - than delete all the requests from manage screen.
    Also check table RSBKREQUEST DTP to delete Request if possible.
    Hope this helps.
    Thanks,
    JituK

  • QM action not allowed for DTP requests in master data and Text tables

    Hi,
    I have a master data object load request which has failed, returned error in st22 and job finished.
    BUT the request has not turned red in the monitor - it's still yellow. That means that I can not delete request nor start new load to infoprovider because it believes a request is still running. But it's not, I've checked both sm37, sm50 etc.
    When trying to manually change QM status to 'red' it says 'QM action not allowed for DTP requests in master data and Text tables'
    How can I force QM status to red so that I can move on?
    Running NW2004s BI (7.0) Patch 15.
    I searched for this question but there is no answer
    Thank you

    Folks
    I know how frustrating this problem is even in netweaver 7.0 environment. I found a solution for this problem atlast and it works but a not direct way of resolving this issue.
    When this request is in yellow status and not able to change / delete the request, its actually in a pseudo status and it is a bug in the program. This request sits in table RSBKREQUEST with processing type as 5 in data elements USTATE, TSTATE and this 5 is actually "Active" status which is obviously wrong.
    All we need is, ask your basis person to change the status to 3 in both these data elements and then it allows to reload the delta. Once the delta is successfully loaded, you can delete the previous bad request even though it is still in yellow. Once the request is deleted, the request status gets updated as "4" in table RSBKREQUEST.
    Hope this helps.
    Thanks

  • How to create multiple DTP REQUESTs with expert routine  ?

    Anyone know if it's posible to create new dtp request's manually from an expert routine, i want to write manually to 2 different ODS in the same expert routine the first is for success records and the second is for rejected records, the problem is that the routine only writes a new request for the succeed record and the rejected records are writed with abap to the other ODS manually without request ID

    hi,
    Just create a direct update DSO for collecting the rejected records.
    Use the function module RSDRI_ODSO_MODIFY for populating this DSo from the transformation ABAP coding.
    The direct update DSO will be having the rejected records after execution of the DTP and the correct records will be processed to the target DSO (correct records)
    Prathish

  • How to find the DTP using the DTP Request ID....

    Hi Experts,
    Can any one help me to find out the DTP from the DTP Request ID (Request GUID) of the table RSBKDATA.
    I have the Request GUID like this : "DTPR_4BHPIMXRNWKTA48B52JN3TTC" in table: RSBKDATA, using this I want to find out to which DTP this GUID is belongs to.....
    Please help with your valuable inputs.
    Thanks

    Excellent I didn't thought of this T-code. It works now.
    Points assigned

  • Possible to have Two or more targets in a single DTP request??

    Hi,
    I had actually two data targets (Info cubes )  to be filled by same source ( i.e DSO )
    When i want to update the DSO data to the two targets using DTP,i did not find any option which will enable me to have two data tagets included for the update inside a single DTP--
    Do i need to create two DTPs for the same- or is there any option by which i can update to two targets using single DTP juts like we used to do in Infopackages-?
    Raj

    Hi,
    DTP is source and target specific and thats why the delta is possible based on request ID's and deletion of request from one target will have no affect on other.
    So if you want to to combine it then very concept will go wrong and I think it is not possible..
    But may be some way to trick this as well through routine in DTP to populate the tables.....but may not create a request in the target.
    So you will have to create two DTP's to keep things simple.
    Thanks
    Ajeet

  • In a single DTP request,can we have 2 targets?

    Hi All,
    I have two Info cubes to be filled by same source DSO.
    Now when i am trying to update the DSO data to the two infocubes using DTP,i am not finding any option which will enable me to have two infocubes included for the update inside a single DTP
    Now,do i have to create 2 DTPs to load data into infocubes or can it be done with one single DTP.If so...how?
    Thanks
    Ashwini

    Hi,
    You will have to create two DTP's to keep things simple.
    DTP is source and target specific and thats why the delta is possible based on request ID's and deletion of request from one target will have no affect on other.
    But may be some way to trick this as well through routine in DTP to populate the tables.....but may not create a request in the target.
    Hope this clarifies your doubt.
    Regards,
    Ray

  • Unable to delete the running DTP request

    Hello All,
    Please find below the problem description:
    Issue:
    We have an Infoobject to which we are loading data. There are many attributes to this InfoObject. I pulled the data till PSA from R/3. Then I scheduled the same from PSA to the InfoObject using a DTP. Now, this is showing to me as running (Status: Yellow) since last 15 hours. I want to delete this request and restart it again. Unless I do not delete this request the DTP will not be allowed to execute saying "Currently request is under processing".
    Performed Actions:
    I tried deleting it directly from the Manage tab, but it says "Cannot lock request <Request Number> of table <InfoObject Name> for deletion".
    I tried to go into the Monitor and set the Status to Red, but it is disabled, so I am not able to change the same.
    Request to guide me for the same at the earliest.
    Thank you.
    Regards,
    Kunal G

    Hi
    Check the Table RSBKDTPSTAT  --Status Information on Data Transfer Process  and RSBKREQUEST
    DTP -- Monitoring Screen -- Job Over view -- Check if It has the BIDTPR_*_* request Running try to Cancel/Delete the same.
    You can even try with Where used list also to delete the Request .
    Try to see the Program -- GPD44IFN4XV85DTPR3W79KJ6RMO    Handling Incorrect Data Records
    Hope it helps

  • DTP request failed

    Hi,
    In a process chain I have a DTP step, for execute an extraction from a DSO to an Open Hub Destination, and the first time I execute it, this step failed. I make some changes and I executed the DTP out of the process chain to prove it, and the system told me If I wanted delete the last request that had Red status, I accepted and it worked fine.
    When I want to execute the process chain, in the DTP step fail because there are a past request with red status and it tell me that I can change the status to green or resume the request, but I deleted this request and when I go to the monitor and view this request I can't change the status. What can I do to delete definitely, resume or change the status of this request?
    Thank you.
    Cris.

    Hi,
    In the monitor of the request you have the option to go inside the delete option.
    I think there you can see all the request that are deleted becasue of failing.
    Just look for it if it there.
    Why dont you resume the request.
    once resumed you can then turn it to green even if it has failed as you have already got the data from the DSO for this request.Once turned to green reload the request for today again from the DSO.
    Hope it helps
    Thanks
    Ajeet

  • DTP Request Error: "Overflow converting from ''" (Executing rule)

    Hi,
    I have an error for every dataset in my dtp:
    Anyone an idea?
    Error Ercords Display says:
    Runtime error while executing rule
    Longtext:
    Diagnosis
         An error occurred while executing a transformati
         The exact error message is:
         Overflow converting from ''
         The error was triggered at the following point i
         GPD5DB2R35UPL1XXBS1ICKUVG8O 2313
    System Response
         Processing the data record has been terminated.
    Procedure
         The following additional information is included in the hig
         node of the monitor:
         o   Transformation ID
         o   Data record number of the source record
         o   Number and name of the rule which produced the error

    Hi,
    It seems that there is a error in transformation routine. Are you filling any internal table  or converting any data type in the routine. Go to ST22 it will show you dump and give you line at which error is coming OR if you click on the message in DTP monitor it will divert you to the errorneous line.
    Regards,
    Viren

  • Delete the dtp request

    I can not delete the dtp request

    So ??
    Please give more details else I would have to lock the post.....
    Arun

Maybe you are looking for

  • Export and Import Simultaneously

    Hi All, we daily get requests to sync a schemas. ex: copy data from user a to user b (both users are in the same database) as usual we take export of user A schema and import into user B. This process takes somewhere around 80 to 100 mins ( after tun

  • Reverse Termination Error  The employee is not assigned to a Payroll

    Hello, I am trying to reverse terminate an employee, but I am getting the following error while doing so. Oracle Version : Release 12.1.1 "APP-PAY-06047: This employee is not assigned to a Payroll Cause: You cannot create Nonrecurring, additional, ad

  • Can't Access Server from Internet (via Airport Extreme)

    Not sure if this is an Airport Extreme or a SL Server question, guessing the latter? From my local network I can access the OSX Server home page by entering the URL myserver.dyndns.org (domain registered on the DynDNS site) in Safari. The server is s

  • Internal Order Type Error

    Dear Experts, I have created a new order type in the system. it is showing under the transport request but not at the list of available order type while creating the internal order master through KO01. Also its not showing KOT2_OPA, but if i try to r

  • Unable to upload photos to photobiz or other photo sites

    I am a new Mac owner and recently attempted to upload photos to my photobiz site with no success. I tried the steps on the photobiz site but they did ont work.  I can not scroll down to read thefags page when on the site either.  I had to use my pc t