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

copy control

Former Member
0 Likes
514

hi every body ,

can any body tell me about <b>vofm,</b>

the requirement is

<u>A) For a subcon PO</u>

1) A Purchase order is created in SAP. Upon creation a reservation needs to be made on the components of the BOM ordered.

2) Once the Purchase Order is approved, with the help of a batch program or manually an outbound IDoc is triggered. To make sure the IDoc is not created before the PO is approved;

3) If the PO is not approved, it is not sent to the LSP.

<u>B) For a PO</u>1) A Purchase order is created in SAP. Upon creation a reservation needs to be made on the components of the BOM ordered.

2) Once the Purchase Order is approved, with the help of a batch program or manually an outbound IDoc is triggered. To make sure the IDoc is not created before the PO is approved; a new routine has to be made in

3) If the PO is not approved, it is not sent to the LSP.

its urget requirement,

waiting for reply

3 REPLIES 3
Read only

former_member2382
Active Participant
0 Likes
446

Hi,

VOFM is a transaction where form routines are created.

like user-exits, form routines are used to do extra functionality. we have different routines like condition routines, data routines etc..

once we define the routines we will assign them to standard flow in VTAA transaction(we have header, data categories here we will assign our routine based on our requirement).

for a real-time scenario say when you are creating a sales order from a contract, and you need to check the contract..say for a contract with order type 'ZTYP' you should not allow creating the sales order then you can do this check with the help of routine..

or when creating a sales order you need to validate few fields say a quantity field less than 10 should not be allowed, or if you need to default some values in the fields you can use these routines.

VOFM pricing routines, requirement routines are used in SD and MM.

data transfer routines are specific to SD.

This is a mechanism provided by SAP to allow

1.copy of data between successive documents

2. Modify pricing

3. Output control

4. Specify formulas for condition base values

etc etc

as an ABAP cnsultant .. you will have to create these routines & the FC will assign these in the customising

typically you will write some code to pass / modify values of standard structures that are available

Real time scenarios ,

1. Recalculation of MRP

2. Substituting materials

3. Delivery split based on Material Chapter ID's

4. collating invoices based on Customer

5. Changing the condition base value between 2 successive condition types in a pricing procedure

Etc

Regards,

Md.

Read only

0 Likes
446

can u go through my requirement,

that relate to the purchase order.

wheather it is approved or not.

can u tell me the step by step procedure.

waiting for your reply

Read only

0 Likes
446

my requirement is for purchase oder,

can u tell me step by step process.

waiting for your reply