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

SAMPLE_INTERFACE_PM000020 bte

Former Member
0 Likes
1,466

I am trying to use SAMPLE_INTERFACE_PM000020 to update Equipment Record.

But it looks like another function is required as subsequent one as this BTE doesn't provide any change option. Have any one used this BTE successfully?

Thanks

Bala

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,315

Try BAPI_EQUI_CHANGE.

7 REPLIES 7
Read only

Former Member
0 Likes
1,315

Hi Bala,

I have not tried this BTE myself.

By looking at the interface of the function module, I would guess that we need to pass the changes using internal table IHPA_NEW.

Sorry if you have tried that before

Regards,

Lim...

Read only

0 Likes
1,315

Hi Lim,

Our requirments are to change Equiment master records i.e. in EQUI itself not IHPA.

thanks

Bala

Read only

Former Member
0 Likes
1,316

Try BAPI_EQUI_CHANGE.

Read only

0 Likes
1,315

BAPI_CHANGE doesn't seem to be working as I have to use it within SAMPLE_INTERFACE_PM000020. I could capture enough data for a change in this BTE , but I couldn't force the data change when an equipment record is created from a sales order.

Read only

0 Likes
1,315

Hi,

Can you see or access the EQUI internal table from the BADI?

If yes, then you can change this table even if it is NOT available in the importing parameters .. using the following method.

Please see the example below:

field-symbols: <zmseg> type mseg.

assign ('(SAPLQPL1)MSEG') to <zmseg>.

  • SAPLQPL1 is the main user exit program name and MSEG is the program internal table name.

move your_field to <zmseg>-anyfield.

  • By changing the content of your field symbol, you actually changing the value of that table directly.

Regards,

Lim...

Read only

0 Likes
1,315

Let me try. Thanks for your time to reply my questions

Bala

Read only

0 Likes
1,315

Hi,

I used BAPI_EQUI_CHANGE inside this BTE and it worked..