Parametros de Fecha y Hora

Existe algun parametro en SAP donde se indique si se graba o no la Hora en las Fechas? cada vez que se graba un documento unicamente graba la fecha y necesito que tambien grabe la hora
Gracias
JGQ

Hola Josue,
La fecha y hora de creacion de documento (en el sistema, no la fecha de contabilizacion) se graban en dos campos no visibles que son CreateDate y DocTime.
Saludos,
Ian

Similar Messages

  • No puedo bajar apps en nuevo ipad aparece una ventana que dice conexion insegura y verifique fecha y hora

    no puedo bajar apps en nuevo ipad aparece una ventana que dice conexion insegura y verifique fecha y hora, que hago??

    Hi,
    Please refer to the help document below:
    Creative Cloud Help | "Renew your subscription" window appears when you launch a Creative Cloud application
    Regards,
    Sheena

  • Como ajustó fecha y hora del appletv

    Saludos, no he podido activar el Appletv por q me pide ajuste de fecha y hora.. Y no lo hace automática

    Mauricio:
    Se que la tabla es WDD1 y los campos UpdateDate y UpdateTime, pero no se como traer el campo al formato de la orden de compra.
    Tambien he pensado en crear un campo de usuario, crear una query y traer la información, pero tampoco me resulta.
    Saludos
    VMC.

  • Apple tv no ajusta fecha y hora

    hola tengo axtel por micro ondas y al conectar el appletv no ajusta fecha y hora por lo que no lo puedo usar que puedo hacer para solucionar esto

    Conecte el AppleTV al modem a través de un cable ethernet, se solucionó el problema, el cable que utilice es Belkin ProSeries 7' category 5e Snagless RJ45 lo conseguí en Office Depot. Espero te sirva esta información.

  • ESSA VERSÃO NOVA FECHA TODA HORA!!! COMO FAZ???

    A INFORMAÇÃO É SIMPLES CARAMBA: O NOVO FIREFOX FECHA TODA HORA!!!
    COMO FAZ???
    A PÁGINA DE RELATÓRIOS ESTÁ DISPONÍVEL PRA QUEM QUISER ENTRAR E VER!
    E AS QUE FORAM ENVIADAS QUANDO FECHA, NUNCA VOLTOU RESPOSTA!!!
    SE NÃO TEM SOLUÇÃO VOU VOLTAR PRO CHROME, QUE É ONDE TENHO PODIDO EXECUTAR MINHAS TAREFAS!!!
    Zezezen24.
    BH/MG.

    Olá,
    Tente desativar a aceleração dos gráficos através do hardware. Como esse recurso foi adicionado ao Firefox, tem melhorado gradualmente, mas ainda existem algumas falhas.
    Pode ser necessário reiniciar o Firefox para que a alteração entre em vigor, então salve todos os trabalho que estiver fazendo primeiro.
    Em seguida, execute essas etapas:
    #Abra a janela opções do Firefox (Preferências no Mac ou Linux) como segue:
    #*No Firefox 29,0 e superioes, clique no botão de menu [[Image:New Fx Menu]] e selecione {button Opções} no Windows ou {button Preferências} no Mac ou Linux.
    #*No Firefox 28.0 e versões anteriores, clique no botão laranja Firefox no canto superior esquerdo e selecione Preferências, se não houver um botão laranja '''Firefox''', selecione Ferramentas > Preferências.
    # Na janela de opções (ou preferências), clique na abaa '''Avançado''' e em seguida clique na aba '''Geral'''
    # Nas opções exibidas, desmarque a opção ''Quando disponível, utilizar a aceleração por hardware''.
    # Agora, reinicie o Firefox e veja se o problema persistir.
    Além disso, verifique se há atualizações para o driver da placa de video, seguindo os passos mencionados nos seguintes artigos da base de conhecimento:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Resolveu os seus problemas? Por favor, nos informe!
    Obrigado.

  • Insertar funcion fecha y hora

    Buenas tardes he realizado una aplicacion web enteramente con
    fireworks8, quisiera saber si es posible introducir a esa pagina q
    he creado la funcion de fecha y hora atual del sistema, con el fin
    de hacer dinamica la pagina, se que en activos hay un icono para
    guardar fecha y hora actual, pero lo q quiero lograr es poder
    insertar una funcion me imagino debe ser javascript q no manejo
    mucho para obtener el efecto deseado.

    Pues si, efectivamente, es una funcion javascript. Si haces
    una busqueda
    en Google podras encontrar muchas.
    Se trata solamente de bajar el codigo y ponerlo en la pagina.
    alejandro
    jwruiz7 wrote:
    > Buenas tardes he realizado una aplicacion web
    enteramente con fireworks8,
    > quisiera saber si es posible introducir a esa pagina q
    he creado la funcion de
    > fecha y hora atual del sistema, con el fin de hacer
    dinamica la pagina, se que
    > en activos hay un icono para guardar fecha y hora
    actual, pero lo q quiero
    > lograr es poder insertar una funcion me imagino debe ser
    javascript q no manejo
    > mucho para obtener el efecto deseado.
    >

  • Agregar fecha y hora a video avi

    saludos al foro...
    estos adquiriendo video por medio de una camara web y guardandolo en la pc pero deseo agregarle fecha y hora al video. en el programa que adjunto se supone que esta activada esa funcion poniendo la terminal has data a true. pero al abrir el video guardado no aparece la hora. y en el panel frontal si aparece la hora, los minutos y los segundos pero los milisegundos no aparesen y necesito que aparescan tambien los milisegundos.
    alguien me puede ayudar a agregarle fecha y hora al video., incluyendo milisegundos en la hora.
    gracias...
    ¡Resuelto!
    Ir a solución.
    Adjuntos:
    AVI.vi ‏48 KB

    Hola vicbit,
    Me gustaría apoyarte con estas cuestiones, identifico dos situaciones la primera como obtener los milisegundos y la segunda como mostrar la hora y fecha en el video grabado.
    Para obtener los milisegundos te recomiendo revisar la siguiente liga donde explica como obtener los milisegundos a partir de la función Get Date/Time In seconds ya que esta entrega por default solo segundos pero en formato double precision float, así que los milisegundos se pueden obtener apartir de un cociente en sus decimales:
    http://digital.ni.com/public.nsf/allkb/E07F4CDBA31​772BC86256ADA0058A69A?OpenDocument
    Para la parte de mostrar la hora y fecha es necesario sobreponer capas en el video, te adjunto la liga de un foro donde se muestra como hacer esto con diversos ejemplos.
    http://forums.ni.com/t5/LabVIEW/Time-stamp-on-vide​o/td-p/1498072
    Y aquí una liga con la descripción paso a paso:
    http://forums.ni.com/t5/LabVIEW/Overlay-of-text-on​-16-bit-image/m-p/812538
    Por favor avísame si esta información te fue útil, hasta pronto.
    Mauricio Martínez
    ELP - Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Fecha y hora de grabacion del video

    Como puedo saber la fecha/hora de grabacion del video que estoy capturando en Premiere pro?
    Supongo que la fecha y hora estan registradas en la cinta DV ¿!?
    Gracias

    Mauricio:
    Se que la tabla es WDD1 y los campos UpdateDate y UpdateTime, pero no se como traer el campo al formato de la orden de compra.
    Tambien he pensado en crear un campo de usuario, crear una query y traer la información, pero tampoco me resulta.
    Saludos
    VMC.

  • Actualizando fecha y hora en applet TV no funciona

    Me cambie de domicilio y ahora no puedo conectar mi apple TV, se queda en Actualizando Hora y fecha y nunva termina...  mi compania de Internet (Axtel) me cambio el ruteador.   Que puedo hacer?

    Yo utilizo los nodos de propiedad cuando quiero hacer ese tipo de cosas,  ----->>http://digital.ni.com/public.nsf/allkb/6F0054EEABAFE4B886256F2700012142 ,.
    Jonathan Cruz
    CHALLENGER
    K U D O S __ B I E N V E N I D O S

  • Acabo de adquirir apple tv y al conectarlo se queda mucho tiempo ajustando fecha y hora, llevo mas de media esperando y sigue igual, que debo hacer

    Si alguien pudiese ayudarme en español de los agradezco

    saludos trata con esto
    Buenas Noches, acabo de encontrar la solucion al problema del Apple TV aqui en Venezuela, para los que tienen ABA de CANTV, es muy sencillo, solamente tienen que entrar a CANTV.NET, en la parte de ABA, meten su Login y contrasena y en su cuenta buscan a la izquierda donde dice proteccion, sencillamente la seleccionan y la desactivan, (es una especie de Firewall que tiene CANTV que bloquea algunos puertos necesarios para que el Apple TV se conecte con los servidores de Apple) eso es todo, no hay que cambiar el modem, lo acabo de hacer y mi Apple TV 2 agarrlo la hora y la fecha casi inmediatamente, si es necesario, desconectenlo y conectenlo de nuevo a la corriente, si necesitan mas informacion, estoy a sus ordenes.
    también puedes llamar a CANTV y pedirles que te desactiven la seguridad, puedes estar segura que eso no te va a afectar negativamente para nada, te puedo garantizar que tu Apple TV va a funcionar perfectamente. Hazlo, Que eso no daña tu conexion de ABA.
    informacion del foro otros usuarios

  • Poner calendario en labview para programar fechas de medición

    Hola, quisiera saber si es posible poner un calendario en el panel frontal de un vi, en el que al elegir alguna fecha esta se muestre en una tabla, esto con la finalidad de hacer la programación de la fecha y hora de inicio y de fin una medición de de voltaje en la que estoy trabando, la intención del programa es que sea interactivo por lo que busco la opción de poner un calendario.
    Muchas gracias y espero alguien me pueda ayudar.  

    Hola Zaid713,
    Revisando tu pregunta, te comento que puedes agregar controles de Time Stamps en tu panel frontal, estos controles por default te permiten configurar tanto fecha y hora. Los puedes agregar desde tu panel frontal, dando clic secundario y en el submenú de "Numeric" lo encontrarás como Time Stamp Control, en el cual te aparecerá un control como el que se muestra en la siguiente imagen, y cuando el usuario de clic en el icono del calendario, le aparecerá la ventana de "Set Time and Date" que se muestra en la imagen.
    Posteriormente en tu diagrama de bloques, en la paleta de funciones de "Timing" podrás encontrar varias funciones que te ayudarán a realizar la lectura de time stamps, te recomiendo te apoyes de la ayuda de contexto (presionando Ctrl+H) para que conozcas el funcionamiento de cada una de las funciones.
    Saludos!

  • Sentencia de fecha

    Hola a todos.
    alguien me podria apoyar con lo siguiente:
    Genere un Query que me muestra todas las transacciones de traspasos de almacen cuando estas son generados a una almacen en especifico (el almacen 01)
    Pero requiero que este query se ejecute y muestre solo las transacciones de traspaso del dia en curso
    En SQL si utilizo la sentencia getdate me lo hace, pero al ejecutarlo en el query dentro de SAP no me genera nada
    Saludos a todos

    Estimados, veo que las dos opciones son buenas yo realice un par de ejercicios los explico a continuacion:
    Caso #1
    SELECT *  FROM OINM T0
    WHERE T0.[DocDate]  = '[%0]'    --- pide parametro de fecha en SAP
         and  T0.[InQty] <> 0               --- Cantidad > 0 ingreso al almacen
         and  T0.[Warehouse]  = '01'  --- se fija el almacen de movimiento
         and  T0.[TransType]  = 67     --- Stock Transfers
    Caso #2
    SELECT T0.[DocNum], T0.[DocDate], T0.[Filler], T1.[LineNum], T1.[ItemCode], T1.[Dscription], T1.[Quantity], T1.[WhsCode]
    FROM OWTR T0  INNER JOIN WTR1 T1 ON T0.DocEntry = T1.DocEntry
    WHERE T0.[DocDate] = '[%0]'  --- Pide parametro de Fecha en SAP
         and  T1.[WhsCode] = '01'   --- fijo el almacen de destino
    Ambas devuelven la misma cantidad de registros.
    Espero que esto les sirva.
    Saludos
    Rodolfo Castañeda

  • SAP GRC PC 3.0 - Report Center (Webdynpro) dump

    Hi Experts,
    We are facing some problems regarding Report Center. We recently changed to Webdynpro reports according to sapnote 1384133 since we don't have BOE, and when clicking any report, the system shows the following error:
    Error when processing your request
    What has happened?
    The URL http://clsaperm.atrame.deloitte.com:8000/sap/bc/webdynpro/sap/GRPC_REPORT/ was not called due to an error.
    Note
    The following error text was processed in the system PCD : The ASSERT condition was violated.
    The error occurred on the application server CLSAPERM_PCD_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: WDDOINIT of program /1BCWDY/BG5C59ETETZCTQICUKMQ==CP
    Method: IF_WDR_COMPONENT_DELEGATE~WD_DO_INIT of program /1BCWDY/BG5C59ETETZCTQICUKMQ==CP
    Method: DO_INIT of program CL_WDR_DELEGATING_COMPONENT===CP
    Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
    Method: INIT_CONTROLLER of program CL_WDR_COMPONENT==============CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: INIT of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: IF_WDR_RUNTIME~CREATE of program CL_WDR_MAIN_TASK==============CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    The dump from ST22 is the following:
    Errores tiempo ejec.   ASSERTION_FAILED
    Fecha y hora           13.10.2011 15:49:20
    |Texto breve                                                                                |
    |    The ASSERT condition was violated.                                                            |
    Probably the only way to eliminate the error is to correct the program.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "ASSERTION_FAILED" " "
    "/1BCWDY/BG5C59ETETZCTQICUKMQ==CP" or "/1BCWDY/B_BG5C59ETFKLOL21YX00Z"
    "WDDOINIT"
    Usuario y transacción
        Client.............. 100
        User................ "SAPGRCPC"
        Language Key........ "E"
        Transaction......... " "
        Transactions ID..... "0ECCF5E07EACF196AD48E61F13572E0F"
        Program............. "/1BCWDY/BG5C59ETETZCTQICUKMQ==CP"
        Screen.............. "SAPMHTTP 0010"
        Screen Line......... 2
        Information on Caller ofr "HTTP" Connection:
        Plug-in Type.......... "HTTP"
        Caller IP............. "10.139.19.110"
        Caller Port........... 8000
        Universal Resource Id. "/sap/bc/webdynpro/sap/grpc_report"
    Info posición de cancelación
        Termination occurred in the ABAP program "/1BCWDY/BG5C59
         in "WDDOINIT".
        The main program was "SAPMHTTP ".
        In the source code you have the termination point in lin
        of the (Include) program "/1BCWDY/B_BG5C59ETFKLOL21YX00Z
        La cancelación ocurrió en una aplicación Web Dynpro
          Componente Web Dynpro         GRPC_REPORT
          Controlad.Web Dynpro          COMPONENTCONTROLLER
    Detalle código fuente
    Lín.  Txt.fte.
    1018 *        <COMPONENTCONTROLLER> (COMPONENT)
    1019 * Notes: NOT intended for use outside of framework dr
    1020 * UDate: 20111012 172704
    1021 *====================================================
    1022 class CL_COMPONENTCONTROLLER_Ctr implementation.
    1023
    1024 *==================
    1025 method Constructor.
    1026 *==================
    1027 " Do NOT modify the Constructor, any changes will not
    1028
    1029   Me->Wd_This =    Wd_This.
    1030   Me->Wd_Context = Wd_Context.
    1031 endmethod.
    1032
    1033 * +--------------------------------------------------
    1034 * |  general methods
    1035 * +--------------------------------------------------
    1036
    1037 method WDDOAPPLICATIONSTATECHANGE . "#EC NEEDED
    1038 endmethod.
    1039
    1040 method WDDOBEFORENAVIGATION . "#EC NEEDED
    1041 endmethod.
    1042
    1043 method WDDOEXIT . "#EC NEEDED
    1044 endmethod.
    1045
    1046 METHOD wddoinit.
    1047
    >>>>>   assert 1 = 2.
    1049 * Old reporting infrastructure replaced by new one in GRFN namespace.
    1050
    1051   CALL FUNCTION 'GRPC_API_SESSION_OPEN'
    1052 *     EXPORTING
    1053 *     I_LANGUAGE = SY-LANGU
    1054 *     I_TIMEFRAME = I_TIMEFRAME
    1055 *     I_TF_YEAR = I_TF_YEAR
    1056     IMPORTING
    1057       e_session_id = wd_this->m_session_id
    1058 *     E_RETURN_CODE = e_return_code
    1059 *   TABLES
    1060 *     ET_MESSAGE = ET_MESSAGE
    1061       .
    1062
    1063   CREATE OBJECT wd_this->mr_timeframe
    1064     EXPORTING
    1065       i_context = wd_context.
    1066   wd_this->mr_timeframe->set_session( wd_this->m_session_id ).
    1067
    We are on SP7 for GRCFND_A and other components in ABAP side, and SP7 for all software components in Java side.
    Regards,
    Edited by: Pedro Zuñiga on Oct 13, 2011 9:31 PM

    Hi Pedro,
    Were you able to resolve this issue? We are experiencing the same problem.
    Thanks,
    Mahwish

  • Short Dump generating reports of EWA

    Hi Experts,
    I get the short dump MESSAGE_TYPE_X when I tried to see the Ewa report?
    Any Idea?
    Thanks in advance.

    Hi,
    Mi ST 400 level is 17.
    Here is mi dump:
    Err.tmpo.ejec.         MESSAGE_TYPE_X                                                              
    Fecha y hora           10.08.2009 09:37:50                                                                               
    Texto breve                                                                               
    The current application triggered a termination with a short dump.                           
    ¿Qué ha sucedido?                                                                               
    The current application program detected a situation which really                            
        should not occur. Therefore, a termination with a short dump was                             
        triggered on purpose by the key word MESSAGE (type X).                                       
    Anál.errores                                                                               
    Short text of error message:                                                                 
        La creación de evento para la sesión EA0000000000881 ha fallado                                                                               
    Long text of error message:                                                                  
         Diagnóstico                                                                               
    La creación de un evento ha fallado.                                                    
         Actividades en el sistema                                                                   
             La transacción actual se cancela.                                                       
         Procedimiento                                                                               
    Procedimiento para la gestión del sistema                                                   
             El problema puede estar en el rango de números DSVASEVENT.                              
             Verifique si el intervalo "01" está creado y si tiene números                           
             libres. Notifique los resultados de esta exploración a SAP.                                                                               
    Technical information about the message:                                                     
        Message class....... "DSVAS"                                                                 
        Number.............. 093                                                                     
        Variable 1.......... "EA0000000000881"                                                       
        Variable 2.......... " "                                                                     
        Variable 3.......... " "                                                                     
        Variable 4.......... " "                                                                     
    Posición desencadenante de error tiempo ejecución                                                
        Programa                                SAPLDSVAS_RPGEN                                      
        Include                                 LDSVAS_RPGENU03                                      
        Línea                                   672                                                  
        Tp.módulo                               (FUNCTION)                                           
        Nombre módulo                           DSVAS_RPGEN_REPORT_GET_DATA                          
    Detalle código fuente                                                                            
    Lín.       Txt.fte.                                                                               
    642        lf_chapno_old = 0.                                                                       
      643      * Fehlende Kapitelnummern verdichten                                                       
      644        LOOP AT report_structure.                                                                
      645          AT NEW chapter.                                                                        
      646            IF lf_chapno_old <> report_structure-chapter.                                        
      647              lf_chapno_old = report_structure-chapter.                                          
      648              ADD 1 TO lf_chapno.                                                                
      649            ENDIF.                                                                               
    650          ENDAT.                                                                               
    651          report_structure-chapter = lf_chapno.                                                  
      652          MODIFY report_structure.                                                               
      653        ENDLOOP.                                                                               
    654                                                                               
    655                                                                               
    656      * Ereignis "Reportgeneriert" vermerken                                                     
      657        DATA: ls_dsvassessinstid TYPE dsvassessinstid,                                           
      658              lf_event_parameter TYPE dsvasevent-event_parameter.                                
      659      * AH 'SL' wird durch Aufrufer erst spaeter ausgeloest                                      
      660        if lf_iCount = 0 or sy-batch is initial.                                                 
      661          ls_dsvassessinstid-sessitype = sessitype.                                              
      662        ls_dsvassessinstid-sessno    = sessno.                                                   
      663        lf_event_parameter           = ls_dsvassessinstid.                                       
      664        CALL FUNCTION 'DSVAS_EVENT_RAISE'                                                        
      665             EXPORTING                                                                           
      666                  pf_event_type      = 'SL'                                                      
      667                  pf_event_parameter = lf_event_parameter                                        
      668             EXCEPTIONS                                                                          
      669                  failed             = 1                                                         
      670                  OTHERS             = 2.                                                        
      671        IF sy-subrc <> 0.                                                                        
    >>>>>          MESSAGE x093(dsvas) WITH ls_dsvassessinstid.                                           
      673      *     Ereigniserzeugung für Sitzung &1 fehlgeschlagen                                      
      674          ENDIF.                                                                               
    675        endif.                                                                               
    676      * AH                                                                               
    677                                                                               
    678        CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'                                                
      679             EXPORTING                                                                           
      680                  TEXT = space.                                                                  
      681      ENDFUNCTION.                                                                               
    Thanks in advance!

  • Date type parameters do not work package procedure

    a cordial greeting to the whole community, in advance thank you very much for your precious time
    a general way I have the following, a package in which I have a main procedure which I recible three parameters: a start date, a final, and a number of client
    to use the dates I enter as parameter to query yields no records, but if I assign the date internally in the procedure, if it sheds records, the strange thing is that both the data and the parameters that are identical internally assigned even in its length and I checked, the truth and I stay out of ideas thank you very much for your time attaching the code
    for now I'm just using the second query forget the first
    ------call to procedure-----
    DECLARE
    errcode VARCHAR2(200);
    errbuf VARCHAR2(200);
    BEGIN
    xxxxx.pkg.xxxinitial_end(errcode  ,errbuf
                                                        ,'2013/08/19 00:00:00'
                                                        ,'2013/08/23 00:00:00','456456456546');
    END;
    -----------------------------------------------------------------procedure---------------------------------------------------------------------
    PROCEDURExxxinitial_end (ERRCODE OUT VARCHAR2
      , ERRBUFF OUT VARCHAR2
      , p_initial_date IN VARCHAR2
      , p_end_date IN VARCHAR2
      , customer IN VARCHAR2)IS
    l_encoding_line VARCHAR2(240);
    cur_without_customer SYS_REFCURSOR;
    cur_with_customer SYS_REFCURSOR;
      initial_date DATE;
      end_date DATE;
      initial_date2 DATE;
      end_date2 DATE;
    BEGIN
    l_encoding_line := '<?xml version="1.0" encoding=' || '"iso-8859-1"' ||
                       ' ?>' || chr(10) || '<XXOCS_TOTAL_VENTAS_SINEXP>';
      initial_date := to_date(p_initial_date, 'YYYY/MM/DD HH24:MI:SS');-----------------input parameters  NOT WORKING
      end_date := to_date(p_end_date, 'YYYY/MM/DD HH24:MI:SS');-------------------input parameters
      initial_date2:=to_date('2013/08/19 00:00:00', 'YYYY/MM/DD HH24:MI:SS');---------------------default values
      end_date2:=to_date('2013/08/23 00:00:00', 'YYYY/MM/DD HH24:MI:SS');---------------------default values        WORKING FINE
      IF customer IS NULL THEN
       -- OPEN cur_without_customer;
        DBMS_OUTPUT.PUT_LINE('se ejecuto el primero');
        -------------------------cursor  -----------------------------------
        OPEN cur_without_customer FOR
            SELECT rct.customer_trx_id
                  ,rctl.customer_trx_line_id
                  ,hp.party_name ---cliente
                  ,hca.account_number ----N° Cliente
                  ,rctl.line_number -----item
                  ,rctt.name---descripcion transaccion
                  ,rct.trx_number -----numero
                  ,rctt.type ------tipo de transaccion
                  ,hp.party_id--control solamente
                  ,rct.trx_date------Fecha de emisión Comprobante de Venta
                  ,rct.attribute1   ---No. de autorización del Comprobante de Venta
                  ,mp.attribute9||rct.trx_number N_Comprobante---No. de Comprobante de Venta
                  ,rct.attribute4-----Unidad Estratégica de Negocio
                  ,mp.attribute9----  N° de establecimiento
                  ,rctl.description-----Descripción (Tipo de Combustible)
                  ,rctl.quantity_invoiced---Cantidad Vendida en galones
                  ,rctl.unit_selling_price---Precio de venta unitario
                  --,rctl.taxable_amount-------Valor Base Imponible --restriccion
                  --,rctl.extended_amount---valor iva 12%
                 -- ,NVL(importe_12(rctl.customer_trx_line_id,rct.customer_trx_id),'N/A')
              FROM ra_customer_trx_all         rct,
                   ra_customer_trx_lines_all   rctl,
                   hz_cust_accounts            hca,
                   hz_parties                  hp,
                   ra_cust_trx_types_all       rctt,
                   mtl_parameters              mp
                  -- mtl_system_items_b          msi,
                 --  zx_lines                    zl
                   --ra_batch_sources_all  rbs
             WHERE
               --rct.trx_date BETWEEN initial_date  AND end_date --parametros de fecha
               rct.trx_date BETWEEN to_date('2013/08/19 00:00:00', 'YYYY/MM/DD HH24:MI:SS')/*initial_date*/ AND to_date('2013/08/23 00:00:00', 'YYYY/MM/DD HH24:MI:SS')/*end_date*/
               AND rct.sold_to_customer_id = hca.cust_account_id
               AND hca.party_id = hp.party_id
               AND rct.customer_trx_id=rctl.customer_trx_id
               --AND rctl.inventory_item_id=msi.inventory_item_id
               AND mp.organization_id=rctl.warehouse_id
               AND rct.cust_trx_type_id = rctt.cust_trx_type_id;
         print_output(fnd_file.output, l_encoding_line);
        get_xml(cur_without_customer, 'G_REGISTER', 'CABECERA', ERRCODE);                         
      IF ERRCODE = 1 THEN
        ERRBUFF := 'El reporte no arrojo datos para los parametros ingresados';
        ERRCODE := 2;
        RETURN;
      ELSIF ERRCODE = 2 THEN
        ERRBUFF := SQLERRM;
        RETURN;
      END IF;
      print_output(fnd_file.output, '</XXOCS_TOTAL_VENTAS_SINEXP>');
         ELSE
         --  OPEN cur_with_customer;
           DBMS_OUTPUT.PUT_LINE('se ejecuto el segundo');
           -----------------------cursor 2---------------------------
           DBMS_OUTPUT.PUT_LINE('customer ' || customer);
           DBMS_OUTPUT.PUT_LINE('ASI ESTAN ENTRANDO LOS PARAMETROS              '||length(p_initial_date));
           DBMS_OUTPUT.PUT_LINE('ASI ESTAN ENTRANDO LOS PARAMETROS              '||length(p_end_date));
           DBMS_OUTPUT.PUT_LINE('customer ' || customer);
           DBMS_OUTPUT.PUT_LINE('ASI ESTAN ENTRANDO LOS PARAMETROS   quemados   '|| length(initial_date2));
           DBMS_OUTPUT.PUT_LINE('ASI ESTAN ENTRANDO LOS PARAMETROS   quemados   '|| length(end_date2));
           DBMS_OUTPUT.PUT_LINE('customer ' || customer);
           DBMS_OUTPUT.PUT_LINE('ASI ESTAN ENTRANDO LOS PARAMETROS convertidso  '|| length(initial_date));
           DBMS_OUTPUT.PUT_LINE('ASI ESTAN ENTRANDO LOS PARAMETROS convertidos  '|| length(end_date));
           OPEN  cur_with_customer FOR
          SELECT     rct.customer_trx_id
                    ,rctl.customer_trx_line_id
                    ,hp.party_name ---cliente
                    ,hca.account_number ----N° Cliente
                    ,rctl.line_number-----item
                    ,rctt.name---descripcion transaccion
                    ,rct.trx_number -----numero
                    ,rctt.type ------tipo de transaccion
                    ,hp.party_id---control solamente
                    ,rct.trx_date------Fecha de emisión Comprobante de Venta
                    ,rct.attribute1   ---No. de autorización del Comprobante de Venta
                    ,mp.attribute9||rct.trx_number N_Comprobante--No. de Comprobante de Venta
                    ,rct.attribute4------ Unidad Estratégica de Negocio
                    ,mp.attribute9---------N° de establecimiento
                    ,rctl.description---------Descripción (Tipo de Combustible)
                    ,rctl.quantity_invoiced----Cantidad Vendida en galones
                    ,rctl.unit_selling_price ---Precio de venta unitario
                   -- ,rctl.taxable_amount-------Valor Base Imponible --restriccion
                   -- ,rctl.extended_amount---valor iva 12%
              -- ,NVL(importe_12(rctl.customer_trx_line_id,rct.customer_trx_id),'N/A')
                FROM ra_customer_trx_all           rct,
                     ra_customer_trx_lines_all     rctl,
                     hz_cust_accounts              hca,
                     hz_parties                    hp,
                     ra_cust_trx_types_all         rctt,
                     mtl_parameters                mp
                    -- mtl_system_items_b            msi,
                     --zx_lines                      zl
                 WHERE hca.account_number=customer
                  AND  hca.party_id=hp.party_id
                  AND  hca.cust_account_id=rct.sold_to_customer_id
                  AND  rct.customer_trx_id=rctl.customer_trx_id
                 -- AND  rctl.inventory_item_id=msi.inventory_item_id
                  AND  mp.organization_id=rctl.warehouse_id
                  AND  rct.cust_trx_type_id = rctt.cust_trx_type_id
                  AND rownum = 1
            AND rct.trx_date BETWEEN initial_date AND end_date;<------------when I assign these parameters( initial_date AND end_date  )--are the insert by parameter  initial_date2 AND end_date2 defualt
           DBMS_OUTPUT.PUT_LINE('customer ' || customer);
           DBMS_OUTPUT.PUT_LINE('fe inicial ' || initial_date);
           DBMS_OUTPUT.PUT_LINE('fe final ' ||end_date);
           print_output(fnd_file.output, l_encoding_line);
           get_xml(cur_with_customer, 'G_REGISTER', 'CABECERA', ERRCODE);                         
      IF ERRCODE = 1 THEN
        ERRBUFF := 'El reporte no arrojo datos para los parametros ingresados';
        ERRCODE := 2;
        RETURN;
      ELSIF ERRCODE = 2 THEN
        ERRBUFF := SQLERRM;
        RETURN;
      END IF;
      print_output(fnd_file.output, '</XXOCS_TOTAL_VENTAS_SINEXP>');
        END IF;
        EXCEPTION
      WHEN OTHERS THEN
        print_output(fnd_file.log, 'Error Ventas sin Exportaciones:' || SQLERRM);
        ERRCODE := 2;
        ERRBUFF := SQLERRM;
      -- Initialization
    END  xxxinitial_end;

    Welcome.  As a note, this question has nothing to do with PL/SQL XML programming and everything to do with SQL and PL/SQL
    That said, the simple test case I setup, because I don't have all your tables, works just fine.
    declare
       l_errcode  VARCHAR2(300);
       l_errbuff  VARCHAR2(300);
       PROCEDURE xxxinitial_end (ERRCODE OUT VARCHAR2
         , ERRBUFF OUT VARCHAR2
         , p_initial_date IN VARCHAR2  -- why not a date?
         , p_end_date IN VARCHAR2      -- why not a date?
         , customer IN VARCHAR2)
       IS
         initial_date DATE;
         end_date DATE;
         l_value  VARCHAR2(10);
       BEGIN
         initial_date := to_date(p_initial_date, 'YYYY/MM/DD HH24:MI:SS');
         end_date := to_date(p_end_date, 'YYYY/MM/DD HH24:MI:SS');
         -- Not trapping the No Data Found on purpose
         SELECT 'hit'
           INTO l_value
           FROM dual
          WHERE SYSDATE BETWEEN initial_date AND end_date;
       END  xxxinitial_end;
    begin
      -- Test statements here
      xxxinitial_end(l_errcode, l_errbuff
                     ,'2013/08/19 00:00:00'
                     ,'2013/10/19 00:00:00'
                     ,null);
    end;
    As a comment above says, if you are dealing with dates, why not use a DATE parameter in the procedure and avoid the conversion in your code.
    Also, you can simplify your code a bit by using a third sys_refcursor and setting one of the opened cursors to it.  This allows you to pull out the common logic following the OPEN and only have one copy of it.
    PROCEDURE xxxinitial_end (ERRCODE OUT VARCHAR2
      , ERRBUFF OUT VARCHAR2
      , p_initial_date IN VARCHAR2  -- why not a date?
      , p_end_date IN VARCHAR2      -- why not a date?
      , customer IN VARCHAR2)
    IS
      l_encoding_line VARCHAR2(240);
      cur_without_customer SYS_REFCURSOR;
      cur_with_customer SYS_REFCURSOR;
      cur_comm          SYS_REFCURSOR;
      initial_date DATE;
      end_date DATE;
    BEGIN
      l_encoding_line := '<?xml version="1.0" encoding=' || '"iso-8859-1"' ||
                         ' ?>' || chr(10) || '<XXOCS_TOTAL_VENTAS_SINEXP>';
      initial_date := to_date(p_initial_date, 'YYYY/MM/DD HH24:MI:SS');-----------------input parameters  NOT WORKING
      end_date := to_date(p_end_date, 'YYYY/MM/DD HH24:MI:SS');-------------------input parameters
      IF customer IS NULL THEN
        -------------------------cursor  -----------------------------------
        OPEN cur_without_customer FOR
            SELECT rct.customer_trx_id
                  ,rctl.customer_trx_line_id
                  ,hp.party_name ---cliente
                  ,hca.account_number ----N° Cliente
                  ,rctl.line_number -----item
                  ,rctt.name---descripcion transaccion
                  ,rct.trx_number -----numero
                  ,rctt.type ------tipo de transaccion
                  ,hp.party_id--control solamente
                  ,rct.trx_date------Fecha de emisión Comprobante de Venta
                  ,rct.attribute1   ---No. de autorización del Comprobante de Venta
                  ,mp.attribute9||rct.trx_number N_Comprobante---No. de Comprobante de Venta
                  ,rct.attribute4-----Unidad Estratégica de Negocio
                  ,mp.attribute9----  N° de establecimiento
                  ,rctl.description-----Descripción (Tipo de Combustible)
                  ,rctl.quantity_invoiced---Cantidad Vendida en galones
                  ,rctl.unit_selling_price---Precio de venta unitario
                  --,rctl.taxable_amount-------Valor Base Imponible --restriccion
                  --,rctl.extended_amount---valor iva 12%
                 -- ,NVL(importe_12(rctl.customer_trx_line_id,rct.customer_trx_id),'N/A')
              FROM ra_customer_trx_all         rct,
                   ra_customer_trx_lines_all   rctl,
                   hz_cust_accounts            hca,
                   hz_parties                  hp,
                   ra_cust_trx_types_all       rctt,
                   mtl_parameters              mp
                  -- mtl_system_items_b          msi,
                 --  zx_lines                    zl
                   --ra_batch_sources_all  rbs
             WHERE
               --rct.trx_date BETWEEN initial_date  AND end_date --parametros de fecha
               rct.trx_date BETWEEN to_date('2013/08/19 00:00:00', 'YYYY/MM/DD HH24:MI:SS')/*initial_date*/ AND to_date('2013/08/23 00:00:00', 'YYYY/MM/DD HH24:MI:SS')/*end_date*/
               AND rct.sold_to_customer_id = hca.cust_account_id
               AND hca.party_id = hp.party_id
               AND rct.customer_trx_id=rctl.customer_trx_id
               --AND rctl.inventory_item_id=msi.inventory_item_id
               AND mp.organization_id=rctl.warehouse_id
               AND rct.cust_trx_type_id = rctt.cust_trx_type_id;
           cur_comm := cur_without_customer;
         ELSE
           -----------------------cursor 2---------------------------
           OPEN  cur_with_customer FOR
          SELECT     rct.customer_trx_id
                    ,rctl.customer_trx_line_id
                    ,hp.party_name ---cliente
                    ,hca.account_number ----N° Cliente
                    ,rctl.line_number-----item
                    ,rctt.name---descripcion transaccion
                    ,rct.trx_number -----numero
                    ,rctt.type ------tipo de transaccion
                    ,hp.party_id---control solamente
                    ,rct.trx_date------Fecha de emisión Comprobante de Venta
                    ,rct.attribute1   ---No. de autorización del Comprobante de Venta
                    ,mp.attribute9||rct.trx_number N_Comprobante--No. de Comprobante de Venta
                    ,rct.attribute4------ Unidad Estratégica de Negocio
                    ,mp.attribute9---------N° de establecimiento
                    ,rctl.description---------Descripción (Tipo de Combustible)
                    ,rctl.quantity_invoiced----Cantidad Vendida en galones
                    ,rctl.unit_selling_price ---Precio de venta unitario
                   -- ,rctl.taxable_amount-------Valor Base Imponible --restriccion
                   -- ,rctl.extended_amount---valor iva 12%
              -- ,NVL(importe_12(rctl.customer_trx_line_id,rct.customer_trx_id),'N/A')
                FROM ra_customer_trx_all           rct,
                     ra_customer_trx_lines_all     rctl,
                     hz_cust_accounts              hca,
                     hz_parties                    hp,
                     ra_cust_trx_types_all         rctt,
                     mtl_parameters                mp
                    -- mtl_system_items_b            msi,
                     --zx_lines                      zl
                 WHERE hca.account_number=customer
                  AND  hca.party_id=hp.party_id
                  AND  hca.cust_account_id=rct.sold_to_customer_id
                  AND  rct.customer_trx_id=rctl.customer_trx_id
                 -- AND  rctl.inventory_item_id=msi.inventory_item_id
                  AND  mp.organization_id=rctl.warehouse_id
                  AND  rct.cust_trx_type_id = rctt.cust_trx_type_id
                  AND rownum = 1
            AND rct.trx_date BETWEEN initial_date AND end_date;<------------when I assign these parameters( initial_date AND end_date  )--are the insert by parameter  initial_date2 AND end_date2 defualt
         cur_comm := cur_with_customer;
      END IF;
      print_output(fnd_file.output, l_encoding_line);
      get_xml(cur_comm, 'G_REGISTER', 'CABECERA', ERRCODE);
      CLOSE cur_comm;
      IF ERRCODE = 1 THEN
        ERRBUFF := 'El reporte no arrojo datos para los parametros ingresados';
        ERRCODE := 2;
        RETURN;
      ELSIF ERRCODE = 2 THEN
        ERRBUFF := SQLERRM;
        RETURN;
      END IF;
    EXCEPTION
      WHEN OTHERS THEN
        print_output(fnd_file.log, 'Error Ventas sin Exportaciones:' || SQLERRM);
        ERRCODE := 2;
        ERRBUFF := SQLERRM;
      -- Initialization
    END  xxxinitial_end;

Maybe you are looking for

  • Print with pasta and getting error

    hello, i have customs printing driver for pasta but as i print report i find an error, APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1 Cause: AFPPRN received a return code of failure from the

  • Print

    I have deleted a print job and it seems to be stuck in the queue. I tried unplugging the printer, restarting, running commands and everything. NO LUCK!!! Can someone please help.

  • Regarding metalink doc id:112528.1

    my OS is AIX 5.2 and using oracle 10gr2 problem:SQL*Plus hangs when non dba users try to login reason: The customer had recently disabled archiving on the system. They had commented out all of the init<sid>.ora parameters that enable archiving and ha

  • What I/O standard should be used for PERTSn pins in xcku040-fbva676

    is it possible to use 3.3 on this pin? for what "mange ip" tool create i can understand that the recommendation is 1.8V (for PCIE xdc file) thanks  

  • Mac cycling through blue startup screen and desktop after installing app...

    Hi again folks! I'm hoping I can pick your brains on this one, as it's got me scratching my head here... My fiance just accidentally installed a 64bit version of Handbrake on her white macbook (running Leopard 10.5.8, I believe). The battery on her m