cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module

Former Member
0 Kudos

Hi,

what is the procedure to insert function module in output types ? And also when we put break point to function module to the transaction for output type assigned.

Regards,

VSN

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

You can insert a function module in the print program not in the output type. But still can't get what exactly are you looking for, describe your requirement and I might be able to help you

thanks

Chandra Kiran

Former Member
0 Kudos

My requirement is once the sales order is saved automatically delivery should create, so we want to add the functional module logic in output type.

Can you explain procedure step by step how to activate it and where we have to assign this FM in output type.

Former Member
0 Kudos

Hi VSN

Create a Z program which internally call VL01N tcode to create delivery.

Goto NACE table and assign this program to your output type. So when your output type will trigger, Z program automatically call VL01N tcode and will generate delivery.

try and revert

Former Member
0 Kudos

Hi,

Goto the T.Code "NACE" and identify the processing routine for your output type where you are planning to add this FM.

Add this FM to your program there.

I think to satisfy your requirement,we hav to go for a new code.

Such that when we save the order,the delivery has to be created or in the menu bar,it should trigger the "Sales order-->Delivery" automatically.

Regards,

Krishna.

Former Member
0 Kudos

Dear VSN,

This can be done at Sales document type configuration level (T code:VoV8) No need to go for Functional Module.

In vov8 Under shipping

there is an option for Immediate delivery. mark this field with A or X

A Create delivery immediately

X Create delivery immediately, if quantity confirmed for today.

Then delivery will be created automatically.

Hope this helps.

Regards

Shakthi

Former Member
0 Kudos

Hi Krishna,

Can you tell me how to identify the processing routine for the output type.

Former Member
0 Kudos

Dear VSn,

Processing routine can be found in tcode-NACE.

Select applivation as V1 then click on output types

then select your output and in dialog structure click on Processing routines

you will get. the prog and form routine.

But still i suggest you to do configuration at sales document type level as mentioned in my earlier post.

Regards

Shakthi

reazuddin_md
Active Contributor
0 Kudos

Dear VSN,

If you want the system to create Delivery automatically after you save the order, why you want to go for FM & Output type, when there is std functionality available (Fine tuning Shipping condition / Immediate delivery in doc type can do this job)?

Is there any specific reason , to go for FM in output type?

that gives clear picture about your requirement for others as well.

Former Member
0 Kudos

Hi,

Goto the T.Code "NACE".

Select your application as "V1(Sales)".

click on "Output types".

Select your output type.

Click on Processing routines.

Check the Program,Form routine and Smartform aginst your medium of sending.

Here you can identify the program.

Regards,

Krishna.

Answers (1)

Answers (1)

Former Member
0 Kudos

hi VSN

Seems it is a ABAP question, post it in ABAP forum.

You can use FM in print program and smart form as well.