06-04-2009 8:13 AM
Hi Experts,
we have a the below requirement for creating sales order using ORDERS05 IDoc
If ../E1EDP01/E1EDP19/QUALF = 002
If u2026/E1EDP01/E1EDP19/IDTNR = 'DEL-0123456'
Then
Drop the respective.../E1EDP01 segment
Please let me know how to achieve this in the user exit(SAP enhancement VEDA0001).
Thanks in advance,
MK
06-04-2009 11:37 AM
Hi,
go to t.code cmod create the project and add the enhancement and write the code in that.
Atul
06-09-2009 1:34 AM
Thanks for the reply,
But I want to know whether we can implement the above logic in userexits, If yes please suggest how to implement
06-09-2009 5:58 AM
Hello
That's exactly what Atul suggested.
Create a CMOD project and assign component VEDA0001 to it. Select a suitable component (e.g. EXIT_SAPLVEDA_001 or EXIT_SAPLVEDA_002) and then implement your logic in the user-exit.
For more details about how to organize user-exits you have a look at:
[Dangerous Liaisons in User-Exits and How to Avoid Them|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11882] [original link is broken] [original link is broken] [original link is broken];
Regards
Uwe
06-10-2009 2:46 AM
Thanks All,
Can you please suggest on -
Which include to use for the above implementation.
How to delete the complete E1EDP01 segment (with sub-segments) from the IDoc, if the E1EDP19-MATNR is equal to DELETE material number.
08-25-2009 4:37 PM
hi experts,
I need to enhance FM u201CIDOC_INPUT_ORDERSu201D. So I had created the new project ZDEV_VEDA via tcode CMOD and under this new project, I assigned the VEDA0001 enhancement. I wanted to enhance Function exit EXIT_SAPLVEDA_001 (INCLUDE ZXVEDU03). But I had encountered this message:
Program names ZX... are reserved for includes of exit function groups. Message no. DS027
Any ideas what is this about? Appreciate so much.
TQ.