Ver Mensaje Individual
  #7  
Viejo 30/08/10, 12:54:39
Neo_25 Neo_25 is offline
Member
 
Fecha de Ingreso: jun 2009
Mensajes: 51
Ya lo encontré,
yo llamé a la BAPI: BAPI_SALESORDER_CHANGE

1 con el flag --> simulation = pi_simulacion "X

2 recogí la tabla return --> return = po_return

3 si en la tabla había algún error -->
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.

4 si no había error --> vuelvo a llamar a la BAPI con
simulation = pi_simulacion "blanco ' '

5 finalizo --> CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

Yo hice esto, intenta adaptarlo y prueba

Saludos
Responder Con Cita