2010 Jun 09 5:55 AM
Hello team
I have the below requirement now. please check and suggest me
1. i am sending outbound MATMAS05 idoc from SAP system. but i want to do few validations on the data of idoc (for example i will check the value of plant data with some other value of the table). if my checking is success then only i need to create outbound idoc and send it to downstream systems.
So now i want to know where i need to write the code which performs the validations against the data before creating/posting of idoc.
Please suggest me.
Regards
Raj
Hello team
I have the below requirement now. please check and suggest me
1. i am sending outbound MATMAS05 idoc from SAP system. but i want to do few validations on the data of idoc (for example i will check the value of plant data with some other value of the table). if my checking is success then only i need to create outbound idoc and send it to downstream systems.
So now i want to know where i need to write the code which performs the validations against the data before creating/posting of idoc.
Please suggest me.
Regards
Raj
2010 Jun 09 6:04 AM
2010 Jun 09 6:12 AM
Hello vinodh
Thanks for your reply. if i write a logic in that enhancement, is it before creation of IDOC or before posting of IDOC. what i mean to ask you is how i need to write a logic.
1. check my condition and delete the records from IDOC_DATA if my check fails.
or
2. check my condition and pass the correct data for creation of idoc.
Please clarify me.....
Regards
RAj
2010 Jun 09 6:18 AM
Hi,
You can use Component EXIT_SAPLMV01_002" of enhancement "MGV00001" which get triggered while creating outbound IDOC.
Regards
Vinod
2010 Jun 09 6:22 AM
Vinod
Thanks..... so after doing required validations, the final data i can send for creating idoc right.
Thanks for your help.
I am rewarding points to your answer.
Reg
Raj
2010 Jun 09 10:36 AM
Hello Vinod
one quick question..... can you please tell me how can i find out the enhancements available for MATMAS05 idoc. so that i can select the relevant enhancement.
Regards
Raj
2010 Jun 09 10:43 AM
Hi,
1) see the customer functions called in functiion module "MASTERIDOC_CREATE_MATMAS"
2) See the Master distribution related enhancements of Material Master in SMOD
Regards
Vinod
2010 Jun 09 10:49 AM
Vinod
Dont mine of asking little more clarification. you mean to say go MM01 and find out the package (ie MGA) and then goto SMOD and findout the exits right.
But when check in this way, i didnt find the enhancment MGV00001 you have provided.
please tell me the procedure to check in a detail way. i want to know how can we check for the related enhancments for any idoc type. please tell me to check for MATMAS05 as an example, i will use the same techinque for any idoc type.
Regards
Raj
2010 Oct 02 6:08 AM