‎2007 Oct 29 8:03 AM
Hi,
I need to get the object key for a material document, which has to be passed to NAST table. If 4900004026 is the material doc. then its object key is conerted as
490000402620050001. Is there any FM for conversion ?
‎2007 Oct 29 8:10 AM
check the MSEG table, i think there is a field like OBJKY or OBJNR with the key
regards,
Hans
‎2007 Oct 29 8:55 AM
Hi,
Theres no such fields in MSEG table. Think object key is the combination of Material Doc, Doc. year and Itam No.
‎2007 Oct 29 9:01 AM
Hi,
Its a combination of Field MBLNR,MJAHR & ZEILE from MSEG table, where the values will be concatenated and stored in NAST Table.
I think it helps you solve the problem.
Regards,
Anbalagan
‎2007 Oct 29 9:25 AM
Hi,
Now im seeing a different combination...where company code, MBLNR,MJAHR & ZEILE are combined. Hope there should be a standard FM for this Object Key Generation
‎2007 Oct 29 9:39 AM
Hi,
Am not sure, whether Function Module is existing or not.
But, you can concatenate these fields to a String variable or split for the values based on Field Length to separate variables and you can proceed with your process.
Regards,
Anbalagan.
‎2007 Oct 29 8:59 AM
u can create ur own fm concateneating da fiscal year of the document and line item number with the material document number
‎2007 Oct 29 9:20 AM
CONVERSION_EXIT_CCMAT_INPUT Function Module for Material Number Conversion (INPUT)
CONVERSION_EXIT_CCMAT_OUTPUT Function Module for Material Number Conversion (OUTPUT)