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

Regarding EHS Bapi's

anji405
Explorer
0 Likes
811

HI ,

i am working on EHS Module.

i have used Bapi's

BAPI_BUS1077_GETDETAIL ( import -[scenario-1] ,sub_header-[ substance-300000003690].

BAPI_BUS1077_CHANGE

By using this bapi's i will get the data fom GETDETAIL bapi. and making some changes in SUB_HEADER  and moving it to CHANGE bapi. but the data is not changing by seeing in the table(ESTRH) or transaction(CG02).

can any one provide the solution  for this issue.

Thanks in advance.

3 REPLIES 3
Read only

JK
Contributor
0 Likes
707

do you call Function 'BAPI_TRANSACTION_COMMIT' afterwards (its a must)

i assume you dont get an error message? is the field SUB_HEADER Changeable in Dialog /NCG02? The BAPI only can Change fields that are changeable.

Read only

0 Likes
707

Hi Jorg,

Thanks for  your valuable information.

i have used COMMIT bapi, but it is not updated.

Can u please help me which fields are editable in the screen in tcode CG02.

Read only

Former Member
0 Likes
707

Hi Anji,

What are you trying to update in SUB_HEADER?

After completing BAPI_BUS1077_CHANGE, did you check RETURN parameter? RETURN parameter table contains the info, warning and error messages while trying to change the specification.

Regards,

Kannan Veerapandian.