Application Development 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: 

Need Flat file for Message type DELINS

Former Member
0 Kudos

Hi Experts,

It possible to see the flat file for the Message type DELINS ,, If needed means please say how it can view..

Advance thanks..

1 ACCEPTED SOLUTION

Peter_Inotai
Active Contributor
0 Kudos

In the marketplace if you do an advanced search for keyword DELINS, you can find quite a lot of documentation. Probable you can find some useful details in them.

Peter

6 REPLIES 6

Peter_Inotai
Active Contributor
0 Kudos

You can use transaction WE19 /Test tool/ to upload/download Idocs.

Peter

Former Member
0 Kudos

hi peter ,

i need to transfer the Flat file to SAP,, i am new to this . if possible please say the steps..

Flat file is ANSIX12 830, it should be converted into IDOC.Steps needed please..

0 Kudos

Hi,

I don't really know what ANSIX12 830 is.

Normally you can upload via WE19 if it's already an Idoc file.

If it's not an Idoc, I think you have to read the file to an internal table /either with OPEN DATASET if it's on the application server or CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD if it's on PC/, then convert it to an internal table format, which can be processed as an Idoc and then process it.

What I would do:

- Generate a dummy file via WE19. Define message type in the selection screen, enter some data and select output processing

- Via WE19 try to upload and process the file. Probable you have to modify the ports and so on. Try to debug which FMs are used for this message type in inbound processing. You can write you ABAP code based on this.

Regards,

Peter

0 Kudos

First Thanks for ur kind Reply Mr.Peter,

The Need for me:

-


My need is to convert the EDI format into SAP.

here, the EDI format is ANSIX12 830 message type (Delivery Schedule), This may be as the flat file.,

And now i need to receive this flat file into SAP.

And it will be come to our inbound .

Whether its possible to convert or we may establish some function modules or write IDOC programs..etc.,

0 Kudos

>My need is to convert the EDI format into SAP.

As far as I know EDI can be read by SAP as Idoc directly without conversion. At least I would try this.

I checked in WE20 /partner profiles/ for outbound parameters there is a tab called 'EDI standards' and here you can define the EDI parameters. However there is no such tab for inbound processing.

What I would do /using transaction code SALE/

- define logical systems

- assign the received to the client

- create RFC port for Idoc processing

- create distribution model with the correct message type

- create port as file

- define or generate partner profiles

Try to upload sample files via transaction WE19 or WE16.

You can try to debug the inbound processing and write a program based on that, which could be scheduled as a background job.

I had a program doing similar, but it was another message type and it was XML based, however the FMs I used are the following:

'EDI_PORT_READ' - read port definition

'EPS_GET_DIRECTORY_LISTING' - get the file names in the dir

'EDI_DATA_INCOMING' - process idocs

Hope it helps.

Peter

Peter_Inotai
Active Contributor
0 Kudos

In the marketplace if you do an advanced search for keyword DELINS, you can find quite a lot of documentation. Probable you can find some useful details in them.

Peter