cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to add the Note for Invoicing Document using Idoc

Former Member
0 Kudos

Hi All,

I would like to use the idoc to create the Invoicing document (MIRO). it seem can't use standard segment E1EDKT1 to create the standard text.

Anybody have any suggestion to create this standard text?

Regards,

Luke

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

You need to use appropriate TDID Value of E1EDKT1 and the corresponding text needs to passed in the segment E1EDKT2 field TDLine...Also populate TDSPRAS and TDSPRAS_ISO Fields of segment E1EDKT1...

HTH

Rajesh

Former Member
0 Kudos

Hi Rajesh,

How can i input the object name in the segment E1EDKT1-TDOBNAME before submit idoc file.

Since document not created. Could you please advise me how to do it ?

Regards,

Luke

Former Member
0 Kudos

Hi,

Search for user exits for the idoc (which you are using) on SAVE.

Regards,

Krishna Chauhan

Former Member
0 Kudos

Hi Krishna Chauhan,

I can't found any user-exit for this situation. Would you please advise me which user-exit i can use?

Regards,

Luke

Former Member
0 Kudos

Hi,

you can use the other way for your task....

Get created the Invoice idoc and add the text over there and see the same in the idoc...(what all the fields its getting generating in the idoc...)..other option is check with out passing the object name...

you need to pass the same while generating the invoic via idoc...

HTH

Rajesh

Former Member
0 Kudos

Hi Rajesh,

Not really understand how to do it.

Do you mean i will trigger another Idoc to create the standard text after i posted the document ?

Regards,

Luke

Former Member
0 Kudos

Hi Krishna Chauhan,

I can't find the user-exit after save the document for the function module IDOC_INPUT_INVOIC_MRM.

Do you have any suggestion for it ?

Regards,

Luke

Former Member
0 Kudos

Hi Krishna,

I checked WE60 and tried use the E1EDKT1 to create the standard text for invoicing document.

Document created successful but can't add the standard text in this document.

also i try to find some exit for update the standard text. i can't find out any exit after creating the invoiceing document.

would you please give more advise to me ?

Regards,

Luke

Former Member
0 Kudos

Hi LukeWong,

Below is the link how to enhance an idoc.

http://www.saptechnical.com/Tutorials/ALE/IDOCExtension/IDOCExtension.htm

First you have to create a 'Z' segment in the standard idoc. Search for the relevent exit which will save your data into idoc on 'SAVE'. You need to search the exit.

Regards,

Krishna Chauhan

Former Member
0 Kudos

Hi,

Check the documention of IDOC WE60.

If still you don't find anything you need to enhance the idoc and write the code in an user exit.

Regards,

Krishna Chauhan