cancel
Showing results for 
Search instead for 
Did you mean: 

NewSalesJournalEntryVoucher Customisation --- Adding Standard Field Not Working

LewisTPeters
Discoverer
0 Kudos
146

Hi,

I've followed https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/how-to-guide-for-journal-entr... a few times before for extension fields, which has worked fine. This time I've been asked to try it with a standard field --- EmployeeID, at the AccountingEntry.Item level. I've added the below line to the XML map as shown in the guide:

LewisTPeters_0-1728637055655.png

And the actual Excel file lets me add the column, and doesn't complain when the information is saved; it creates a sales journal entry voucher. However the Employee ID is empty:

LewisTPeters_1-1728637156524.png

I also tried with data type xs:string instead of tns:IDType --- same result. I don't think it's a question of data type compatibility (the maximum length of IDType is given as 60 characters), as the External Reference at header level has a maximum length of 35 characters, but I'm happy to be proved wrong. Has anyone any ideas?

Thanks,

Lewis

View Entire Topic
LewisTPeters
Discoverer
0 Kudos

I found the problem --- the actual modification was fine, it's just that ByDesign rejects invalid entries there without telling you. I was trying with dummy data; using a valid employee ID in the system worked.