cancel
Showing results for 
Search instead for 
Did you mean: 

Import invoices by DTW

0 Kudos

Hi everyone!

I'm trying to import invoices, but I get the error-message because of field DocType. I already tried code "S" and "SERVICE" but it was refused. I lack good documentation, but found a description of table OINV. SAP writes there, that constraints for DocType are "I" and "S", default is "I".

Thank you in advance for your help!

Fritz

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You're lucky, I'm just finishing the import of all sales documents for my current customer...

I've checked on what I did, you can let the DocType column empty: it's not one of the mandatory fields.

Regards,

Eric

0 Kudos

Hi Eric

Thank you for trying to help me, but I need the code for Service (not Items). For testing I already keep the field DocType empty and used an ItemCode. For the final import I would prefer not to use an ItemCode.

Fritz

Former Member
0 Kudos

Hi,

Ok, I understand. If you want to know what to fill (feed) that's not the helpfile for the DB (REFDB.chm) that you should read, but the one for the DIAPI (REFDI.chm available with the SDK).

In your case, it's an enumeration (boDocumentTypes) who'se members are:

- dDocument_Items (value 0) for items (default),

- dDocument_Service (value 1) for services.

You should (you certainly know) use the full string (i.e. dDocument_Service) in your cell.

Regards,

Eric

0 Kudos

Hi Eric

Thank you so much!!! That's what I couldn't find.

Merci, Fritz

Answers (0)