2011 Jun 21 10:05 AM
Hi gurus,
We have a problem when archiving SD invoices. In some cases, when archiving, are ocurring errors that shows on SM58.
The error is always:
<<
ARCHIV_CREATE_TABLE SAP_AL_OUT 21.06.2011 18:22:23 SAP ArchiveLink: tipo objeto no asign.a ningún arc hivo (Customizing)
>>
And it's generated when saving the invoice from transaction VF01
We thought the problem could be that the object type was not maintained on the system but that's not the case, the problem is that the type is coming empty.
Watching inside the error, these fields are empty:
AR_OBJECT (should be SDINVOICE)
SAP_OBJECT (should be VBRK)
OBJECT_ID (should have the invoice number)
We were thinking about this TOA_DARA structure determination, but we could not see where it's been generating.
Do you know how is it possible that "sometimes" these fields go empty when processing sd invoices messages?
Thanks in advance
Hi gurus,
We have a problem when archiving SD invoices. In some cases, when archiving, are ocurring errors that shows on SM58.
The error is always:
<<
ARCHIV_CREATE_TABLE SAP_AL_OUT 21.06.2011 18:22:23 SAP ArchiveLink: tipo objeto no asign.a ningún arc hivo (Customizing)
>>
And it's generated when saving the invoice from transaction VF01
We thought the problem could be that the object type was not maintained on the system but that's not the case, the problem is that the type is coming empty.
Watching inside the error, these fields are empty:
AR_OBJECT (should be SDINVOICE)
SAP_OBJECT (should be VBRK)
OBJECT_ID (should have the invoice number)
We were thinking about this TOA_DARA structure determination, but we could not see where it's been generating.
Do you know how is it possible that "sometimes" these fields go empty when processing sd invoices messages?
Thanks in advance
2011 Sep 16 12:17 PM
Hi John,
same problem here. Did you find a solution or have you opened a SAP message?
Regards
Markus
2014 Mar 11 2:48 PM
Hi Marcelo/Markus,
Me too facing the same problem. Can you please let me know if you got the solution.
Regards,
Sudheer T
2014 Apr 07 5:59 PM
Hi Sudheer,
In my case, I saved the TOA_DARA params into an aux var just before calling the OPEN_FORM. Then, I checked the params before calling the function which archives.
clear toa_dara_aux.
toa_dara_aux = toa_dara.
CALL FUNCTION 'OPEN FORM'...
...
...
...
if toa_dara is initial.
toa_dara = toa_dara_aux.
endif.
CALL FUNCTION 'CONVERT_OTF_AND_ARCHIVE'
EXPORTING
arc_p = arc_params
arc_i = toa_dara
format = 'PDF'
TABLES
otf = otf.
Regards
2015 Oct 29 12:05 PM
Hello Marcelo Garcia,
I am facing the same error, TOA_DARA is not filled in my case, invoice is not archived.
Could you please help me out on this issue.
CONVERT_OTF_AND_ARCHIVE is already a part of CLOSE_FORM function module. it's called already.
how did you resolved it?
are you calling the function module CONVERT_OTF_AND_ARCHIVE once again after the close_form?
please help me.
2015 Oct 30 11:21 AM
Hello Munvar,
I call it after the CLOSE_FORM function module
Hope it helps
Regards
2015 Nov 04 5:26 AM
Hello Garcia,
could you please detail the code,
please let me know about how did you get the data to TOA_DARA_AUX structure??
Thanks,
Munvar Basha.