Skip to Content
0
Former Member
Sep 12, 2014 at 03:17 PM

BAPI_PR_CREATE update field ADPRI

339 Views


Hi Gurus,,

Someone knows how to fill this field when creating a PR? I am using BAPI_PR_CREATE and send the value N(3) to this field through the parameter internal table pritem and pritemx ('X') but this fields doesn't get updated.

1) Perhaps I am filling an incorrect value, so Which table has the list of values of this field?

2) How Can I fill this field?

.

.

.

.

.

wa_item-prio_requirement = '001'

APPEND wa_item TO t_item.

.

.

.

.

wa_itemx-prio_requirement = 'X'.

APPEND wa_itemx TO t_itemx.

* Create the PR with the above data's.
CALL FUNCTION 'BAPI_PR_CREATE'
EXPORTING
prheader = wa_header
prheaderx = wa_headerx
IMPORTING
number = pw_pr_number
TABLES
return = t_return
pritem = t_item
pritemx = t_itemx

.

.

.

.

Attachments

ADPRI.JPG (19.0 kB)