cancel
Showing results for 
Search instead for 
Did you mean: 

FM for creating Condition Records

Former Member
0 Kudos

Is there FM for creating Condition Records for output type like transaction VV11 (Create Output - Condition Records: Sales)

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I need to create Condition Records because:

- i need to send iDoc when Sales Order is changed.

- to send iDoc i need created Access Sequence, created Condition Table with one field "Payer". Payer is customer, created in vd01

- iDoc is sent only if Condition Table has appropriate Condition Record. For example i have Customer AAA001 and following record in Condition Table:

Payer: AAA001

PartF: PY

Partner: AAA001

Medium: 6

Time: 4

Edited by: S S on Dec 18, 2008 7:47 AM

Former Member
0 Kudos

Hi,

You can upload output condition records with LSMW or BDC.

use FM to read records. RV_MESSAGES_READ

and to update the records use RV_MESSAGES_UPDATE.

Regards,

chandra

Former Member
0 Kudos

Hi there,

FM for condition records? Why do you want to think of a FM for creating conditon records?

Condition records is a master data that has to be manually created as per the business requirement.

But what we can do is that if the data ia existing in an external legacy system, we can migrate that into SAP through a BAPI / BDC or LSMW depending on the volume of data.

But in other cases condition records are manually created in SAP system.

If at all you have a function module to create condition records, how would you ensure that it feeds correct data into the condition records? What key combination would the system take & what data would you want the FM to upload?

How will you monitor what data is uploaded,.

Regards,

Sivanand