Dear SAP-MM Gurus,
I am creating Purchase Requisition using Function Module 'BAPI_REQUISITION_CREATE' using the following parameters
REQ_ITEMS-PREQ_ITEM = '10'.
REQ_ITEMS-DOC_TYPE = 'PI'.
REQ_ITEMS-PUR_GROUP = 'KRR'.
REQ_ITEMS-MATERIAL = '26992100064VA06'
REQ_ITEMS-PLANT = 'CEQP'.
REQ_ITEMS-BOMEXPL_NO = '00014247'.
REQ_ITEMS-STORE_LOC = 'GI31'.
REQ_ITEMS-ITEM_CAT = '3'.
REQ_ITEMS-ITEM_CAT_EXT = 'L'.
REQ_ITEMS-QUANTITY = '23'.
REQ_ITEMS-UNIT = 'NO'.
REQ_ITEMS-PREQ_NAME = '000021012561'.
REQ_ITEMS-TRACKINGNO = '0021012561'.
REQ_ITEMS-CREATED_BY = SY-UNAME.
REQ_ITEMS-PREQ_DATE = SY-DATUM.
REQ_ITEMS-DELIV_DATE = SY-DATUM + 7.
Its correctly creating the Purchase Requisition with the above item details. But there is one icon 'components' which is not active. Since for this material 'BOM' exists, it has to display Components overview, but it is not navigating to component details.
Kindly suggest what else parameters have to be passed to 'BAPI_REQUISITION_CREATE' function so that this 'components' link function properly in purchase requisition display transaction 'ME53N'.
Our objective is to create Purchase Requisition through program automatically. Its creating requisition but only 'Components' navigation not happening for that material which is having 'BOM' already.
Kindly help me.
Thanks & Regards,
Krao,