Application Development 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: 

BAPI Function module to create question inside the PLMD_AUDIT

former_member217544
Active Contributor
0 Kudos

Hi folks,

we have go the requirement for question creation in PLMD_AUDIT, we have called the BAPI BAPI_BUS2031010_CREATE for question creation inside our ABAP Program, even then we have strucked with the import and export parameter, please provide ABAP Sample code for question creation BAPI in PLMD_AUDIT Transaction.

please suggest if there are any other ways to do the same.

Reg,

Hariharan

2 REPLIES 2

Former Member
0 Kudos

Hello Hariharan,

we tried too to implement this Audit Questions import with ABAP program

and the BAPi: bapi_bus2031010_create.

We always got the messages: 1. External ID is missing and 2. Specify a valid

hierarchy level for the hierarchy profile.

I DON'T KNOW WHY, and i don't know if you have the same problem.

We used also the bapi bapi_bus20310_create to create the question list header

and it's working OK.

I tried to create thr items with this bapi to and it is the same problem.

Re,

Eli

0 Kudos

Hi,

Can you please tell me what are the import parameters you gave to create Question list using BAPI_20310_CREATE.

We tried to create Question list(using BAPI_20310_CREATE_ and Question-items(using BAPI_2031010_CREATE) also, it is not showing any error but when i searched in the standard table CGPL_PROJECT for the created questions we are unable to found.

For your errors try this:

1. Give any external id (some identifier-your own text) to remove the error

"External ID is missing"

2. Give hierarchy profile value ' 01' to remove the error

" Specify a valid hierarchy level for the hierarchy profile."

Thanks,

Swarna