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

Function module for VK14 and ME12

Former Member
0 Likes
1,227

Hello,

does someone knows a function module for creating

1.) a new price condition record with new valid from/to range ( table A118 and A004)

2.) a new inforecord with new valid from/to range ( table A017)

Thx a lot in advance

Wolf.

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
888

I think BDC is the better option for these transactions.

5 REPLIES 5
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
889

I think BDC is the better option for these transactions.

Read only

Former Member
0 Likes
888

This is what I actually have, but it's soooooo slow

Read only

0 Likes
888

For me12 you can check ME_UPDATE_INFORECORD

Read only

Former Member
0 Likes
888

Hi,

Use this FM for price conditions creation: BAPI_PRICES_CONDITIONS

It all depends on the config on what table will be updated for the conditon type..

using this FM you can create, change or delete. Make sure you pass the relevant operations in the TABLES

003 Delete: Message contains objects to be deleted

004 Change: Message contains changes

005 Replace: This message replaces previous messages

009 Original: First message for process

023 Wait/Adjust: Data should not be imported

Hope this helps

Regards

Shiva

Read only

Former Member
0 Likes
888

Try using Function module 'RV_CONDITION_COPY'.

maintain_mode = 'A' = Add

maintain_mode = 'B' = Change