Changing the Target data store dynamically

Hi,
I have a requirement to load same kind of data into 12 different target tables. Client maintains data in period vise, i.e. Jan data in a table TABLE_01, Feb data in TABLE_02, Dec data in TABLE_12 etc. The structures of all these tables are same.
My program will process only one period’s data at a time and processed data will be loaded into a table TABLE_SRC. After this, according to the processing period, I need to post the data into the target tables TABLE_01, TABLE_02 etc. i.e. if the data is for period Jan then to TABLE_01, data is for period Feb then to TABLE_02 and so on.
For accomplishing the same, I need to create 12 different interfaces. So is there any way to accomplish the same using a single interface by changing the target data store dynamically? I am looking for a solution other that creating procedures.
Any Help is appreciated.
Thanks in advance.
DJ

Yes, it is possible....
1) at the target datastore use a variable at resource
2) create a query that returns all target tables in a source tab (procedure step)
3) at target tab, call the interface scenario send the query result as parameter.
That will allow you execute the same interface for disitnct targets.
Does it help you?

Similar Messages

  • How can I dynamically change the Application Date Format?

    Hi everyone...
    In my application (v 3.2) I let the user set the application date format dynamically through a "preference" value they can change on the go.
    I then take the format they pick and assign their value (ie: DD-MON-YYYY) and pad 'HH:MI' to it and use this as the PICK_DATE_FORMAT_MASK which works great for most date pickers.
    The problem I have is that some date picker I use in the application don't require the HH:MI, they simply need the DD-MON-YYYY part. Could I use the NLS_DATE_FORMAT for this? Would I then be able to use date pickers with the "use application date format"? It doesn't seem to work for me.
    In other words, I basically need 2 date formats for my application date pickers; 1 for simply the dates and 1 for dates including time. And these 2 formats are chosen by the user by setting an application preference dynamically at run time.
    Not sure if I make sense here....any idea?
    Thanks!
    Francois

    "use application date format" is the choice you want.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Is it possible to change the way SAP stores a DATE field ?

    Hi,
    I have a scenario here where I have to read from a file and then upload the contents to a custom table.
    The file is comprised of several lines, each line being formatted to accomodate several fields, according to their length specifications. It's the "standard" string style to import/export files from one system to another.
    My question is: one of these fields is a date field, and I am required to order the table, afterwards, by this date field. I notice it comes as DDMMYYYY, and my SORT is not working. If I use, on the other hand, dates in YYYYMMDD format, the SORT works perfectly.
    Does SAP expects the date to come as YYYYMMDD ? Is there a way I can change this "default" format ?
    Thanks,
    Avraham

    Hi,
    Yes, SAP expects the date to come as YYYYMMDD, this is the internal format.
    I am not sure you will be able to change the default DATS format to something else.
    Other internal date format : GDATU as in table TCURF.
    Sugestion : use offsets to convert original date to internal date format and keep doing your SORT as you already did.
    Hope this will help you find de good solution.
    Issa

  • Error During the Retrieval of the Logon Data Store

    Hello Experts,
    In our SAP SCM 7.0 we are receiving error - "Error during the retrieval of the logon data store" in transaction /n/sapapo/cq when i click on the option "Go to SMQ1/SMQ2 by selecting the target system.
    Traget system is SAP ECC 6.0
    RFC from source to target is working perfectly fine, even the authorization test too is good.
    Can you please help me?
    Thanks,
    Subbu

    Hi Subbu,
    Let's check things again:
    Match and validate things with this old link;
    http://help.sap.com/saphelp_scm41/helpdata/en/57/c42c08b09fe547a2460e1e6a4604f3/content.htm?
    frameset=/en/5a/bcdf371babfa0fe10000009b38f842/frameset.htm&current_toc=/en/9b/954d3baf755b67e10000000a114084/plain.htm&node_id=87&show_children=false
    Divyanshu

  • HT204053 I tried to make a purchase with my apple id after changing the experiration date on my credit card and it does not work

    I tried to make a purchase from the app store ( the French app store using my French apple ID and credit card) , i had just changed the experition date for my credit card and it did not work, should I do anything else?
    Thanks

    Then you should contact them:
    http://www.apple.com/emea/support/itunes/contact.html

  • Error during retrieval of the logon data store

    Hi guys,
    well after checking and changing RFC-Destination we are not able to resend stucked data in Monitor. We still get the error Error during retrieval of the logon data store
    What can we do to solve the issue?!
    br

    Hi, well we did this and got:
    if_http_client send http_communication_failure
    Therefore i checked SM59 INTEGRATION_DIRECTORY_HMI and the user-pw was invalid?! How comes?!
    We changed it, new cache refresh - but still we are not abel to resend the messages!
    br
    Edit:
    in Monitor we get this error:
    +  <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>FM NLS_GET_LANGU_CP_TAB: Could not determine code page with Q01CLNT100 System-dependent data for entry /RFC/Q01CLNT100 ch FM NLS_GET_LANGU_CP_TAB</SAP:P1>
      <SAP:P2 />  +
    Seems to me like role problems we once solved!

  • Why can't I change the Created Date on a file using Terminal?

    I bought a used Contour helmet camera to take pictures of the kids while they're skiing, and I cannot access the camera itself to change the clock in it (USB port is broken).
    I get videos from it just fine, but every time I remove the battery the date/time on the camera resets to January 2008, so my skiing videos end up someplace completely different from what I expect in iMovie.
    I thought I could change the Created Date with Touch in Terminal, but it only handles the Modified Date.  I know I can purchase File Date Changer 5 from the App Store to do this, but I'd like to know why I can't do it in Terminal.
    Anybody know?  Or know of a different way that I COULD do it in Terminal?

    pessex wrote: Anybody know?  Or know of a different way that I COULD do it in Terminal?
    Don't know about Terminal, but, because you are using 10.9.x and iMovie, try the iMovie method:

  • How to change the default date in Person assignment tab?

    Hi experts,
    Does anyone know how to change the default date in person assignment tab in cj20n? Currently, the system always take the scheduled finish date to the date of the person assignment tab. Can I change it to the start date?
    Thanks and rgs,
    Michelle

    Hi Michelle,
    Goto SPRO->Project system->Dates->Scheduling->Specify Parameters for Network Scheduling, Here you can control the workforce planning dates.
    Hope this is useful...
    Regards
    Aatish

  • How to change the posting date in UD stock posting for a HU managed item?

    Hi,
    We are using Handling Unit managed items with QM activation. For a specific HU managed material, we wanted to post the stock on a previous date. We have created PO on a back date and made GR also on a back date. Now the problem is, the system has generated an inspection lot. Now while trying to do UD and stock posting, I do not see the "Doc" tab which we normally see in UD stock posting for normal inspection lots (non-HU managed items) for changing the date.
    I don't see any other way to change the posting date for the HU managed item in UD stock posting. Anyone can help please?
    Thanks & Regards,
    Madhavan Krishnamoorthy.

    I don't think you can.
    Craig

  • Is there a way to change the Digitised Date for Mov files in Lightroom?

    I am scanning some old photos.  Unfortunately Programs such as Dropbox and OneDrive display Mov files by their digitised Date.
    Consequently, My scanned photos are shown by the date that I scanned them. I can not seem to find anyway in LightRoom to change the Digitised Date so that they are shown on OneDrive/Dropbox in the correct order on my iPad.
    Any help would be appreciated.

    Your subject line says "Mov files" (which are video files), but your message talks about scanning old photos.  I'll address the old photos issue.
    Because there are so many dates/times associated with photos, and because every program feels free to use its own names, it's critical to be pedantically precise about terminology. The date/time a photo was originally taken (when the shutter was pressed) is called Date/Time Original or Capture Date. The date/time a photo was transferred to digital media is called Date/Time Digitized (when the analog file was scanned or when the digital-camera shutter was pressed). 
    A good rule of hygiene is to ensure every photo has a Date/Time Original (capture date).  Typically only digital archivists care about maintaining Date/Time Digitized.  If you ensure that every photo has a Date/Time Original, then pretty much any modern app and Web site will order your photos correctly.
    In LR, you set Date/Time Original using the Metadata > Edit Capture Time command.  By default, LR won't write the capture time back to the file's metadata, so depending on how you are transferring photos to other programs, the capture time won't necessarily get transferred.  So you either need to do Metadata > Save Metadata To File, or better, set the option Catalog Settings > Metadata > Automatically Write Changes Into XMP.
    Unfortunately, LR's Edit Capture Time isn't very flexible with dealing with scanned photos in which the precise date/time is not known.  So some people like to set an entire batch to, say, 1963/10/01 00:00:00, while others like to have each photo set in increasing increments of 1 second, so that programs will at least maintain the known relative ordering (which comes from the film or slide ordering).   To do that, you'll need a third-party plugin, e.g. ExifMeta or CaptureTime To EXIF.

  • How can i change the Creation Date of a video (mts-Format)?

    I work with Phohoshop Elements 13 an i use Online-Album (Revel)
    My Problem:
    I would like to change the Creation Date of a Video-File (mts-Format). I don't no why but the date (in Metadata) is wrong and i would like it to change. If i change it in Photoshop Elements the Date (Edit... Change Date...) it seems that the date has changed, but in reality in the Metadata is still the wrong date (see attachment).
    Why this ist important for me:
    The Adobe Revel (Online-Album) takes always the date from the metadata which is wrong.
    Any idea how i can resolve my Problem?
    How i can change the Metadata?

    Hi,
    Did you get help ? Or do you have a work around ? I have about 20.000 Pictures and countless videos to organize myself.
    I just ran into the same problem. Except that after a while Adobe will undo the changes I have made to the date.
    Here's a  screen shot I just made of one of the files.
    Look at this one ! This one is really interesting:
    After changing the date to : 1889 . Adobe changed it to 01.01.1970 00:59

  • Need to change the targeting group of a Rule or monitor after a alert is created.

    Hi All,
    I have created many alerts and they are working fine. Currently due to business requirement we have installed Windows server 2012 operating systems in our production environment. But we have targeted the
    "Windows server 2008 r2 full operation system" group as per the below screen shot. As we now have to import the management pack for Windows server 2012 as well.
    What we have planned is to change the targeting group from "Windows server 2008 r2 full operation system"
    to "Windows server operating system group" so the alert / monitor or rule will target all windows server which has been discovered in SCOM rather that only the servers running Windows server 2008 r2.
    I was also not able to set overrides for this as that server was not coming under Windows server 2008 r2 full operation system as it was a Windows server 2012 agent.
    I can also go ahead and create new alerts but i have created custom of 1000 alerts and i cannot go ahead and re create them.
    Is there any way to change them. If yes Can i do a bulk change via powershell ?
    Below is the screenshot of what i really want. Can any on e please help.
    Gautam.75801

    You can't really change the target class of a monitor in a sealed vendor pack. If this is your own custom pack, then you can change the target class no problem, but this would need to be done on the unsealed XML (using VSAE or some other authoring tool).
    Then you can seal the pack and re-import (should be upgrade compatible, since you are just changing the target).
    I'm not familiar with this particular monitor in your screenshot, but it looks like this should probably target Exchange? If this is the case, then I would recommend targeting the closest typed class that the monitor should run against. In this case, some
    type of Exchange class that is already in the Exchange management pack.
    Otherwise, you can also create your own custom class for targeting, which I describe in detail on my blog.
    Here are all my sample VSAE fragments.
    Here is an example of
    using the Application Component base for your new class.
    Here is an example of
    using Local Application base for your new class.
    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

  • Error message while changing the delimit date of a job in ppome

    Hi experts,
    I have delimited a job in ppome to date 11.05.2011. But now i want to remove that delimit date and change it to unlimited(31.12.2999). when iam trying to change the delimit date it is showing a popup message 'select a date between 15.11.2008 and 11.05.2011'. Can anyone say why it is showing this message. how can i delimit that job again to 31.12.2999.? Same problem with the position also.
    Pls help...

    Dear Priaynka,
    Thanx for ur reply, I am again furnishing below the details:-
    I have to change the Valuation Class of the material :-
    7 POS for which Goods Receipt & Invoice Receipt have been done from period 1 to 7.
    1 PO for which Goods Receipt & Invoice Receipt have not been made.
    All the material reced in period 1-7 have been consumed by MFBF. Now no material is available in the material in that plant.
    Should I change the valuation class by deleting the line item of all the PO's  7 POs + 1 PO.
    Please advise, as the fresh PO will be made with new val class and GR/IR and Consyumption will happen after the change is made.
    Please advise if I am wrong in the procedure.
    Regards,
    Alok

  • Tax Code removed on changing the posting Date in Purchase Order

    Dear All,
    This is with reference to the Purchase Order Document tax part, the document has been defined with the approval procedure and document series followed as annual series. The document series is linked to the period indicator as I am using the monthly series for the A/R & A/P Invoice.
    Now some Purchase Order was generated in the last month i.e. 30 NOV 07 which has gone for approval. These document are approved in the current month (Dec 07) & user are trying to add the records it displays the message as "Date deviates from permissible range [Purchase Order - Posting Date]  [Message 173-11]" as the period indicator is changed to Dec 07 in document numbering.
    The problem is when user changes the document date to Dec 07 for posting; system removes the tax codes, which is available in the document. Now as this is approved document user is not able to change or renter the tax codes.
    In this situation what can be done as the same case will again happen for the next month.
    Pls. provide the solution / work around for this problem.
    Regards,
    Yogesh Jadav

    hi yogesh,
    Cancel/Close the created purchase order.
    First you should change docduedate in posting period upto december 2007/end of fiscal year,by following the below path.
    (Administration->sytem intialization-> general settings--> posting period tab)
    Create a new purchase order.
    Send it for approval,authorizer can change date as required,
    once the posting date changes,tax code get refreshed,authorizer
    need to select tax code once again.
    <b>Tax code normally get refreshed when you change posting date it's normal
    system behaviour.</b>
    After authorizer does above changes,he can approve purchase order.
    Once purchase order is approved,orginator can add it as purchase order in draft stauts.
    <b>After approval we can not do any changes in purchase order.</b>
    Hope my solution will solve the problem.
    Thanks,
    With regards,
    A.Jeyakanthan

  • Short dump while changing the end date of infotype 0167 through PA30

    Hi all,
    I am getting short dump while changing the end date of infotype 0167(Health Plans) through Tcode PA30.
    dump descript is as below
    An exception occurred that was not caught.
    Runtime Errors         UNCAUGHT_EXCEPTION
    Except.                CX_HRPA_VIOLATED_POSTCOND
    Date and Time          11.03.2010 07:06:26
    What happened?
        The exception 'CX_HRPA_VIOLATED_POSTCONDITION' was raised, but it was not
         caught anywhere along
        the call hierarchy.
        Since exceptions represent error situations and this error was not
        adequately responded to, the running ABAP program
         'CL_HRPA_SAPUP50R_ADAPTER======CP' has to be
        terminated.
    thanks
    shahid

    Search OSS Notes for that.

Maybe you are looking for

  • Adjust the width of a column in a report.

    Hi, How can we adjust the width of a column in a report. We have a report with around 10 columns. out of the 10 columns 1 column has a width of 500 char.. we want to display only the first 150 chars of that column with 50 char on first line,next 50 o

  • Issue in PO Version Management

    We have recently configured release strategy for PO in SAP. Now there is issue with Version management. Consider X and Y are users responsible for Purchasing activities. Scenario prior to Release Strategy Configuration: If X has created PO and if it

  • One user account on Macbook Pro is painfully slow

    We have 2 user accounts on our 2011 Macbook Pro.  My user account is extremely slow when doing everything from opening apps to using the net and the colourful spinning wheel is driving me nuts!  iPhoto is one of the worst and is something I use quite

  • Illustrator CC 2014 won't start anymore, Windows 7

    Illustrator CC 2014 has been working fine ever since I installed it up until 2 days ago. I tried to open the program and it showed a box with "Could not complete the requested operation". I saw there was an update available so I installed that and no

  • Thunderbolt 2 and Presonus 24.42

    I've just bought a Presonus Studiolive 24.4.2 board (not the AI version).  It's on back order and scheduled to arrive at the end of this month.  I'm in need of a new laptop and was looking at MacPro, which I'll use to run Presonus's Capture software