cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent - Need help related to output control routine for EF application

suvvi
Explorer
0 Kudos

My requirement is to send purchase order of raw materials and stock transport order via I-Doc Type ORDERS from SAP to client.

Here I need to send only ZROH type raw materials and ZALB type stock transport order. Hence I need to create one output control routine.

Please help me how to write code inside the output control routine (KOBED and KOBEV) for this requirement.

Accepted Solutions (0)

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor
0 Kudos

What did you already try and where are you exactly stuck in VOFM, filling the forms KOBED_9xx and KOBEV_9xx ?

  • form Kobed is called on item level based on information of header and item
  • form Kobev is called on header level based on information of the header
  • identify data in Function Group V61B
" set
SY-SUBRC = 0. " success (or CLEAR sy-subrc.)
SY-SUBRC = 4. " failure

Look at the multiple samples provided by SAP in VOFM

suvvi
Explorer
0 Kudos

I got the answer. Thank you.