Ir al contenido principal

Entradas

SmartForms -

AL momento de crear uno de cero, me encontré con estos issues: Una vez hecho el programa impresor, se debe elegir la impresora, no me funciono LOCL, usé LP01 (lo puedo poner default en usuario, mediante SU01) Tuve problemas con logo, era color, y debia ponerlo en color, lo habia dejado en ByN. Para encontrar el error, tuve que poner ifs, en los distintos objetos, hasta encontrar la falla, ya que el SMARTFORM, no indica el error, simplemente no lo ejecuta y devuelve error 3. En este caso tenia 2 hojas fijas, y para que vaya a la segunda hoja al final de MAIN  va un command, Como agregué texto standard, primero lo debí crear por SO10, luego, para hacer pruebas dentro del mismo sistema, pero mandante distinto, hay que ejecutar un porgrama que lo copia, RSTXTCPY. Para generar una OT  (del tipo Customizing) del Texto, se utiliza el programa RSTXTRAN. Fuentes: http://www.teknodatips.com.ar/sap-netweaver/128-como-asociar-en-abap-texto-standard-a-u...
How to add custom field in Additional B Tab for SAP Sales Order In this article we want to explain step by step how to add custom field in SAP Sales Order transaction VA01/VA02/VA03. This time Mr ABAPGurus will give the tutorial of enhancement to add custom field in SAP Sales order. In this sample we will add new custom field for comments and customer satisfaction, this data will save into separate table from SAP Standard table ( VBAK / VBAP ). SAP provided us with ADDITIONAL TAB in the sales order transaction ( VA01/VA02/VA03 ) which allow customer to add custom fields.  T he different between ADDITIONAL A and ADDITIONAL B is the ADDITIONAL A for field which already predefine in Sales Order Header ( VBAK ) fields and ADDITIONAL B is for field that freely define. This sample we will use ADDITIONAL B because we will store data from customer satisfaction into Z database table. 1. Create one Z table using SE11 SAP Transaction code. 2.Using SE38 Transactio...

ABAP - Webs para tener en cuenta

A medida que busco y busco en internet, me encuentro con páginas de tutorías excelentes, las voy posteando aquí para que indaguen también: https://www.saplearners.com/home/ https://training.logaligroup.com/ Estaré actualizando esta entrada de blog. Éxitos!

ABAP - Celda de color en ALV OO

Está tan bueno este tuto, que literalmente me lo copio (abajo va la fuente) Dear SAPLearners, in this tutorial we will learn how to color a particular cell in ALV using the factory class CL_SALV_TABLE. In earlier tutorial we have added colors to row in ABAP ALV, c lick here to know how . This is similar to coloring row. Lets see how we can do it. To apply cell color, Create a new column of Type LVC_T_SCOL in your output internal table. Set the above column as Color Column in ALV by using the method  SET_COLUMN_COLOR( ) . Add the color data to the color column based on your requirement. Create a program in SE38 and copy the below code. *&---------------------------------------------------------------------* *& Add color to cell in ALV using factory class * *&---------------------------------------------------------------------* *& www.saplearners.com * *&--------------------...

ABAP - Orientación a objetos (Video)

Excelente video didáctico de ABAP OO: Fuente: logaligroup.com/

ABAP - Tabla para parámetros por SM30

Transaccion para SM30 fuente: https://luislokox.wordpress.com/2013/06/05/crear-una-transaccion-para-una-vista-de-actualizacion-sm30-abap/ otros: Fuentes: https://training.logaligroup.com/generador-de-actualizacion-de-tabla/ https://luislokox.wordpress.com/2013/06/05/crear-una-transaccion-para-una-vista-de-actualizacion-sm30-abap/ http://www.mundosap.com/foro/showthread.php?t=28973

ABAP Rangos

TYPES:   tyr_vtweg  TYPE RANGE OF  vtweg . DATA :   lr_vtweg   TYPE  tyr_vtweg ,   rwl_vtweg  TYPE  LINE  OF  tyr_vtweg . * o DATA:    rg_vtweg TYPE RANGE OF  vtweg,     lr_vtweg  LIKE LINE OF   rg_vtweg . CONSTANTS :   cl_i   TYPE  c  LENGTH  1  VALUE  'I' ,   cl_bt  TYPE  c  LENGTH  2  VALUE  'BT' ,   cl_eq  TYPE  c  LENGTH  2  VALUE  'EQ' . * Canal de distribución con valor único   rwl_vtweg - sign    =  cl_i .   rwl_vtweg - option  =  cl_eq .   rwl_vtweg - low     =  'AA' .    APPEND  rwl_vtweg  TO  lr_vtweg . * o * Canal de distribución con rango de valores  ...