MUNDOSAP

MUNDOSAP (foro/index.php)
-   Programación ABAP IV (foro/forumdisplay.php?f=4)
-   -   Valores posibles de sy-subrc (foro/showthread.php?t=1511)

cosagaucha 25/08/06 01:23:38

Valores posibles de sy-subrc
 
gente, tengo alguna forma de conocer los diferentes valores que puede tomar la variable sy-subrc y conocer su significado?? ya el del 0 lo conozco... :p pero necesitaria saber ahora si para todos los procesos los valores o significados son los mismos o varian??

Vamos al grano... estoy procesando unos bach imputs, y luego de hacer el call transaction (a la PO01), el sy-subrc toma el valor 1001, y no sigue hacia el log de errores...

alguien me puede dar una mano con esto??

muchisimas gracias!!
JP.

tomasm 25/08/06 06:41:31

Ese sy-subrc = 1001, puede tratarse de que el número de personal que quieres tratar en ese momento esta bloqueado,
o falta de autorizaciones para procesar ese número de personal.

Buscando por otros lados, he encontrado esto:

Dear Abapers,

I am updating batch information (not at the item level but at component level) in PO through ME22.

CALL TRANSACTION 'ME22' USING BDCDATA
MODE 'N'
UPDATE 'S'
MESSAGES INTO GT_ME22_MESSTAB.

When i execute in all screen mode it is updating the batch information in item components (Subrc is 0). But when i execute in No screen mode program is not updating the information and subrc value is 1001.

In the help it says : for mode N
Processing without display of screens. If a breakpoint is reached in one of the called transactions, processing is terminated with sy-subrc same as 1001. The field sy-msgty contains "S", sy-msgid contains "00", sy-msgno contains "344", sy-msgv1 contains "SAPMSSY3", and sy-msgv2 contains "0131".

There are no break points set any where....

Thanks in advance.
Sanjay.




Saludos.


Husos Horarios son GMT. La hora en este momento es 01:55:26.

www.mundosap.com 2006 - Spain
software crm, crm on demand, software call center, crm act, crm solutions, crm gratis, crm web