Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_ACC_DOCUMENT_POST error

Former Member
0 Likes
4,122

Hi,

I am getting error message while posting the document using BAPI BAPI_ACC_DOCUMENT_POST

i.e. " Value"000100" is not allowed for characteristics "Sales Ord. Item".

Thanks

Parag

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,463

I suppose you have a code like

  ls_accountgl-sales_ord  = ls_vbrp-vbelv or ls_vbap-vbeln

  ls_accountgl-s_ord_item = ls_vbrp-posnv or ls_vbap-posnr

Check if the correspondent record exist in VBAP  ?

Regards,

Raymond

6 REPLIES 6
Read only

Former Member
0 Likes
2,463

Hi,

Show your Input Parameter's Specially item level field and Values ?

may be some field value need "CONVERSION_EXIT" Please check your all Input value's .

Regard's

Smruti

Read only

0 Likes
2,463

Hi Smruti,

Below are the parameters that I am passing to the BAPI and there is no problem with the conversion exit I have maintained conversion_exit for the necessary fields.

Is there any configuration missing from Functional person ?

I check with the error message and below is the diagnosis.

Diagnosis

The system tried to create a line item in operating concern  with the value  for the characteristic . This value does not exist in check table .

      CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
      EXPORTING
        documentheader = gs_header
        customercpd    = gs_header_2
      TABLES
        accountgl      = gt_accountgl
        currencyamount = gt_currencyamount
        criteria       = gt_bapiackec9
        extension2     = it_extension
        return         = gt_return.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,464

I suppose you have a code like

  ls_accountgl-sales_ord  = ls_vbrp-vbelv or ls_vbap-vbeln

  ls_accountgl-s_ord_item = ls_vbrp-posnv or ls_vbap-posnr

Check if the correspondent record exist in VBAP  ?

Regards,

Raymond

Read only

0 Likes
2,463

Hi Raymond,

The values are maintained in the VBPA table.

I am getting the error message as  " Value"000100" is not allowed for characteristics "Sales Ord. Item".

and the diagnosis for the above error message I found as below.

"The system tried to create a line item in operating concern  with the value  for the characteristic . This value does not exist in check table ."

You have any Idea about checking the values of Characteristics for the sales order ?

Thanks

Parag

Read only

0 Likes
2,463

Did you search for OSS notes like Note 728117 - BAPI: Error message KE109 for characteristic 'Sales order' ?

Regards,

Raymond

Read only

0 Likes
2,463

Hi Raymond,

Thanks a lot.... I will check with Functional and will let you know. Hope this will resolve my issue

Thanks

Parag