‎2007 Apr 01 11:42 AM
Hi all,
Iam trying to test BAPI_PR_CREATE manually in ECC 6.0. I am passing pritem parameters. After executing this diplaying an error 'enter doc type'.
after entering doctype also it is giving the same error. So please suggest me how i have to test.
Regards
‎2007 Apr 01 12:51 PM
‎2007 Apr 01 12:51 PM
‎2007 Apr 01 1:41 PM
Thanks Atul,
I saw all things i have not got any answer my question. My question is why the exception eventhough i enter doctype.
Thanks
‎2007 Apr 02 7:48 AM
Hi
<b>Ensure that for all the values which you are passing in PRITEM table will have a corresponding Flag set as 'X' in the the PRITEMX (Item table).
Similarly, Also, Ensure that for all the values which you are passing in PRHEADER table will have a corresponding Flag set as 'X' in the the PRHEADERX (Header table).</b>
<u>See this sample code.</u>
prheader (Header Table)
prheader-PREQ_NO = '0000000010'.
prheader-PR_TYPE = 'NB'. "Purchase Requistion - Doc Type
prheader-GENERAL_RELEASE = '1'.
append prheader.
Prheaderx (Header Flag Table)
prheaderx-PREQ_NO = 'X'.
prheaderx-PR_TYPE = 'X'.
prheaderx-GENERAL_RELEASE = 'X'.
append prheaderx.Regards
- Atul
‎2007 Apr 02 12:28 PM