Ver Mensaje Individual
  #2  
Viejo 25/08/06, 06:41:31
Avatar de tomasm
tomasm tomasm is offline
Member
 
Fecha de Ingreso: jun 2006
Localización: Paraiso natural
Mensajes: 87
Wink

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.
__________________

Úlima edición por tomasm fecha: 25/08/06 a las 07:44:12.
Responder Con Cita