Diccionario de Datos??

Buen Dia!
Saben que estamos realizando reportes de nuestro SAP B1 pero se ha dificultado un poco... nuestra empresa como cualquier otra no es conforme con los reportes de sap, asi que tenemos un consultor externo que no conce SAP pero si conoce mucho sql, y nos pide un "diccionario de datos" de las DB.
No estoy muy familiarizado con el concepto y me comenta que ese diccionario no deberia de decir que datos almacena cada campo en una tabla.
espero me puedan ayudar como siempre!!
saludos

Hola Oscar...
Yo comparto con Hector, en que el SDK puede aportar el conocimiento que esta persona necesita para comprender la estructura de las tablas de SAP Business One. Si bien es cierto, es importante que esta persona tenga los conocimientos de SQL, sería bueno hacerle ver que de por sí, existe una librería bastante completa que sin duda le permitirá estar al tanto de la estructura de la base de datos.
Adicionalmente, sería bueno que se le indique que incluso, viendo las pantallas desde las cuales se desea extraer la información, es posible obtener datos relevantes en cuanto a estructura, pues como tú ya debes saber, al abrir cualquier formulario, se puede dando click en la opción VISTA --> INFO DE SISTEMA, activar en las barras de control inferiores (donde aparecen los mensajes de error) información de la tabla equivalente al formulario, y de cada campo sobre el cual se posicione en la pantalla.
Espero te sea de ayuda
Saludos Cordiales,

Similar Messages

  • Failed to Run OLE Excel program in background JOB (SM36)

    Please help.
    I have write a program to use OLE to create a Excel file.
    The program can run successful in front end workstation. However, when I run the program in background job by SM36.
    The statement "CREATE OBJECT EXCEL 'EXCEL.APPLICATION'" return with error "SY-SUBRC = 2".
    How can I solve it ?
    Can OLE Excel be run on background job ?
    Thanks so much,
    Mark

    Hi Mark:
    Your need is a very common one. I also was asked to generate an Excel in Background.
    It is not possible to work with OLE in background mode.
    The reason is: In background mode there is no presentation server. OLE is executed in presentation server.
    Below I paste the code I wrote to solve my problem.
    This class sends a mail with an excel attached. The Excel content will be the internal table you pass to the class. But the Excel is not binary, it is a plain text file, separated by tabulators. Anyway, when you open it with Excel, the columns are properly shown.
    Sorry. Comments are in spanish, I don't have time to translate it.
    I kindly ask to everybody which want to use it to keep my name in the code.
    * Autor: Jordi Escoda, 30/10/2008.
    * Descripción: Esta clase genera un correo electrónico destinado a
    *  una persona, adjuntando el contenido de una tabla interna como
    *  Excel (campos separados por tabuladores).
    *  La virtud de esta clase es su sencillez de utilización. Para lanzar
    *  el mail con el excel adjunto basta con declarar la tabla interna,
    *  llenarla, colocar el asunto del mensaje, el destinatario, el nombre
    *  del excel adjunto, y pasar la tabla interna.
    * Ejemplo de utilización:
    *  DATA: lc_mail TYPE REF TO cl_mail_builder_xls_attach.
    *  DATA: lt_anla TYPE STANDARD TABLE OF anla.
    *    SELECT * INTO TABLE lt_anla  FROM anla.
    *    CREATE OBJECT lc_mail.
    *    CALL METHOD lc_mail->set_subject( 'Excel adjunto' ).
    *    CALL METHOD lc_mail->set_recipient( 'XXX@XXXDOTCOM' ).
    *    CALL METHOD lc_mail->set_attach_filename( 'ANLA' ).
    *    APPEND 'Cuerpo del mensaje' TO  lt_body.
    *    APPEND 'Saludos cordiales' TO  lt_body.
    *    CALL METHOD lc_mail->set_bodytext( lt_body ).
    *    CALL METHOD lc_mail->set_attach_table( lt_anla ).
    *    CALL METHOD lc_mail->send( ).
    *       CLASS cl_mail_builder_xls_attach DEFINITION
    CLASS cl_mail_builder_xls_attach DEFINITION.
      PUBLIC SECTION.
        METHODS: set_subject
                               IMPORTING im_subject TYPE so_obj_des,
                 set_bodytext
                               IMPORTING im_body TYPE bcsy_text,
                 set_recipient
                               IMPORTING im_recipient TYPE ad_smtpadr,
                 set_attach_table
                               IMPORTING im_table TYPE ANY TABLE,
                 set_attach_filename
                               IMPORTING im_attach_name TYPE sood-objdes,
                 send.
      PRIVATE SECTION.
        CONSTANTS:
          c_tab  TYPE c VALUE cl_bcs_convert=>gc_tab,
          c_crlf TYPE c VALUE cl_bcs_convert=>gc_crlf,
          c_singlequote TYPE c VALUE '.
        DATA: l_recipient_addr TYPE ad_smtpadr.
        DATA: send_request   TYPE REF TO cl_bcs,
              document       TYPE REF TO cl_document_bcs,
              recipient      TYPE REF TO if_recipient_bcs,
              bcs_exception  TYPE REF TO cx_bcs.
        DATA: binary_content TYPE solix_tab,
              size           TYPE so_obj_len.
        DATA: l_string TYPE string,
              l_body_text TYPE bcsy_text,
              l_subject TYPE so_obj_des,
              l_attach_name TYPE sood-objdes.
        METHODS: create_binary_content,
                 get_dataelement_medium_text
                        IMPORTING im_table_name TYPE tabname
                                  im_field_name TYPE fieldname
                        EXPORTING ex_medium_text TYPE scrtext_m.
    ENDCLASS.                    "cl_mail_builder_xls_attach DEFINITION
    *       CLASS cl_mail_builder_xls_attach IMPLEMENTATION
    CLASS cl_mail_builder_xls_attach IMPLEMENTATION.
      METHOD set_bodytext.
        l_body_text[] = im_body[].
      ENDMETHOD.                    "add_bodytext
      METHOD set_subject.
        l_subject = im_subject.
      ENDMETHOD.                    "add_subject
      METHOD set_attach_filename.
        l_attach_name = im_attach_name.
      ENDMETHOD.                    "add_subject
      METHOD set_recipient.
        l_recipient_addr = im_recipient.
      ENDMETHOD.                    "add_subject
      METHOD set_attach_table.
    *   Rellena en un string el contenido de la tabla interna recibida
        DATA: ref_to_struct  TYPE REF TO cl_abap_structdescr.
        DATA: my_like TYPE fieldname,
              nombretabla TYPE tabname,
              nombrecampo TYPE fieldname,
              texto_mediano TYPE scrtext_m.
        DATA: l_idx TYPE i,
              l_valorcampo(16) TYPE c,
              l_long TYPE i.
        FIELD-SYMBOLS: <fs_linea> TYPE ANY,
                       <fs_campo> TYPE ANY.
        FIELD-SYMBOLS: <comp_descr> TYPE abap_compdescr.
        CHECK NOT im_table[] IS INITIAL.
    *   Línea con los nombres de las columnas.
        CLEAR l_string.
        LOOP AT im_table ASSIGNING <fs_linea>.
    *     Toma los atributos del componente
          ref_to_struct  =
                     cl_abap_structdescr=>describe_by_data( <fs_linea> ).
          LOOP AT ref_to_struct->components ASSIGNING <comp_descr>.
            ASSIGN COMPONENT <comp_descr>-name
                                OF STRUCTURE <fs_linea> TO <fs_campo>.
    *       Obtenemos el origen de donde proviene (like). Ej:BKPF-BUDAT
            DESCRIBE FIELD <fs_campo> HELP-ID my_like.
            SPLIT my_like AT '-' INTO nombretabla nombrecampo.
            CALL METHOD get_dataelement_medium_text
              EXPORTING
                im_table_name  = nombretabla
                im_field_name  = nombrecampo
              IMPORTING
                ex_medium_text = texto_mediano.
            IF texto_mediano IS INITIAL.
              CONCATENATE l_string <comp_descr>-name INTO l_string.
            ELSE.
              CONCATENATE l_string texto_mediano INTO l_string.
            ENDIF.
            AT LAST.
              CONCATENATE l_string c_crlf INTO l_string.
              EXIT.
            ENDAT.
            CONCATENATE l_string c_tab INTO l_string.
          ENDLOOP.
          EXIT.
        ENDLOOP.
    *   Contenido de la tabla
        LOOP AT im_table ASSIGNING <fs_linea>.
    *     Toma los atributos del componente
          ref_to_struct  =
                     cl_abap_structdescr=>describe_by_data( <fs_linea> ).
          LOOP AT ref_to_struct->components ASSIGNING <comp_descr>.
    *       Asignamos el componente ue tratamos, para obtener
    *       el valor del mismo
            ASSIGN COMPONENT <comp_descr>-name OF STRUCTURE <fs_linea>
                                            TO <fs_campo>.
            CASE <comp_descr>-type_kind.
              WHEN 'P'. "Packed Number
    *           Convierte a caracter
                WRITE <fs_campo> TO l_valorcampo.
                CONCATENATE l_string l_valorcampo INTO l_string.
              WHEN OTHERS.
                l_long = STRLEN( <fs_campo> ).
                IF l_long > 11 AND <fs_campo> CO ' 0123456789'.
    *             El Excel muestra un número tal como 190000000006
    *             en formato 1,9E+11.
    *             Para eviarlo, los números de más de 11 dígitos los
    *             concatenamos con comillas simples.
                  CONCATENATE l_string c_singlequote
                              <fs_campo> c_singlequote INTO l_string.
                ELSE.
                  CONCATENATE l_string <fs_campo> INTO l_string.
                ENDIF.
            ENDCASE.
            AT LAST.
    *         Añade CRLF
              CONCATENATE l_string c_crlf INTO l_string.
              EXIT.
            ENDAT.
    *       Añade tabulador
            CONCATENATE l_string c_tab INTO l_string.
          ENDLOOP.
        ENDLOOP.
        create_binary_content( ).
      ENDMETHOD.                    "set_attach_table
      METHOD create_binary_content.
        DATA: l_size TYPE so_obj_len.
    *   convert the text string into UTF-16LE binary data including
    *   byte-order-mark. Mircosoft Excel prefers these settings
    *   all this is done by new class cl_bcs_convert (see note 1151257)
        TRY.
            cl_bcs_convert=>string_to_solix(
              EXPORTING
                iv_string   = l_string
                iv_codepage = '4103'  "suitable for MS Excel, leave empty
                iv_add_bom  = 'X'     "for other doc types
              IMPORTING
                et_solix  = binary_content
                ev_size   = size ).
          CATCH cx_bcs.
            MESSAGE e445(so).
        ENDTRY.
      ENDMETHOD.                    "create_binary_content
      METHOD send.
        DATA: l_sent_to_all TYPE os_boolean.
        TRY.
    *       create persistent send request
            send_request = cl_bcs=>create_persistent( ).
    *       create and set document with attachment
    *       create document object
            document = cl_document_bcs=>create_document(
              i_type    = 'RAW'
              i_text    = l_body_text
              i_subject = l_subject ).
    *       add the spread sheet as attachment to document object
            document->add_attachment(
              i_attachment_type    = 'xls'
              i_attachment_subject = l_attach_name
              i_attachment_size    = size
              i_att_content_hex    = binary_content ).
    *       add document object to send request
            send_request->set_document( document ).
    *       add recipient (e-mail address)
            recipient =
               cl_cam_address_bcs=>create_internet_address(
                                          l_recipient_addr ).
    *       add recipient object to send request
            send_request->add_recipient( recipient ).
    *       send document
            l_sent_to_all = send_request->send(
                                 i_with_error_screen = 'X' ).
            COMMIT WORK.
            IF l_sent_to_all IS INITIAL.
              MESSAGE i500(sbcoms) WITH l_recipient_addr.
            ELSE.
              MESSAGE s022(so).
            ENDIF.
          CATCH cx_bcs INTO bcs_exception.
            MESSAGE i865(so) WITH bcs_exception->error_type.
        ENDTRY.
      ENDMETHOD.                    "lcl_mail_xls_attachment
      METHOD get_dataelement_medium_text.
        DATA: lt_fld_info TYPE STANDARD TABLE OF dfies,
          wa_fld_info TYPE dfies.
    *   Busca en el diccionario los datos del campo
        CALL FUNCTION 'DDIF_FIELDINFO_GET'
          EXPORTING
            tabname        = im_table_name
            fieldname      = im_field_name
            langu          = sy-langu
          TABLES
            dfies_tab      = lt_fld_info
          EXCEPTIONS
            not_found      = 1
            internal_error = 2
            OTHERS         = 3.
        CLEAR ex_medium_text.
        IF sy-subrc = 0.
          READ TABLE lt_fld_info INDEX 1 INTO wa_fld_info.
    *     Si lo ha podido tomar del diccionario...
          IF NOT wa_fld_info-scrtext_m IS INITIAL.
    *       Toma el nombre del nombre de campo del diccionario
            ex_medium_text = wa_fld_info-scrtext_m.
          ENDIF.
        ENDIF.
      ENDMETHOD.                    "get_dataelement_medium_text
    ENDCLASS.                    "cl_mail_builder_xls_attach IMPLEMENTATION

  • Doubts regarding registering a table using AD_DD Package

    Dear Members,
    Please give me some information on the following points:
    1/ Parameter 'P_Nullable' in AD_DD.REGISTER_COLUMN
    I have defined a custom table and in this table there are some primary columns and nullable columns.
    Here my understanding is if the column is primary or not null then we should pass value 'N' to the parameter 'P_Nullable'.If it is a nullable column then we should pass value 'Y' to the parameter 'P_Nullable'.
    Can any one please tell me is this right or wrong?
    2/ Parameter 'P_Col_Width' in AD_DD.REGISTER_COLUMN
    In my custom table I have some date columns defined.In some of the date columns iam storing the date as DD/MM/YYYY and in some of the columns iam storing the date format as DD/MM/YYYY HI:MM:SS.
    For these date columns what width i should mention for the parameter P_Col_Width.
    Your inputs will be of great help to me.
    Thanks in advance.
    Best Regards,
    Arun Reddy.

    Hi, here's a script that queries the rdbms data dictionary to use that information to register the table in oracle apps data dictionary. Regarding your concerns, it takes the adequate value for nullable parameter according to column definition, and for date columns, it doesn't matter the format used, the information is stored internally the same. For the lenght of this column data type what I use is 9 as this is used for seeded information on this type of columns.
    Regarding the script, change the name of the table to the one to register or add more than one in the tablas_tab table variable. For the schema owner of the table, change XXAMX for the custom schema you defined.
    A more "readeable" version is available on http://oracle.am0x.com/2008/02/script-para-registro-de-tablas-en-la.html , a blog I have on oracle applications development topics but is spanish.
    prompt -- ======================================================================
    prompt -- Registrando tablas en el diccionario de datos de la aplicación
    prompt -- ======================================================================
    declare
    type tablas_t is table of varchar2(30) index by binary_integer ;
    tablas_tab tablas_t ;
    cursor columnas_cur(
    b_table_name in varchar2 ) is
    select atc.column_name col_name
    , atc.column_id col_seq
    , atc.data_type col_type
    , decode( atc.data_type
    , 'NUMBER', 38
    , 'DATE', 9, atc.data_length ) col_width
    , atc.nullable nullable
    , 'N' translate
    , data_scale scale
    , data_precision precision
    from all_tab_columns atc
    where table_name = b_table_name ;
    begin
    -- Llenar la tabla con las tablas a registrar
    tablas_tab(1) := 'XXAMX_TABLA_PERSONALIZADA' ;
    for tabs in 1..tablas_tab.count() loop
    ad_dd.register_table(
    p_appl_short_name => 'XXAMX'
    , p_tab_name => tablas_tab( tabs )
    , p_tab_type => 'T' ) ;
    for cols in columnas_cur(
    b_table_name => tablas_tab( tabs )) loop
    ad_dd.register_column(
    p_appl_short_name => 'XXAMX'
    , p_tab_name => tablas_tab( tabs )
    , p_col_name => cols.col_name
    , p_col_seq => cols.col_seq
    , p_col_type => cols.col_type
    , p_col_width => cols.col_width
    , p_nullable => cols.nullable
    , p_translate => cols.translate
    , p_scale => cols.scale
    , p_precision => cols.precision ) ;
    end loop ;
    end loop ;
    end ;
    Message was edited by:
    user651494

  • What's this error message on a web page: "No se pudo insertar IP 2605:e000:3fc0:37:6563:1afb:8d61:9783 en base de datos"

    When clicking on a link on a web site in Spanish, I get an error message: "No se pudo insertar IP 2605:e000:3fc0:37:6563:1afb:8d61:9783 en base de datos."
    Is it an issue with the web site or with my computer?
    Thank you,
    Lymsi

    Hi SuperSluether:
    Thank you for your response!
    It looks like issue solved. This morning, I visited the website, and I could access all the links. It got fixed by itself without mine needing to do anything... amazing, but glad it's now all good!
    In any case, thank you again for your help.
    lymsi

  • ERP 6.0 EHP4 Datos Propios

    Good Afternoon.
    I am implementing ESS for Chile.
    Chile not have ESS delivered by SAP.
    In the portal i am in the following path:
    Content Administration>Portal Content>Content provided by SAP>Content for user end>Employee Self-Service->iViews>Datos Propios-->
    Alemania
    Argentina
    Australia
    Austria, etc.
    There are not is a folder for Chile.
    What is the best practice for can work ESS for Chile, if does not exist folder for Chile. What have that do?
    Forgive my writing in English
    Kind Regards,

    Hola Buenas tardes, como yo estoy trabajando con la version 6.0 no uso la tabla V_T588IT_SCREEN, en su lugar utlizo la tabla V_T7XSSREUSEUISN. Ya ingrese los datos para esta tabla.
    Yo estoy verificando las siguientes notas:
    Note 936179 - Reuse of country specific services
    Note 953852 - Best Fit Selection for Reusing country specific services
    Segun he leido, yo tengo que crear un copia del servicio y el recurso para venezuela y direccionarlo.
    ==========================================================================
    Venezuela: Agrupacion de pais 17
    EMPLOYEE_ADDRESS_VE_SERVICE05-->Clave del Recurso.
    EMPLOYEE_PERSINFO_ADDRESS05---->Clave del servicio
    Chile:  Agrupacion de pais 39
    ZEMPLOYEE_ADDRESS_CL_SERVICE05-->Clave del Recurso.
    ZEMPLOYEE_PERSINFO_ADDRESS05---->Clave del servicio
    ==========================================================================
    En la vista V_T7XSSPERSUBTYP
    Venezuela: Agrupacion de pais 17
    17     0006     1     A1
    17     0006     4     A2
    17     0006     5     A2
    Venezuela: Agrupacion de pais 39
    39     0006     1     A1
    39     0006     4     A2
    39     0006     5     A2
    ==========================================================================
    V_T7XSSREUSEUISN
    Infotipo 0006.
    Vers. infotipo 39.
    Nombre estrcutura                         Tipo
    HCMT_BPS_PA_VE_R0006           MAIN Infotipo.
    ==========================================================================
    Tu comentas
    "Se definen los programas específicos para el nuevo pais esta parte se hace en el hompage Framework"
    Cuales programas especifícos me dices, en donde encontro eso?
    Y ultima pregunta para dar puntuacion es: Yo no tengo que hacer nada en la parte del Portal, ya que todo esto es hecho en la parte del backend usando la transaccion PTARQ?
    Saludos

  • Copiar bases de datos Error en Exchange Server 2013

    . Hola a todos
    Estoy Tratando de Copiar las bases de Datos de Buzones de Exchange 2013 Llegue Cuando El Estado de la copia con el comando get-MailboxDatabaseCopyStatus 
    error tengo el siguiente: 
    [PS] C: \ Windows \ system32> Get-MailboxDatabaseCopyStatus *
    Nombre Estado CopyQueue ReplayQueue LastInspectedLogTime Contentin
          Longitud Longitud Estado ---- ------ --------- ----------- ------------- ----- - ---------
    DAG_DB001_Nivel0 \ PROBMMCDTEXC001 Error 11707 0                                  
    DAG_DB002_Nivel1 \ PROBMMCDTEXC002 Error 11585 0                                  
    IncomingLogCopyingNetwork: {PROBMMCDTEXC002, ReplicationDagNetwork01, error de la ONU ha Producido Durante la Comunicación
                                            . Con El Servidor 'PROBMMCDTEXC002'
    Error: No Se Puede Escribir Datos en el transporte de
                                            Conexión: Con La Conexión establecida FUE abortada
    Por software el en su Anfitrión                                         .
    Máquina} ?
    Cualquier del Sugerencia Saludos.
    Hello everyone
    Trying to solve the problem ran the following command update-MailboxDatabaseCopy Database -Identity \ MBX2 -DeleteExistingfiles
    but it generates the following error message.
    The seeding operation failed. Error: An error occurred while performing the seed operation. Error: An error occurred while Communicating with server 'PROBMMCDTEXC002'. Error: Unable to read data from the transport connection: A connection Attempt failed Because
    the connected party did not answer-Properly after a period of time, or established connection failed Because connected host has failed to respond.
    i appreciate your collaboration

    Hi,
    Based on this error, I suggest to manually seed the databases by copying the databases over to the passive node.
    Or try the following method.
    Remove the server from the DAG with this command:
    Remove-DatabaseAvailabilityGroupServer -Identity DAG -MailboxServer ServerName –ConfigurationOnly
    Then did a node eviction from the Windows Failover Cluster:
    Import-Module FailoverClusters
    Get-ClusterNode EX2 | Remove-ClusterNode –Force
    Then mounted the DB's outside the DAG
    Then built a new DAG from scratch, made new DB's and started a migration of the users from the evicted node to the new DAG.
    Similar thread:
    https://social.technet.microsoft.com/Forums/windows/en-US/5f975863-fd85-4d88-9df6-739d320f7b54/database-seeding-failed-as-exchange-dr-side
    Best Regards.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Lynn-Li
    TechNet Community Support

  • Archivo de datos SAP

    Buenos días, quisiera saber si alguno de ustedes ha usado alguna vez la opción de asistente para el archivo de datos, lo que sucede es lo siguiente:
    Estamos usando la versión de SAP 9.0 PL10 llevamos 4 años con sap hemos visto que esta opción permite archivar periodos que ya hayan sido cerrados, la verdad no he encontrado ningún manual que me guié a través de este proceso, lo que he echo hasta el momento es lo siguiente, click en la opción archivo de datos por periodos contables, luego ejecutar simulador de archivo de datos (que según lo que entiendo me sirve para saber cuanto espacio Mb voy a recuperar con el archivo de datos) , en la ventana siguiente me pide introducir la fecha hasta donde voy archivar en este paso puse 31/12/2011 estoy seguro que hasta este periodo esta todo cerrado, luego en parámetros de utilidad de valorización de stocks Tasa directa USD pongo 1800 la verdad no se en que me afecte este valor al archivo de mis datos pero como es obligatorio ese es el que estoy poniendo, al dar click en siguiente empieza a cargar pero hay se queda dice paso 4 de 11 pero de hay no pasa lo he dejado mas de 15 horas prendido pero nada tampoco es que se bloquee por que al abrir el administrador de tareas la aplicación esta activa es un equipo de pruebas con 16gb de ram y cuando veo el rendimiento ha usado mas o menos 14gb la verdad quisiera que alguien me colaborar, si alguien ya logro hacer este proceso que me indique por favor si es demasiado demorado o si algo estoy haciendo mal o si alguien sabe de un manual que me pueda enviar les quedaría muy agradecido, es que necesitamos bajar un poco el tamaño de la base de datos, los logs ya están reducidos a lo mas mínimo así que por eso acudimos a la opción de archivo de datos.

    Espero este video te sea de ayuda:
    https://www.youtube.com/watch?v=0i2Y4uOqIfg
    Saludos,
    JC.

  • Soa suite con bases de datos

    Al momento de pasar una base de datos a en sql, y pl sql a soa suite me genera un error jca y con sale que no debe existir datos nullos y ninguno esta null en sql y sigue apareciendo el mismo error no se que debo hacer por favor solicito ayuda

    adicional a eso al abrir al crear un servicio en bpel no abre así en la consola este bien no sale nada

  • Adquisicion de datos.

    Hola. Estoy realizando un sistema en Labview 8.5. Trabajo con un un analizador de redes electronicas de la marca agilent modelo 5061A y quiero saber como traer datos del analizador a la pc. Agradeceria me orientaran. 

    Que tal, nuevamente, veo que se repitió el foro!
    De todas maneras te dejo el instrumetn driver:
    http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=5405
    Saludos,
    Luis Fernando
    National Instruments Cono Sur
    Ingeniería de Campo y Consultoría
    http://chile.ni.com/

  • TRANSACTION NOTIFICATION, COMO BLOQUEAR CAMPO CARDNAME EN DATOS MAESTROS-SN

    COMO PUEDO PONER UN BLOQUEO EN EL TRANSACTION NOTIFICATION PARA QUE NO SE PERMITA MODIFICAR EL CAMPO DE RAZON SOCIAL (CARDNAME) NI CONDICIONES DE PAGO (GROUPNUM) DE DATOS MAESTROS DE SOCIOS DE NEGOCIOS (OCRD)??
    GRACIAS DE ANTEMANO A TODOS.

    MUCHAS GRACIAS, ME SIRVIO TU RESPUESTA PARA VER COMO IBA A SACAR EL ULTIMO CAMBIO DE X SOCIO DE NEGOCIOS.
    LO QUE PUDE CONSTRUIR FUE ESTO:
    -- BLOQUEO DE RAZON SOCIAL EN DATOS MAESTROS SN
    -- Aqui le decimos que actue solo cuando el tipo de objeto sea 2 (Ventana de Socios de Negocios, y cuando este en modo Crear y Actualizar)
         IF @object_type = 2 and @transaction_type in ('U')
              BEGIN
              -- Declaramos una variable que guarde el valor de la razon social de SN
              declare @newname varchar(100)
              --en la sig. consulta el nombre de razon social que estamos llenando lo guardamos en @newname
              Select @newname=cardname from ocrd where cardcode=@list_of_key_cols_tab_del
              --En la consulta anterior no estoy seguro si este correcto utilizar @list_of_key_cols_tab_del para que se tome el valor
              --del cardcode del campo que estamos llenando de razon social.
              if @newname <> (select CardName from acrd where CardName=@list_of_key_cols_tab_del and LogInstanc=(select max(loginstanc)
              from acrd where CardCode=@list_of_key_cols_tab_del and cardcode=@list_of_key_cols_tab_del))
              --en consulta anterior se compara si el valor nuevo a guardar o actualizar es diferente al que ya existe en la tabla de historial de SN
                   begin
                   set @error = 1
                   set @error_message = 'Acceso denegado para cambio de Razon Social'
                   end
              END
    --END
    MUCHAS GRACIAS POR SU AYUDA..

  • Captura de datos por el puerto serial

    Buenas noches,
    Tengo un problema con la captura de datos por el puerto serial. Logro capturar la cadena de datos, pero el problema es que se desordena la cadena de datos.
    Agradecere cualquier ayuda, ya que soy nuevo en LabView.
    ¡Resuelto!
    Ir a solución.
    Adjuntos:
    dato en desorden.png ‏44 KB
    dato sincronizado.png ‏45 KB

    Parece que el dispositivo conectado simepre transmite sin que haya un comando de inicio; igualmente parece que el paquete de 64 bytes es terminado por un retorno de carro.
    Creo que el problema es que no tienes sincronización entre la transmisión y la lectura: podrías modificar el código para parar la lectura en el retorno de carro, algo así:
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Propiedad de datos

    Buenas tardes
    Alguien sabe si la propiedad de datos aplica también para los reportes, es decir análisis de ventas, antiguedad de saldos.
    Saludos

    Hola.
    Tal como lo menciona Paul, si se ha aplicado propiedad de datos, dependiendo de la parametrización de permisos para ver documentos, los usuarios pueden ver en los informes como en el de ventas el total de las ventas (todos los documentos) pero sólo podrían ver el detalle o abrir los documentos sobre los que tienen permiso/propiedad. De los demás documentos sólo pueden ver el total del documento (sin detalles).
    Espero sea de ayuda.
    Saludos.

  • No puedo abrir ni una dbf ni su Base de datos dbc (de VFOXPRO) - failed to

    Estimados :
                         Estoy empezando con CR 2008 y apenas empiezo , quiero conectar algunas tablas (dbf) de vfoxpro 8, y me da el siguiente error :
                               failed to load database information
    Y en pocos casos , me pedia usuario y password.
    Que me falta agregar ?
    Es necesario hacerlo por ODBC ?
    DESDE YA , MUCHAS GRACIAS
    Ricardo

    Hola Ricardo,
    Las base de datos con el suporte de SAP son:
    - Oracle
    - DB2 for Unix and Windows
    - DB2 Everyplace
    - DB2 for z/OS
    - Informix
    - MS SQL Server
    - MaxDB and SAP DB
    - Sybase
    Saludos,
    Eduardo Rezende

  • Descarga de datos desde Mac Pro hacia iPad

    De cuantas maneras se puede pasar fotos o datos desde Mac Pro hacia iPad??

    Reinicie el IPAD manteniendo pulsado el encendido / apagado y el botón de inicio al mismo tiempo hasta que vea el logotipo de Apple, a continuación, intente sincronizar de nuevo.

  • He actualizado mi iphone 4 sin problemas, luego he conectado un iphone 3 y me ha borrado todos los datos del mismo, ¿como recupero los datos de este iphone?,¿donde puedo encontrar la copia de seguridad?

    He actualizado mi iphone 4 sin problemas, luego he conectado un iphone 3 y me ha borrado todos los datos del mismo, ¿como recupero los datos de este iphone?,¿donde puedo encontrar la copia de seguridad?

    Que tal Eric, Mira despues de una ardua busqueda se cual es el problema, lamentablemente es la MainBoard (La tarjeta principal del iPhone) pero te cuento que aun asi logre restaurarlo, tuve que dejarlo casi una semana en DFU MODE (Pantalla Negra) y se descargo por completo luego baje un programa llamado "redsn*w" la ultima version y en la parte de Extas> Even More> Restore pude restaurarlo. Cabe mencionar que la alegria solo me duro unos cuantos dias, porq de alli se me volvio a apagar asi que el mismo procedimiento, estuve buscando una tarjeta madre en tiendas online, pero basicamente es como comprar otro iphone!, Espero que te sirva de algo a mi me funciono, pero como sabras, algunos les funciona algunas cosas y a otros no, espero que si te funcione! Saludos

Maybe you are looking for

  • How do I sync iCal on my mac with OS 8 devices

    How do I sync iCal on my mac with OS 8 devices

  • Please help  finding the Flash program in Toronto

    Hello everybody! Can anyone direct me to a College that has the best program (full-time/ part-time- up to 1-2 years, but not distant) in Web-design, particularly in Flash. I'm searching such program in Toronto and 'll be thankfull for any information

  • Archiving for Info records.

    Hi. I have a question about to delete some purchasing info records. I use the object MM_EINA to do it, but do I need to use other object? I just need to delete info records, but I don't know if there is dependence with other object. I hope that someb

  • Security for deleting parked documents

    Is there a way to secure who can delete parked documents? Currently, we only allow a certain group of users to delete parked documents. However, I would like to have a way for the creator or someone authorized for the account to delete them instead. 

  • Conduit NPAPI Plug-In. Any advice to remove it?

    I tried to download a live streamer to watch live football. I ignored all warnings, as was in rush to see rest of game. I have Conduit NPAPI Plug-In adware. Mac is horrible, never goes to right pages, gets sent elsewhere, and clicking on anything can