How to apply PO template from test database to live database?

I have created a PO template in my test database and I want to apply to the live database. Is any way to accomplish this task? i.e. any import or export method between different database? (Test environment or live environment?)

First go to your TEST database.  Open your PO template in the design mode.
Go to Print Layout Designer menu --> Display document properties --> General tab and copy the document ID (example: POR200....)
Please Note:   
LIVE = [Your LIVE DB NAME] and
TEST = [Your TEST DB NAME]
USING SQL
INSERT INTO [LIVE].[dbo].[RDOC]
SELECT * FROM [TEST ].[dbo].[RDOC] WHERE [TEST ].[dbo].[RDOC].DOCCODE = 'POR20...'   -
(document ID copied above)
INSERT INTO [LIVE].[dbo].[RITM]
SELECT [TEST].[dbo].[RITM].* FROM [TEST].[dbo].[RITM]
WHERE [TEST].[dbo].[RITM].DocCode = 'POR20...'   -
(document ID copied above)
This should work.
Best Wishes

Similar Messages

  • How to apply a change from logical to retional model without populate eryth

    How to apply a change from logical model to retional model without populate everything? Thanks!

    I know it. Thanks!

  • How can I delete templates from MY TEMPLATES in Pages?

    How can I delete templates from MY TEMPLATES i Pages?

    Pages stores those you created & saved as templates in (your account) > Library > Application Support > iWork > Pages > Templates > My Templates. The user's Library is hidden in Lion & Mountain Lion but it is easy to open. In Finder, hold down the Option key while clicking on the Go menu & your user Library will appear about halfway down the list. Or you can choose Go to Folder from Go menu in Finder & paste this line in the box:
    ~/Library/Application Support/iWork/Numbers/Templates/My Templates/

  • How to configure Crystal Report from Test DB to Production DB

    Hi,
    I have a VB/asp.net application that is currently using Oracle DB.
    Now, I'm creating a new Crytal report that will connect using any userID, password, database, servername on runtime.
    When I created the Crystal Report I used the Oracle OLE/DB connection using the test database logon information now I would like to make this  dynamic at form load event which I have my crystal report viewer configured and then pass the dataset regardless if it is coming from test or production database.
    Now, at form load connection using the test database I can see the report properly which I provided with the same logon information when the crystal report was created but when I switch the login using the production database, it doesn't get the correct datasource and logon information and it still uses the test datasource.
    I would appreaciate if you can give me a solution or any links of the previous threads that has similar issue with resolution or any sample that may help.
    Thank you,
    Ryan

    Hi Ryan
    I'd start with these samples:
    csharp_win_dbengine.zip / vbnet_win_dbengine.zip
    csharp_win_subreport_logon.zip / vbnet_win_subreport_logon.zip
    Link to the samples and others is in this wiki: Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    Next, I find the Crystal Reports for Visual Studio 2005 Walkthroughs to be an absolute gem (and it applies to all versions of CR and VS).
    And of course, the developer help files:
    SAP Crystal Reports .NET SDK Developer Guide
    SAP Crystal Reports .NET API Guide
    Now, one thing you don't mention is which APIs you are using; CR, or RAS - both of which may be available to you depending on the version of CR and VS you are using... RAS Developer Help files are here:
    Report Application Server .NET SDK Developer Guide
    Report Application Server .NET API Guide
    The RAS APIs are a bit more complicated, but way more powerful. And there is even a utility that will write the DB logon code for you:
    KBA: 1553921 - Is there a utility that would help in writing database logon code?
    Finally, don't forget to search this SCN Space. Search box is in the top right corner. I find using short search string is best. E.g.; 'crystal net logon' will return a number of KBAs (notes), wikis, blogs, etc., etc.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to upload the data from XML file to SAP database using IDOC

    Hi,
    I need some steps  to upload  data from XML format file from other directory to SAP database using IDOC.
    how to approch this please if any one knows give me ans
    it will be a great help ful to me
    Thanks in Advance
    Mallik

    Thank you vijay,
    But i heard that by using this Fun modules, when we are passing IDOC in back ground schedule,  so some other depended FM not supporting, so how to approach this and how to avoid this problem. 
    Have you worked on this before if any one worked on this please help me out
    And thank you once again for your valuable information
    Best Regards
    Mallik

  • How to call translation template from bursting control file.

    Hi All,
    Greetings!!!!!!!!!!!!!
    Need help on calling translation template from the bursting control file.
    While calling the translation template from bursting control file it ends in error. Following is the error
    [063010_063059160][][EXCEPTION] The URL ( xdo://XXX.XXXPOXPRPOL.fr.CA/?getSource=true ) is invalid.
    But same control file is working for standard tempalte.
    Here is the sample control file.
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:request select="/XXXPRPOLXML/LIST_G_MANUAL_PO_NUM_TYPE/G_MANUAL_PO_NUM_TYPE/LIST_G_HEADERS/G_HEADERS">
    <xapi:delivery>
    <xapi:email id="123" server="nasmtp.us.XXX.com" port="25" from="${C_ORIGINAL_BUYER_EMAIL}" reply-to ="">
    <xapi:message id="123" to="${C_VENDOR_CONTACT_EMAIL}" cc="" bcc=""
    attachment="true"
    subject="Purchase Order ${POH_PO_NUM} revision ${POH_REVISION_NUM} from XXX">
    ${POH_VENDOR_CONTACT_NAME},
    ${C_MAIL_SUBJECT}
    PO number ${POH_PO_NUM} revision ${POH_REVISION_NUM}
    Please reply to ${C_ORIGINAL_BUYER_EMAIL} - ${POH_ORG_ID}
    Thank you,
    ${POH_BUYER}
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="${POH_PO_NUM}-rev${POH_REVISION_NUM}" output-type="pdf" delivery="123">
    <xapi:template type="rtf" location="xdo://XXX.XXXPOXPRPOL.en.US/?getSource=true" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !=''and POH_ORG_ID = 54]"></xapi:template>
    <xapi:template type="rtf" location="xdo://XXX.XXXPOXPRPOL.fr.CA/?getSource=true" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !='' and POH_ORG_ID = 161]"></xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    Please let me know how to call a translation template from bursting.
    Thanks
    Rajesh

    Got the solution...
    This is how we have to call a translation template from bursting file.
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:request select="/XXXPRPOLXML/LIST_G_MANUAL_PO_NUM_TYPE/G_MANUAL_PO_NUM_TYPE/LIST_G_HEADERS/G_HEADERS">
    <xapi:delivery>
    <xapi:email id="123" server="nasmtp.us.XXX.com" port="25" from="${C_ORIGINAL_BUYER_EMAIL}" reply-to ="">
    <xapi:message id="123" to="${C_VENDOR_CONTACT_EMAIL}" cc="" bcc=""
    attachment="true"
    subject="Purchase Order ${POH_PO_NUM} revision ${POH_REVISION_NUM} from XXX">
    ${POH_VENDOR_CONTACT_NAME},
    ${C_MAIL_SUBJECT}
    PO number ${POH_PO_NUM} revision ${POH_REVISION_NUM}
    Please reply to ${C_ORIGINAL_BUYER_EMAIL} - ${POH_ORG_ID}
    Thank you,
    ${POH_BUYER}
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="${POH_PO_NUM}-rev${POH_REVISION_NUM}" output-type="pdf" delivery="123">
    <xapi:template type="xsl-fo" location="xdo://XXX.XXXPOXPRPOL.fr.CA" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !='' and POH_ORG_ID = 161 and CLANGUAGE2 = 'fr']"></xapi:template>
    <xapi:template type="rtf" location="xdo://XXX.XXXPOXPRPOL.en.US/?getSource=true" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !='' and POH_ORG_ID = 54 or POH_ORG_ID = 56 or (POH_ORG_ID = 161 and CLANGUAGE2 = 'en')]"></xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    where
    XXX - Application shortname
    XXXPOXPRPOL - Template Code
    Hope this helps!!!!!!!!!!!!!!!!!!!!!
    Regards
    Rajesh

  • How to delete a template from pages

    Hi
    Does anyone know how to delete a template fom pages?

    Pages stores those you created & saved as templates in (your account) > Library > Application Support > iWork > Pages > Templates > My Templates. The user's Library is hidden in Lion & Mountain Lion but it is easy to open. In Finder, hold down the Option key while clicking on the Go menu & your user Library will appear about halfway down the list. Or you can choose Go to Folder from Go menu in Finder & paste this line in the box:
    ~/Library/Application Support/iWork/Numbers/Templates/My Templates/

  • How to download a template from BDN to a program?

    Hi,
    There is an excel sheet in BDN(t-code-oaor). I need to call this template in a report.
    After that I will fill data in this excel and download it on the local PC.
    I need suggestions that how can I do it?

    This is  sample prog for downloading the template from BDN to local system.
    REPORT  YVAI_SV_LOC.
    type-pools : slis.
    Tables containing the Fields for appl. toolbar on selection screens.
    tables : sscrfields.
    Business Document Navigator: Internal Connection Table for the
    download of excel template.
    data:  begin of i_bds_conn occurs 10.
            include structure bdn_con.
    data:   objecttext  like toasp-objecttext,
            objecttext2 like toasd-objecttext,
            objecttext3 like toasr-objecttext,
            ntext       like tojtt-ntext,
         end of i_bds_conn.
    *data : i_local_path_for_copy like rlgrap-filename.
    **i_local_path_for_copy = 'E:\'.
    data: gv_flag    type xflag,
          gv_item_no type i.
    data: gs_bds_conn_marked like i_bds_conn occurs 5 with header line.
    data: l_ipi(40) type c.
    selection-screen function key 1.
    selection-screen begin of block c1 with frame title text-001.
    parameters : p_po type rlgrap-filename
                        obligatory default 'E:\test98.xls'.
    selection-screen end of block c1.
    Intialization for the text for function key.
    Create application toolbar with following mentioned text
    initialization.
      move text-tit to sscrfields-functxt_01.
    At selection screen on value request the file seach is performed.
    File search opens standard window pop-up for searching the file.
    *AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_po.
    PERFORM file_search.
    at selection-screen.
      if sscrfields-ucomm = 'FC01'.
    The Excel Id and other information is to be passed to the program
    SAPLBDS_TOOLS to get the excel template.
        perform fill_bds_data.
       perform export_document
         in program saplbds_tools
             using gs_bds_conn_marked.
        perform y_export_document
              using gs_bds_conn_marked.
      if sy-subrc = 0.
        call TRANSACTION 'YVAI_TEST98'.
      endif.
    call TRANSACTION 'YVAI1'.
      elseif sscrfields-ucomm = 'ONLI'.
    The Check for the file Existence for uploading.
        call function 'DX_FILE_EXISTENCE_CHECK'
          exporting
            filename       = p_po
            pc             = 'X'
          importing
            file_exists    = gv_flag
          exceptions
            rfc_error      = 1
            frontend_error = 2
            no_authority   = 3
            others         = 4.
        if sy-subrc <> 0.
          message id sy-msgid type sy-msgty number sy-msgno
                  with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.
        if gv_flag = ' '.
          message e070(zf) with p_po.
        endif.
      endif.
    *&      Form  fill_bds_data
          Passing the Required parameters for the excel.
    form fill_bds_data .
      gs_bds_conn_marked-client = sy-mandt.
      gs_bds_conn_marked-classname = 'SOFFICEINTEGRATION'.
      gs_bds_conn_marked-classtype = 'OT'.
      gs_bds_conn_marked-objkey = 'SOFFICEINTEGRATION'.
      gs_bds_conn_marked-loio_id =
                                'BDS_LOC2  DDBD0807B93B26F19ED30050569F4158'.
      gs_bds_conn_marked-doc_ver_no = '1'.
      gs_bds_conn_marked-doc_var_id = '1'.
      gs_bds_conn_marked-doc_var_tg = 'OR'.
      gs_bds_conn_marked-descript = 'VCPI'.
      gs_bds_conn_marked-langu = 'E'.
      gs_bds_conn_marked-comp_id = 'vai - test99 file.xls'.
      gs_bds_conn_marked-mimetype = 'application/vnd.ms-excel'.
      gs_bds_conn_marked-contrep = 'BDS_DB2_R'.
      gs_bds_conn_marked-docuclass = 'XLS'.
      gs_bds_conn_marked-doc_type = 'BDS_SHEET'.
      gs_bds_conn_marked-stor_tab = '2'.
    endform.
                        " fill_bds_data
    form y_export_document using i_bds_conn_marked structure i_bds_conn.
    -- data declaration                                               -- *
      data: local_signature like bapisignat occurs 1 with header line,
            export_components like bapicompon occurs 5 with header line,
            i_local_path_for_copy like rlgrap-filename,
            popup_fields like sval occurs 5 with header line.
      DATA : i_files like bapifiles occurs 1 with header line.
      clear:   i_files.
      refresh: i_files.
    -- check if document is currently in change modus                 -- *
    if ( ( i_bds_conn_chng-loio_id    = i_bds_conn_marked-loio_id and
         i_bds_conn_chng-doc_ver_no = i_bds_conn_marked-doc_ver_no and
         i_bds_conn_chng-doc_var_id = i_bds_conn_marked-doc_var_id and
           i_bds_conn_chng-doc_var_tg = i_bds_conn_marked-doc_var_tg )
            and (  i_bds_conn_chng-loio_id <> space and
                   i_bds_conn_marked-loio_id <> space  )
            and ( doc_chng_is_open = 'X' ) ).
         -> set info popup -> doc can not be exported
       message i337(sbds).
    endif.
    -- check if components exist                                      -- *
    -- fill signature table
      local_signature-doc_count  = '1'.
      local_signature-doc_id     = i_bds_conn_marked-loio_id.
      local_signature-doc_ver_no = i_bds_conn_marked-doc_ver_no.
      local_signature-doc_var_id = i_bds_conn_marked-doc_var_id.
      local_signature-doc_var_tg = i_bds_conn_marked-doc_var_tg.
      append local_signature.
      call function 'BDS_BUSINESSDOCUMENT_GET_INFO'
        exporting
          logical_system  = i_bds_conn_marked-log_system
          classname       = i_bds_conn_marked-classname
          classtype       = i_bds_conn_marked-classtype
          client          = i_bds_conn_marked-client
          object_key      = i_bds_conn_marked-objkey
          all             = 'X'
        tables
          components      = export_components
          signature       = local_signature
        exceptions
          nothing_found   = 1
          parameter_error = 2
          not_allowed     = 3
          error_kpro      = 4
          internal_error  = 5
          not_authorized  = 6
          others          = 7.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
        with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    -- get path for export                                            -- *
      call function 'WS_QUERY'
        exporting
          query          = 'CD'
        importing
          return         = i_local_path_for_copy
        exceptions
          inv_query      = 1
          no_batch       = 2
          frontend_error = 3
          others         = 4.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
        with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    -- get path for the documents by the user                         -- *
    perform get_local_path using i_local_path_for_copy.
      loop at export_components.
        i_files-doc_count  = export_components-doc_count.
        i_files-comp_count = export_components-comp_count.
        i_files-comp_id    = export_components-comp_id.
       i_files-directory  = i_local_path_for_copy.
         i_files-directory  = p_po.
        append i_files.
      endloop.
      call function 'BDS_BUSINESSDOCUMENT_GET_FILES'
        exporting
          logical_system  = i_bds_conn_marked-log_system
          classname       = i_bds_conn_marked-classname
          classtype       = i_bds_conn_marked-classtype
          client          = i_bds_conn_marked-client
          object_key      = i_bds_conn_marked-objkey
        tables
          files           = i_files
          signature       = local_signature
        exceptions
          nothing_found   = 1
          parameter_error = 2
          not_allowed     = 3
          error_kpro      = 4
          internal_error  = 5
          not_authorized  = 6
          others          = 7.
      if sy-subrc <> 0.
       message i338(sbds).
      else.
       message i339(sbds).
      endif.
    endform.                               " EXPORT_DOCUMENT

  • How to apply a template to a page uploaded using sftp?

    I would like to upload the .html document with the appropriate template using sftp instead of applying the template using BC's back end.

    Hi,
    You cannot apply/assign a template to a page via sftp.  You'll need to action this via back-end or using DW.  Since you prefer not doing this in the back-end DW extension would be the alternative. 
    - http://tv.adobe.com/watch/introducing-business-catalyst/getting-started-with-business-cata lyst-and-dreamweaver-cs6-creating-and-publishing-sites/
    Kind regards,
    -Sidney

  • How to make a template from an existing document on my ipad Air 2 using word

    I want to know if it's possible to make make a template from an existing document on my ipad Air 2 using the free microsoft word app.
    Thank you

    RAW import is not yet supported. Just guessing that this is what you were trying . - Guido

  • How to migrate xml report from test to prod?

    Hi,
    We are using BIP 10.1.3.2 standalone. I've one simple question for migrating report from test enviornment to production.
    Is there any standard method for migration?
    Like in Discoverer we can simply export report and import it in prod environment.
    Thanks...

    Thanks for your reply. That's one describes for EBS version of BIP. I'm looking for standalone version of BIP enterprise.

  • Python + Miro from testing lead to corrupted database

    This update today was a killer. Miro just blew up and took all my channel metadata along with it to the tune of 'corrupted database'.
    It doesn't work even when I delete the .miro folder from my home. The thing errors out when I try to close it and stays open...
    OT: I've had a fair share of problems with Miro so I think it's time to look for something less bloated and less fragile. Any ideas?

    user3006396 wrote:
    Hi Experts,
    On one of the servers with Windows Server 2008, we have 5 Oracle 11g databases installed for our dev & testing environments.
    With the help of oracle client we are connecting to those server db's.
    Last Friday,for one of the db's, I have populated a million records to few tables and everything was fine on that day.
    Suddenly on this Monday, one of the front-end users complained that the db was not working. We are not able to connect to that db, but able to connect to one of the other db's on the same server.
    Message thrown was :
    " ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor "
    I connected to server and tried to login from there..the same message was thrown, but able to connect to other db's.
    Finally I set the oracle_home path to the db to which i was not able to login and connected using
    something like....
    conn /as sysdbaidle instance
    startup;database mounted
    database started
    After that i was able to connect to that db as well as all other db's on the server.
    My doubt is, why suddenly that stopped working and it didn't work until i use "startup" command ?
    Also, how DBA's maintain server's with multiple oracle_home's?(though recommended to have multiple schema's instead of multiple db's)
    I'm the only Oracle guy in the team and need to take care of everything(basically i'm developer and new to DBA related tasks)
    My lead's warned me to make sure that it won't happen again !!
    Thanks guys.. you are always awesome in giving nice suggestions.find alert_SID.log file post excerpt showing entries from period just prior to the DB STARTUP.
    it appears the instance went missing.
    Hopefully the log file will have clues as to why it went away.

  • How to apply white balance from jpeg to raw version

    I always shoot in RAW + jpeg format.  Many times the jpeg will work fine and I still have the RAW if I want to take the time to tweak things a bit more.
    But sometimes the jpeg stumbles on a white balance that works well for a particular image.  If I want to apply that same balance to the RAW version, I would like to be able to read what that color balance setting (in K degrees I assume) is so I can copy it.
    Is there a way to find that info somewhere?  The exif will only give you the name of the setting (Flash, Auto, Cloudy, whatever...) but not the numerical info needed to apply it in Aperture's White balance adjustment.
    I use a Nikon D600.
    Thanks very much for any info!
    Bo

    OK, progress!
    I found out from Iliah Borg on the dpreview.com forum that the utility ExifTool (or its GUI version pyExifToolGUI) will provide the R, B, G1 and G2 values for the white balance setting.  They are provided as multipliers or absolute vaules.  Example:
    WB RB Levels : 1.51953125 1.8515625 1 1
    WB GRBG Levels : 256 389 474 256
    Now does anyone know how you can enter these type of numberic values in Aperture?  The standard White Balance brick does not have input fileds for these types.

  • How to call different templates from EBS 11i?

    Hi,
    I have three templates having same layout but different page width and heigth.
    How can i call these three templates conditionally from main template in EBS.
    Need urgent help
    Thanks,
    Mahesh

    Register them as subtemplates in Main template using syntax given below
    <?import:xdo://SDS.SDSCOMINVHDBG.en.US?>
    (<?import:xdo://<Application short name>.<Template name as registered>.<language>.<Territory>?>)
    and call them in main template based on condition as relevant.
    Thanks
    Kamalakar.G

  • How to apply new templates to legacy FrameMaker documents?

    I have to update the overall style of a large number of legacy FrameMaker 6/7/8 documents. These documents implement a set of legacy FrameMaker templates.
    I'd like to know how can I apply a new FrameMaker template to a legacy document, so that the styles of legacy document are updated. Also, is there some way to "batch-process" new template application to legacy documents, reducing the time involved in updates?
    Regards,

    Hi vmugdha,
    With FrameMaker 6/7/8/9 you can update existing formats.
    That means, format names did not change, only their defnition.
    You do this with File | Import | Formats.
    Helpful is here e.g. Rick Quatro's ImportFormatsSpecial:
    http://www.frameexpert.com/plugins/importformatsspecial/index.htm
    When also format names changed, you need something which maps old formats
    to new formats. As already mentioned, Cudspan's TemplateMapper can do this:
    http://www.cudspan.net/plugins/executioner.php?do=displayPage&field_tab_num=2
    Helpful is also Rick Quatro's FindChangeSpecial:
    http://www.frameexpert.com/plugins/findchangespecial/index.htm
    Best regards
    Winfried

Maybe you are looking for

  • Payments recieved against Sale Order .

    Dear Friends, I am currently working on a BI report , which would require the payments that are recieved against a Sale order.  As I am not very good in the Functional aspects, I have been struggling to find out .Request you to give me on how this ca

  • Flat File: no data load into Info Cube

    Hi there, i try to load a flat file. When I simulate the upload its works well. But no Data was load in my Info Cube. When I try define a query there are no available. Can someone provide me with a solution for this problem? With rgds Oktay Demir

  • XML Deserialization Error when calling WebService from WebDynrpo

    Hi all, when calling a WebService-method from my WebDynpro-application, I get the following error message: "Deserializing fails. Nested message: XML Deserialization Error. Can not create instance of class [com.karmann.ApplMan.dto.SoftwareKomponenteDT

  • Some Media Offline, and No Sound in Video Export: Premiere Pro & Media Encoder

    I have run into a couple problems: First, sometimes when I try exporting an edited video from premiere, the video shows "Media Offline" even though it plays fine in Premiere. How could I fix this error? Secondly, when I try exporting a different, lon

  • ORACLE STREAMS CAPTURE/PROPAGATE  with Synonyms

    In Source CISADM -- Stores All objects CISUSER -- Stores Synonyms of CISADM In Target CISADM -- Stores All objects CISUSER -- Stores Synonyms of CISADM Streams implemented successfully on CISADM schema. What ever changes happening in source CISADM, t