We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
This function module supplies several service function modules with source of supply data, transportation lane attributes, delivery conditions, and procurement types.
If data is imported to the core module using tables IT_LOCTO, IT_LOCFR, and IT_PROD, the cross-product is required and the module does not know which records the user expects; therefore all of the data that is found is exported. However, if data is imported using table IT_LOCFR_LOCTO_PROD, only certain lanes are expected and exported.
To import data, the LOCID or MATID (as GUID) must be entered in the import tables IT_LOCFR, IT_LOCTO, IT_PROD, and IT_LOCFR_LOCTO_PROD. The data in other fields, such as 'external' LOCNO or MATNR, is not taken into account.
It is not allowed to request only ET_INVALID_DATA.
The export tables of type ANY TABLE allow assignment of tables with variable structure. However, to ensure that the process is correct, the table must contain at least the following fields: VALFR, VALTO, LOCTO, LOCFR, MATID, LOCTOTYPE, LOCFRTYPE, SLSNR, TRNAME, BWSCL, SPRIO.
Do not enter records with different field combinations in import table IT_LOCFR_LOCTO_PROD. For example, do not insert one record with LOCFR and LOCTO and the next with LOCTO and PROD.
To get information about the source of supply data that is required but has not been exported, the data must be imported using IT_LOCFR_LOCTO_PROD, and export table ET_INVALID_DATA, which contains information about non-existing or invalid data, must be requested