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

NACE output type and custom program

Former Member
0 Likes
3,833

Hello experts.

My client would like to run a report through a custom message type.

In particular, it wants to save an SD invoice in a directoy as a text file (EDI format) through a custom message type.

In this way, when the user will have to print the invoice, can choose to save the EDI file. Txt file in a remote folder.

How can I do that in detail?

1 ACCEPTED SOLUTION
Read only

FredericGirod
Active Contributor
0 Likes
2,429

Hi,

you have to use the transaction VF31.

you have to create a new message type and set output for EDI ..

you have to configure the EDI trans. WE20 (and others) to specify the file directory, format ..

you have to configure the trans. VV32 to specify if it's an output printing or invoice

you have to create a routine (trans. VOFM) to check if the output print is possible for the criteria ..

regards

Fred

5 REPLIES 5
Read only

FredericGirod
Active Contributor
0 Likes
2,430

Hi,

you have to use the transaction VF31.

you have to create a new message type and set output for EDI ..

you have to configure the EDI trans. WE20 (and others) to specify the file directory, format ..

you have to configure the trans. VV32 to specify if it's an output printing or invoice

you have to create a routine (trans. VOFM) to check if the output print is possible for the criteria ..

regards

Fred

Read only

0 Likes
2,429

Hello Frédéric,

thank you for your prompt response, but my question is perhaps easier.

I would like to create a message type that allows me only to run a report or fm without having to use the logic of the idoc, because the customer does not have SAP XI.

Read only

0 Likes
2,429

There is no need of XI.  As your idoc will only write a file as mention above..

Read only

0 Likes
2,429

Has said ,

you don't need XI, XI is only to convert format of EDI (or anything else).

the big question to your user is : what did they want to do with this file ??

regards

Fred

Read only

Former Member
0 Likes
2,429

Hi.

Use transaction NACE, application V3 -> output types and create one.

Regards

Miguel