I'd like to do batch determination based on destination country in the delivery.
I thought this process would be similar to the process used for the expiratation date calculations that utilized LOBM_LFDAT.
I created my own ZLOBM_LAND1 and defined it just like LOBM_LFDAT. I.e. LOBM_LFDAT references the structure BDCOM-LFDAT for the expected delivery date of the delivery. I thought I could reference BDCOM-LAND1 (Defined in the ABAP dictionary), as the source for my characteristic ZLOBM_LAND1. Then I would use that in my selection criteria in the SD batch determination selection class.
I get no errors in setting it up, but when I run batch determination, I don't see a value for ZLOBM_LAND1 as I do for LOBM_LFDAT.
Any suggestions or ideas?
My goal is to use that country value from the delivery and only select batches where that country is listed in LOBM_COUNTRY_OK.
Has anyone done this?
Thanks in advance!
Craig