06-06-2007 6:25 PM
Hi!
I am trying to find out what is a process of adding fields in EDI output of Invoice List...
I mean that I need to add some extra fields to Invoice lists.
The information I have is: name of Form, print program and output type.
I guess I need to modify printing program, is it a correct way to go?
Hope to avoid modifying of print form...
Will reward,
Mindaugas.
06-06-2007 7:22 PM
Check the link..
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SDEDI/SDEDI.pdf
No need to modify print program or layout,this is interface and not related to print program or layout...
06-06-2007 7:09 PM
06-06-2007 7:22 PM
Check the link..
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SDEDI/SDEDI.pdf
No need to modify print program or layout,this is interface and not related to print program or layout...
06-06-2007 7:59 PM
I have read the document that you provided, it was helpfull.
But still... how to set up the EDI output of Invoice List?
I mean where it is being set up? And how to see the "preview" in order to know that field was added?
I imagine, that there are a lot of available fields for Invoice list, just need to choose them for displaying, does it sound correct?
Mindaugas.
06-06-2007 8:25 PM
I did not work on invoice list EDI,but i have done invoice.
First you need to look at segment,if you want to add new fileds in output,then you need to create segment at WE31 Transaction.
now create idoc type based on invoice idoc type ( WE30) here you need to use ur segment.
Idoc has function module
outbound - FM will start IDOC_OUTBOUND_inv*
Inbound - FM will Start IDOC_INBOUND_INV*
in the FM,you will have user exit ,populate ur fields in user exit.
Configuration :
1 create or maintain logical system - SALE
2. Create RFC Destination - Sm59
3. Create port - WE21 - ( EDI - Port is FILE)
6.Maintain partner profile - WE20 ( Give all required details like message type,idoc type)
IDOC Status - WE02 or WE05
Status Record - WE47
Change pointer - BD52
Message type : WE81
Assign message type to idoc WE82
finally when you create invoice list and output type medium is 6 then output will go to other system as text file.
Note : Please maintain message control in Partner profile.
06-06-2007 8:37 PM
very helpfull!
but if I decide to create the same structure invoice list as invoice is, so no need for user exit, correct?
I mean no programming is needed in this case?
And I need to find out what type is for invoice IDoc in order to make invoice list the same type?
M.
06-06-2007 8:58 PM
Same structure,then no need to have any user exit,just configure what ever setting required .
No programming is required and mainly look at WE20 Transaction ( Maintain process control 1 Application V3,Messa type : LR00,Process code )