A technique problem about integration on sap and pos equipment

hi~everyone
   I have two questions to need  every's friend help.
   (1) I have some business data,i want to create the idoc file by ABAP and save   
        the idoc file to application server.
   (2) The external system create a idoc file and send it to sap application server,
        i want to read the idoc file and create a invoice by idoc message .
  I want to come true the function hereinbefore,what should i do ? give some code
   or cues please ,thank you evey much !

Hi,
IDOCs are used to direct communicate between two systems, sometime there may be a middleware(like XI) involved.
Why do you want to save the data to applications server then?
Regards,
Atish

Similar Messages

  • The scenario about integration on sap and pos equipment

    hi~everyone.
        the scenario following:
         (1)the  external system will create sale order ,i plan to come true it by RFC
         (2)without middleware ,i want to incept the idoc file from external  
           system ,the idoc possible is a sale invoice message ,how can i implement
           the idoc file and create a invoice document by idoc file?
      give some cues or advices please ,thank you very much !

    Hi,
    Try IDOC type ORDERS.
    Regards,
    Atish

  • About integration between SAP and non-SAP applications via javaidoc classes

    Hi,All
    Now we are implementing a SAP-Retail project,we encounter a problem of integration between SAP and non-SAP applications(POS),we want to set Inbound/Outbound between SAP and POS applications realtimely,POS can connect to the SAP system via VPN,weather it can be implemented?
    I conceive to implement it with SAP Java Connector IDoc Class,I don't know weather it is the best solution?If not,please give some other proposal.
    I have download the classes from SAP website and try it with the samples provided by SAP(JCoIDocSample1.java/JCoIDocSample3.java),In my testing,Inbound is succeed,but,in SAP-Retail IS,standard Outbound message type is defined via file port,some one told me that SAP Java Connector IDoc Class can only receive idocs from tRFC port?is it true?If not,please tell me how to deploy in SAP so java program can receive idocs from file port?

    We too are interested in finding information on integration between SAP and Intergraph.  Were you able to obtain information and I was wondering if could share this with us.
    Thanks,
    Sue
    City of Edmonton

  • Integration between SAP and third party tax software

    can some body explain me or provide me docs regarding integration between sap and third party tax software like vertex.
    Thanks

    Hi
    First configure the same via the following menu path:
    1.) IMG>Financial accounting>Financial accounting global settings>Taxes on sales/purchases>Basic settings>External tax calculation>Define physical destination
    2.) Then test connection (option is available there).
    3.) If the connection is successful, also verify that the external tax package installed supports the R/3 4.6 version of the API. You do that by going to:
    System Information>Function List
    Check if the following functions are listed:
    • RFC_CALCULATE_TAXES_DOC
    • RFC_UPDATE_TAXES_DOC
    • RFC_FORCE_TAXES_DOC
    • RFC_DETERMINE_JURISDICTION
    4.) Then test the tax data retrieval:
    From SE37, select the relevant function modules like RFC_DETERMINE_JURISDICTION.
    The above 4 steps are necessary to satisfy that the RFC connection is established
    Hope useful
    S Jayaram

  • Problem about tdp for sap rman error

    I installed tdp for sap and scheduled a online backup , after the backup finished, I checked the log.
    all data files were backuped successfully. but there is an error about rman. I do not know how to do about that? Could you help me? I think the backup could be successful without rman, why in the backup log, it shows a rman error .
    I checked the initDEV.sap and initDEV.utl, there is no entry about rman, I do not use rman_util.
    BR0530I Cataloging backups of all database files...
    BR0278E Command output of 'SHELL=/bin/sh /oracle/DEV/102_64/bin/rman nocatalog':
    Recovery Manager: Release 10.2.0.4.0 - Production on Sun Mar 8 13:34:21 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    RMAN>
    RMAN> connect target *
    connected to target database: DEV (DBID=3672496816)
    using target database control file instead of recovery catalog
    RMAN> *end-of-file*
    RMAN>
    host command complete
    RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of catalog command on default channel at 03/08/2009 13:34:23
    ORA-19564: error occurred writing 8192 bytes at block number 1
    ORA-27091: unable to queue I/O
    ORA-27041: unable to open file
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Additional information: 3
    RMAN>
    Recovery Manager complete.
    BR0280I BRBACKUP time stamp: 2009-03-08 13.34.23
    BR0279E Return code from 'SHELL=/bin/sh /oracle/DEV/102_64/bin/rman nocatalog': 1
    BR0536E RMAN call for database instance DEV failed
    BR0280I BRBACKUP time stamp: 2009-03-08 13.34.23
    BR0532E Cataloging backups of all database files failed

    Hello Victor,
    we need the RMAN commands that were executed and at which step this error occurs.
    Maybe it is a problem with the snap controlfile for the AUTOBACKUP or many other scenarios are possible.
    We are also using the TDP for mySAP, but without RMAN support.
    If you want to use just RMAN (like we do for non-SAP systems / no BR*Tools) you can save a lot of license/service costs, if you are using TDP for Oracle, but keep in mind that you are losing the support for that by SAP. You can directly open a call by oracle for these situations.
    If you want this scenario as described we need more detailed information. Maybe a "LIST BACKUP" would also be nice.
    Regards
    Stefan

  • Problem about tdp for sap

    I installed tdp for sap and scheduled a online backup ,  after the backup finished, I checked the log.
    all data files were backuped successfully.  but there is an error about rman.  I do not know how to do about that?  Could you help me?    I think the backup could be successful without rman, why in the backup log, it shows a rman error .
    I checked the initDEV.sap and initDEV.utl,   there is no entry about rman,  I do not use rman_util.
    BR0530I Cataloging backups of all database files...
    BR0278E Command output of 'SHELL=/bin/sh /oracle/DEV/102_64/bin/rman nocatalog':
    Recovery Manager: Release 10.2.0.4.0 - Production on Sun Mar 8 13:34:21 2009
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    RMAN>
    RMAN> connect target *
    connected to target database: DEV (DBID=3672496816)
    using target database control file instead of recovery catalog
    RMAN> *end-of-file*
    RMAN>
    host command complete
    RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of catalog command on default channel at 03/08/2009 13:34:23
    ORA-19564: error occurred writing 8192 bytes at block number 1
    ORA-27091: unable to queue I/O
    ORA-27041: unable to open file
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Additional information: 3
    RMAN>
    Recovery Manager complete.
    BR0280I BRBACKUP time stamp: 2009-03-08 13.34.23
    BR0279E Return code from 'SHELL=/bin/sh /oracle/DEV/102_64/bin/rman nocatalog': 1
    BR0536E RMAN call for database instance DEV failed
    BR0280I BRBACKUP time stamp: 2009-03-08 13.34.23
    BR0532E Cataloging backups of all database files failed
    Edited by: victor on Mar 9, 2009 2:30 AM

    Victor,
    Looks like you have permission problems. Please check attached note to correct them.
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=113747]
    Hope this helps.
    Manoj Chintawar

  • Problem on integrating forms 6i and reports 6i on web

    Hai,
    I am integrating forms 6i and reports 6i on web.if one user access the reports then no problem.If multiple users access the reports on same time the the server is goslow down,some error (memory related) is also coming.Please any body can explain about this problem?.
    And tell me i have to use concurrent manager or without concurrent i can solve the problem?.
    Thank you....
    with regards,
    Thivan.A.S.

    is your application server big enough for the application you host? Did you test it before going production with a stress test? There are several good white papers from oracle in the forms-section on the OTN.
    it sounds, that you run out of memory when starting some reports. Because reports sometimes (depends on the report) uses much more memory than a form you can temporarily run out of memory.
    check the memory usage on the server if possible, when running such reports

  • Can you recommend the best way to do an integration between SAP and Dynamics?

    Hi,
    I have a requirement to develop a integration process between SAP and Dynamics. Both environments will be deployed in Azure, so there isn't any on-premise machine involved.
    I've to implement two different business processes:
    A request is received from SAP and some data is sent to Dynamics
    A request is received from Dynamics and some data is stored in SAP
    My client is requiring me to define a cloud integration architecture that fits to the requirements.
    Doing some research, I have thought three possible architecture models.
    Use BizTalk Server as IAAS: the provision a full BizTalk virtual machine will fit each requirement. The bad thing is that it will have a big cost for the client.
    Use BizTalk Server as PAAS using BAS: other alternative the using BizTalk Services instead of a BizTalk VM. My idea with this model is using BAS to connect with the SAP and use WCF to connect with Dynamics web services. Can you tell me
    if this model is feasible? Should be the SAP machine a Windows machine in order to install BAS?
    Use BizTalk Server as PAAS using SB Queues: other alternative the using BizTalk Services instead of a BizTalk VM. My idea with this model is using
    SB Queues to connect with the SAP and use WCF or other SB Queues to connect with Dynamics. Can you tell me if this model is feasible? Is required a intensve development in both SAP and Dynamics processes to implement the
    communication using SB-Queues?
    Please, if you have other architecture models that fit better to my requirements, I'd be so grateful for this information.
    Many thanks for your help.
    Best regards.

    I have a Mini and since it has BlueTooth,  got Creative Labs' T3150 BlueTooth speakers so I can "send" music across the house to them. The iPod Touch has BlueTooth, and would work for this kind of setup, I think.

  • About integration between hr and mm

    hai sap friends,
    As per my knowledge integration between Hr and mm
    the transaction code is "oowiz5" and "oomm"
    that means if Training and Event management is implemented, integration happens otherwise
    In any way any scenaio plz
    thanks in advance
    madhu

    Apart from Travel MMis integrated with Time Management
    Valuating work performed by external employees, and monitoring them in Purchasing

  • Sharepoint Integration with SAP and Logistic

    Currently we have been integrating our .net server with SAP and all the project management and document management are stored in Sharepoint.. this is for a logistic company that we have been working with last 3 years.. we would like to make sure any data
    points \integration points that should be considered with SAP during the integration
    thanks -Pal

    Hi,
    As I understand, you want to integrate SharePoint with SAP.
    SAP SharePoint integration enables frequent interaction with SAP processes, which means that systems are constantly being updated with newer, more relevant data. This timely interaction helps ensure the reliability of business information, and strategic
    decision-makers can depend on “one version of the truth” regarding the performance and deployment of the company’s global workforce. There is three methods combining SAP and SharePoint: SAP BI Connector, Duet Enterprise for Microsoft SharePoint
    and SAP, SAP Netweaver Gateway Productivity acceletor for Microsoft.
    These articles below will help you.
    http://www.winshuttle.com/solutions-sap/by-function-task/sap-sharepoint/
    https://www.youtube.com/watch?v=aUmWrOR_B1M
    http://stackoverflow.com/questions/11113381/how-to-integrate-sap-and-sharepoint-by-sap-pi
    Best regards,
    Sara Fan

  • Integration between SAP and Third Party without PI in between

    Hi All,
              We have a requirement where in we need to integrate SAP and a Third Party Product without PI in between.The third party product is exposing their Web services as API.
    So, we have an idea of exposing our RFC/BAPI as web service ,so that it can call/consume the third party web services.On these lines I have a couple of doubts,
    1.How will the monitoring of message be done?Is there any Tcode to monitor the RFC exposed Web services?
    2.What would be the advantages and disadvatages of this approach?
    Thanks.
    Venu

    Well taking out PI will 'exclude' advantages like able to monitor the messages, resending messages, error handling etc.

  • Some problem about integrated ITS 640

    How to change Webgui theme in integrated ITS 640
    Dear all ,
    My system is ECC5,the Package level it SAPKGPRC05,SAPKB64015,SAPKA64015,SAPKH500010.
    now, I configure  integrated ITS with T-code SICF .
    I create a external aliases "/sap/bc/gui/sap/its/webgui" ,aAfter that I can connect to the
    ITS with the following URLs:
    http://<AppServer><domain>:<port>//sap/bc/gui/sap/its/webgui
    But now ,I have some problem cannot solve as follow:
    1 When I logon ITS, the default language is English ,only English and Genman may be
    selected,The requirement is that I want to use other language as the default logon language.
    When I on the pop-up dialog box "Change External Alias" tab " Service data" ,"Anymous Logon
    Data "select a Language "Chinese",the system pop-up a message box show "code page not
    supported".how can i configure the default logon language ?
    2 I hope use "https"-- Security Reqiurements ,as a security link ,so I selected "SSL",aAfter
    that I can connect to the ITS with the following URLs:
    https://<AppServer><domain>:<port>//sap/bc/gui/sap/its/webgui
    IE show cannot find the web system .
    And use the following urls:
    http://<AppServer><domain>:<port>//sap/bc/gui/sap/its/webgui
    only show the logon page and notice the error "Logon not possible; none of the active logon
    procedures is possible"
    and how can I configure the "https" ? and must configure with se38 "W3_PUBLISH_SERVICES"
    program together ,if like that ,i must republish all of the component again ?
    3 I hope change the webgui theme , in ITS620 have theme 00,90 ,99 .and we can select
    "EnjoySAP". but in integrated ITS 640 , i donot know where to find the its admin page to
    setup the theme . can you tell me how can i find the admin page to setup the theme .
    thanks all ,hope your reply !
    Message was edited by:
            Benson Lu

    Hi,
    Hope this Information is useful.
    The SAP Integrated ITS only supports the new "Tradeshow" design (unlike the "standalone" ITS which also supports the well-known EnjoySAP design). The new design is more easily incorporated into the Enterprise Portal and is better adapted to the design of other SAP Web UI technologies (BSP, WebDynpro).
    There are also changes to the header area in SAP integrated ITS in Tradeshow: The menu bar and standard toolbar functions are collected on either side of the transaction code field in the buttons "Menu" (on the left) and "System" (on the right). The application toolbar elements are then displayed to the right. Instead of symbols, the system displays the text description. If there is insufficient space to display all buttons, you can display the other elements by choosing the "More" button to the right of the screen.
    Exceptions:
    In Release 6.40 (NetWeaver 2004) , the new design is only available for the Internet Explorer. As of Release 7.00 (NetWeaver 2004s), it is also available for Firefox and Mozilla Browser. For this reason, the Enjoy design continues to be supported for Mozilla and Firefox in Release 6.40 (but only for these browsers, and even then only for this design, and not Tradeshow).
    Furthermore, in Release 6.40, there are some Internet Application Components (that is, Web applications that build on the ITS), which continue to be displayed with the "Enjoy" design. Of course, the "Enjoy" design continues to be supported for these applications.
    You can use SITSPMON Transaction  to monitor the integrated ITS.
    Thanks,
    Tanuj

  • Problem about writing txt file and  utl_put_line

    After some research on the internet I found the way how to writre files from Oracle 11g to a txt file.
    I read that utl_put_line only holds 32k per line and adds a new line at the end of each row but my problem it´s that if I want to open the file with SQL Server :D it doesn't recognize the CRLF so there is no end line and the last column has the data from the next row. The files are created on Linux so if I open them on Windows i have to convert into DOS format but if I try to open that file with Excel everything works fine, so I was wondering if there is a limit of columns or number of characters that can be on a txt file.
    There is my pl sql that I used to create my txt files:
    -------------------CODE-----------------------------
    declare
    cursor r1 is
    select * from dqstage.st_nomdetalle
    where sistema = 'NOR'
    and procesar = 0
    and identidad=02;
    cursor r2 ( p_parid number) is
    select * from dqstage.st_nomsubdetalle
    where par_id = p_parid
    and procesar = 0
    and sistema = 'NOR'
    and substr(nombrearchivo,6,2)=02;
    vcadena varchar2(4000);
    --vcadena1 varchar2(4000);
    vcadena1 clob;
    vcadena2 long;
    c number:=0;
    vencabezados long;
    archivo sys.utl_file.file_type;
    begin
    archivo:= SYS.UTL_FILE.FOPEN(location=>'UPEPE_DIR',filename=>'nor02.txt',open_mode=>'w',max_linesize=>32767);
    vencabezados :='FILEID|NOMBREARCHIVO|TIPOREGISTRO|IDENTIFICADORREGISTRO|FECHAEMISIONPAGO|CLAVETIPONOMINA|CLAVECT|TURNOCT|RFC|CURP|NUMEMPLEADOESTATAL'
    ||'|NUMSEGURIDADSOCIAL|NOMBRECOMPLETO|NOMBRES|PRIMERAPELLIDO|SEGUNDOAPELLIDO|CODIGOPAGADURIA|IDORIGENPRESUPUESTALPLAZA|CLAVEPRESUPUESTAL|'
    ||'PARTIDAPRESUPUESTAL|CODIGOPAGO|CLAVEUNIDAD|CLAVESUBUNIDAD|CLAVECATEGORIA|HSM|NUMEROPLAZA|CLAVENIVELPUESTO|CLAVENIVELSUELDO|ZONAECONOMICA|'
    ||'PERCEPCIONNETA|CLABECUENTA|NUMEROCHEQUE|CLAVEMOTIVOPAGORETROACTIVO|NUMTOTALPERDED|ERRORES|'
    ||'TIPOCONCEPTO1|CONCEPTOPAGO1|MONTO1|PERIODODEL1|PERIODOAL1|FUENTEFINANCIAMIENTO1|ORIGEN1|ERRORES1|'
    ||'TIPOCONCEPTO2|CONCEPTOPAGO2|MONTO2|PERIODODEL2|PERIODOAL2|FUENTEFINANCIAMIENTO2|ORIGEN2|ERRORES2|'
    ||'TIPOCONCEPTO3|CONCEPTOPAGO3|MONTO3|PERIODODEL3|PERIODOAL3|FUENTEFINANCIAMIENTO3|ORIGEN3|ERRORES3|'
    ||'TIPOCONCEPTO4|CONCEPTOPAGO4|MONTO4|PERIODODEL4|PERIODOAL4|FUENTEFINANCIAMIENTO4|ORIGEN4|ERRORES4|'
    ||'TIPOCONCEPTO5|CONCEPTOPAGO5|MONTO5|PERIODODEL5|PERIODOAL5|FUENTEFINANCIAMIENTO5|ORIGEN5|ERRORES5|'
    ||'TIPOCONCEPTO6|CONCEPTOPAGO6|MONTO6|PERIODODEL6|PERIODOAL6|FUENTEFINANCIAMIENTO6|ORIGEN6|ERRORES6|'
    ||'TIPOCONCEPTO7|CONCEPTOPAGO7|MONTO7|PERIODODEL7|PERIODOAL7|FUENTEFINANCIAMIENTO7|ORIGEN7|ERRORES7|'
    ||'TIPOCONCEPTO8|CONCEPTOPAGO8|MONTO8|PERIODODEL8|PERIODOAL8|FUENTEFINANCIAMIENTO8|ORIGEN8|ERRORES8|'
    ||'TIPOCONCEPTO9|CONCEPTOPAGO9|MONTO9|PERIODODEL9|PERIODOAL9|FUENTEFINANCIAMIENTO9|ORIGEN9|ERRORES9|'
    ||'TIPOCONCEPTO10|CONCEPTOPAGO10|MONTO10|PERIODODEL10|PERIODOAL10|FUENTEFINANCIAMIENTO10|ORIGEN10|ERRORES10|'
    ||'TIPOCONCEPTO11|CONCEPTOPAGO11|MONTO11|PERIODODEL11|PERIODOAL11|FUENTEFINANCIAMIENTO11|ORIGEN11|ERRORES11|'
    ||'TIPOCONCEPTO12|CONCEPTOPAGO12|MONTO12|PERIODODEL12|PERIODOAL12|FUENTEFINANCIAMIENTO12|ORIGEN12|ERRORES12|'
    ||'TIPOCONCEPTO13|CONCEPTOPAGO13|MONTO13|PERIODODEL13|PERIODOAL13|FUENTEFINANCIAMIENTO13|ORIGEN13|ERRORES13|'
    ||'TIPOCONCEPTO14|CONCEPTOPAGO14|MONTO14|PERIODODEL14|PERIODOAL14|FUENTEFINANCIAMIENTO14|ORIGEN14|ERRORES14|'
    ||'TIPOCONCEPTO15|CONCEPTOPAGO15|MONTO15|PERIODODEL15|PERIODOAL15|FUENTEFINANCIAMIENTO15|ORIGEN15|ERRORES15|'
    ||'TIPOCONCEPTO16|CONCEPTOPAGO16|MONTO16|PERIODODEL16|PERIODOAL16|FUENTEFINANCIAMIENTO16|ORIGEN16|ERRORES16|'
    ||'TIPOCONCEPTO17|CONCEPTOPAGO17|MONTO17|PERIODODEL17|PERIODOAL17|FUENTEFINANCIAMIENTO17|ORIGEN17|ERRORES17|'
    ||'TIPOCONCEPTO18|CONCEPTOPAGO18|MONTO18|PERIODODEL18|PERIODOAL18|FUENTEFINANCIAMIENTO18|ORIGEN18|ERRORES18|'
    ||'TIPOCONCEPTO19|CONCEPTOPAGO19|MONTO19|PERIODODEL19|PERIODOAL19|FUENTEFINANCIAMIENTO19|ORIGEN19|ERRORES19|'
    ||'TIPOCONCEPTO20|CONCEPTOPAGO20|MONTO20|PERIODODEL20|PERIODOAL20|FUENTEFINANCIAMIENTO20|ORIGEN20|ERRORES20|'
    ||'TIPOCONCEPTO21|CONCEPTOPAGO21|MONTO21|PERIODODEL21|PERIODOAL21|FUENTEFINANCIAMIENTO21|ORIGEN21|ERRORES21|'
    ||'TIPOCONCEPTO22|CONCEPTOPAGO22|MONTO22|PERIODODEL22|PERIODOAL22|FUENTEFINANCIAMIENTO22|ORIGEN22|ERRORES22|'
    ||'TIPOCONCEPTO23|CONCEPTOPAGO23|MONTO23|PERIODODEL23|PERIODOAL23|FUENTEFINANCIAMIENTO23|ORIGEN23|ERRORES23|'
    ||'TIPOCONCEPTO24|CONCEPTOPAGO24|MONTO24|PERIODODEL24|PERIODOAL24|FUENTEFINANCIAMIENTO24|ORIGEN24|ERRORES24|'
    ||'TIPOCONCEPTO25|CONCEPTOPAGO25|MONTO25|PERIODODEL25|PERIODOAL25|FUENTEFINANCIAMIENTO25|ORIGEN25|ERRORES25|'
    ||'TIPOCONCEPTO26|CONCEPTOPAGO26|MONTO26|PERIODODEL26|PERIODOAL26|FUENTEFINANCIAMIENTO26|ORIGEN26|ERRORES26|'
    ||'TIPOCONCEPTO27|CONCEPTOPAGO27|MONTO27|PERIODODEL27|PERIODOAL27|FUENTEFINANCIAMIENTO27|ORIGEN27|ERRORES27|'
    ||'TIPOCONCEPTO28|CONCEPTOPAGO28|MONTO28|PERIODODEL28|PERIODOAL28|FUENTEFINANCIAMIENTO28|ORIGEN28|ERRORES28|'
    ||'TIPOCONCEPTO29|CONCEPTOPAGO29|MONTO29|PERIODODEL29|PERIODOAL29|FUENTEFINANCIAMIENTO29|ORIGEN29|ERRORES29|'
    ||'TIPOCONCEPTO30|CONCEPTOPAGO30|MONTO30|PERIODODEL30|PERIODOAL30|FUENTEFINANCIAMIENTO30|ORIGEN30|ERRORES30|'
    ||'TIPOCONCEPTO31|CONCEPTOPAGO31|MONTO31|PERIODODEL31|PERIODOAL31|FUENTEFINANCIAMIENTO31|ORIGEN31|ERRORES31|'
    ||'TIPOCONCEPTO32|CONCEPTOPAGO32|MONTO32|PERIODODEL32|PERIODOAL32|FUENTEFINANCIAMIENTO32|ORIGEN32|ERRORES32|'
    ||'TIPOCONCEPTO33|CONCEPTOPAGO33|MONTO33|PERIODODEL33|PERIODOAL33|FUENTEFINANCIAMIENTO33|ORIGEN33|ERRORES33|'
    ||'TIPOCONCEPTO34|CONCEPTOPAGO34|MONTO34|PERIODODEL34|PERIODOAL34|FUENTEFINANCIAMIENTO34|ORIGEN34|ERRORES34|'
    ||'TIPOCONCEPTO35|CONCEPTOPAGO35|MONTO35|PERIODODEL35|PERIODOAL35|FUENTEFINANCIAMIENTO35|ORIGEN35|ERRORES35|'
    ||'TIPOCONCEPTO36|CONCEPTOPAGO36|MONTO36|PERIODODEL36|PERIODOAL36|FUENTEFINANCIAMIENTO36|ORIGEN36|ERRORES36|'
    ||'TIPOCONCEPTO37|CONCEPTOPAGO37|MONTO37|PERIODODEL37|PERIODOAL37|FUENTEFINANCIAMIENTO37|ORIGEN37|ERRORES37|'
    ||'TIPOCONCEPTO38|CONCEPTOPAGO38|MONTO38|PERIODODEL38|PERIODOAL38|FUENTEFINANCIAMIENTO38|ORIGEN38|ERRORES38|'
    ||'TIPOCONCEPTO39|CONCEPTOPAGO39|MONTO39|PERIODODEL39|PERIODOAL39|FUENTEFINANCIAMIENTO39|ORIGEN39|ERRORES39|'
    ||'TIPOCONCEPTO40|CONCEPTOPAGO40|MONTO40|PERIODODEL40|PERIODOAL40|FUENTEFINANCIAMIENTO40|ORIGEN40|ERRORES40|'
    ||'TIPOCONCEPTO41|CONCEPTOPAGO41|MONTO41|PERIODODEL41|PERIODOAL41|FUENTEFINANCIAMIENTO41|ORIGEN41|ERRORES41|'
    ||'TIPOCONCEPTO42|CONCEPTOPAGO42|MONTO42|PERIODODEL42|PERIODOAL42|FUENTEFINANCIAMIENTO42|ORIGEN42|ERRORES42|'
    ||'TIPOCONCEPTO43|CONCEPTOPAGO43|MONTO43|PERIODODEL43|PERIODOAL43|FUENTEFINANCIAMIENTO43|ORIGEN43|ERRORES43|'
    ||'TIPOCONCEPTO44|CONCEPTOPAGO44|MONTO44|PERIODODEL44|PERIODOAL44|FUENTEFINANCIAMIENTO44|ORIGEN44|ERRORES44|'
    ||'TIPOCONCEPTO45|CONCEPTOPAGO45|MONTO45|PERIODODEL45|PERIODOAL45|FUENTEFINANCIAMIENTO45|ORIGEN45|ERRORES45|'
    ||'TIPOCONCEPTO46|CONCEPTOPAGO46|MONTO46|PERIODODEL46|PERIODOAL46|FUENTEFINANCIAMIENTO46|ORIGEN46|ERRORES46|'
    ||'TIPOCONCEPTO47|CONCEPTOPAGO47|MONTO47|PERIODODEL47|PERIODOAL47|FUENTEFINANCIAMIENTO47|ORIGEN47|ERRORES47|'
    ||'TIPOCONCEPTO48|CONCEPTOPAGO48|MONTO48|PERIODODEL48|PERIODOAL48|FUENTEFINANCIAMIENTO48|ORIGEN48|ERRORES48|'
    ||'TIPOCONCEPTO49|CONCEPTOPAGO49|MONTO49|PERIODODEL49|PERIODOAL49|FUENTEFINANCIAMIENTO49|ORIGEN49|ERRORES49|'
    ||'TIPOCONCEPTO50|CONCEPTOPAGO50|MONTO50|PERIODODEL50|PERIODOAL50|FUENTEFINANCIAMIENTO50|ORIGEN50|ERRORES50';
    --||'TIPOCONCEPTO51|CONCEPTOPAGO51|MONTO51|PERIODODEL51|PERIODOAL51|FUENTEFINANCIAMIENTO51|ORIGEN51|ERRORES51';
    sys.utl_file.put_line(archivo, vencabezados);
    for i in r1 loop
    c:=c+1;
    vcadena := i.fileid||'|'||i.nombrearchivo||'|'||i.tiporegistro||'|'||i.identificadorregistro||'|'||i.fechaemisionpago||'|'||i.clavetiponomina||'|'||i.clavect||'|'||i.turnoct||'|'||i.rfc
    ||'|'||i.curp||'|'||i.numempleadoestatal||'|'||i.numseguridadsocial||'|'||i.nombrecompleto||'|'||i.nombres||'|'||i.primerapellido||'|'||i.segundoapellido||'|'||i.codigopagaduria
    ||'|'||i.idorigenpresupuestalplaza||'|'||i.clavepresupuestal||'|'||i.partidapresupuestal||'|'||i.codigopago||'|'||i.claveunidad||'|'||i.clavesubunidad||'|'||i.clavecategoria||'|'||i.hsm
    ||'|'||i.numeroplaza||'|'||i.clavenivelpuesto||'|'||i.clavenivelsueldo||'|'||i.zonaeconomica||'|'||i.percepcionneta||'|'||i.clabecuenta||'|'||i.numerocheque||'|'||i.clavemotivopagoretroactivo
    ||'|'||i.numtotalperded||'|'||i.errores;
    vcadena1:=null;
    for j in r2 (i.fileid) loop
    vcadena1 := vcadena1||'|'|| j.tipoconcepto||'|'||j.conceptopago||'|'||j.monto||'|'||j.periododel||'|'||j.periodoal||'|'||j.fuentefinanciamiento ||'|'||j.origen||'|'||j.errores;
    end loop;
    sys.utl_file.put_line(archivo, vcadena2);
    end loop;
    sys.utl_file.fclose(archivo);
    end;
    As you can see I write the column names first and with a loop I add the data, so I can have a very large column at the end.
    How can I add the CRLF at the end of each line to have it working with Windows?

    user2068122 wrote:
    After some research on the internet I found the way how to writre files from Oracle 11g to a txt file.
    I read that utl_put_line only holds 32k per line and adds a new line at the end of each row but my problem it´s that if I want to open the file with SQL Server :D it doesn't recognize the CRLF so there is no end line and the last column has the data from the next row. The files are created on Linux so if I open them on Windows i have to convert into DOS format but if I try to open that file with Excel everything works fine, so I was wondering if there is a limit of columns or number of characters that can be on a txt file.
    <snip>
    Oracle is simply passing a string of characters to the OS to be written to a file in the host OS's native text format. That format is different from Windows and nix.  Windows will append a CR-LF pair to the end of the provided character string, as its end-of-record delimiter.  nix will append only a CR (or is it LF?) as its end-of-record delimiter. This is purely and OS issue that Oracle knows or cares nothing about. It is also something that must always be kept in mind when passing files between *nix and Windows.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Performance problem with Integration with COGNOS and Bex

    Hi Gems
    I have a performance problem with some of my queries when integrating with the COGNOS
    My query is simple which gets the data for the date interval : "
    From Date: 20070101
    To date:20070829
    When executing the query in the Bex it takes 2mins but when it is executed in the COGNOS it takes almost 10mins and above..
    Any where can we debug the report how the data is sending to the cognos. Like debugging the OLEDB ..
    and how to increase the performance.. of the query in the Cognos ..
    Thanks in Advance
    Regards
    AK

    Hi,
    Please check the following CA Unicenter config files on the SunMC server:
    - is the Event Adapter (ea-start) running ?, without these daemon no event forwarding is done the CA Unicenter nor discover from Ca unicenter is working.
    How to debug:
    - run ea-start in debug mode:
    # /opt/SUNWsymon/SunMC-TNG/sbin/ea-start -d9
    - check if the Event Adaptor is been setup,
    # /var/opt/SUNWsymon/SunMC-TNG/cfg_sunmctotng
    - check the CA log file
    # /var/opt/SUNWsymon/SunMC-TNG/SunMCToTngAdaptorMain.log
    After that is all fine check this side it explains how to discover an SunMC agent from CA Unicenter.
    http://docs.sun.com/app/docs/doc/817-1101/6mgrtmkao?a=view#tngtrouble-6
    Kind Regards

  • Problem about file content type and firefox

    Hi,
    The Firefox made me mad because cant do a simple job : download a XML file. I have a big XML file that crash Firefox when try to open it,
    so download may be best choice but always Firefox start to show XML files. what is the solution?
    It is first, second : I make my XML file using JavaScript and show it with data URL like this : data:text/xml;...
    but same not work with csv files, I want when user save csv file, Firefox save it with .csv ext not .part
    plz help me fast.

    Hi,
    We use the file content convertion to conver the flat file that is text file into XML,
    File adapter cant understand the format the file is,so we have to declare the content convertion parameters.
    Check some links which will tell how the convertion is done.
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards,
    Phani
    Reward points if helpful

Maybe you are looking for

  • Decreased min free swap space

    Hello everyone, due to technical problems, in 07/Dic/2005 we had to replace a disk in one of our cluster server of SAP R/3 Enterprise. We also increased its level security from RAID 0 to RAID 5. But today we have detected than since that moment, the

  • BAPI ERROR RECORDS

    Hi Gurus, In Bapi i am able to get the error document number in debugging(background) but i could not able show the same in the out put message. Scenario: when uploading excel file related to goods movememnt from functional module goods_movemvt_ crea

  • DVD Player will not play image files (Snow Leopard 10.6.2)

    I am having a problem with my DVD Player. It will no longer play dvd iso files. Instead I get this error: "There was a problem opening the media: The media type is not supported" What is really strange about this is that the audio from the DVD would

  • The updated FCPX 10.0.6 crashes every time I try to do any retiming!

    I don't understand why the new update to FCPX has so many issues.... That said, here is my latest issue that I am hoping someone has a fix to. Any time I attempt to retime a clip, FCPX crashes now.  This does not happen on the last version, just the

  • Can we override doGet() instead of service() ?

    Suppose that we didn't specify method in form <form action = "run" > </form> then in the servlet which method would we override ? Also i have a confusion that is it possible to override doGet() or doPost() method instead of service() method ?