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: 

Problem in filling Custom segment data using User Exit for ZORDERS05

Former Member
0 Kudos

Hi,

I am using Process Code SD10 to generate the custom Idoc ZORDERS05.

The function module used is IDOC_OUTPUT_ORDRSP.

I am able to succesfully generate the Custom Idoc (VA02->Extras->Header->Edit) but unable to populate the custom segments in the IDOC.

I have tried to write the code in User Exit EXIT_SAPLVEDC_003 -> ZXVEDU15. But still I'm unable to populate the Z segments.

Even though I place a break point in the FM or in the User Exit during the generation of Idoc the control doesn't stop in FM nor in the User Exit.

I am unable to understand how to go about this.

Can anybody please help me with this?

Thanks in Adavance,

Rohan.

11 REPLIES 11

Former Member
0 Kudos

Hi Rohan

Is the project active

Regards

MD

0 Kudos

Yes It is.

I mainly want to know why is the control not going into FM. Then I can analyse how to populate the Z segments using the Exits inside the FM.

Thanks,

rohan.

Former Member
0 Kudos

Hi ,

Have u linked the new idoc type to the Function module ?

if no, go to the tcode WE57 and configure the FM to idoc type.

Regards

Naveen

0 Kudos

Yes in WE57, FM - IDOC_OUTPUT_ORDRSP, Basic Idoc type - ZORDERS05 and Message Type - ZORDERS05 are configured.

0 Kudos

hi,

Make sure that Message control configuration is done from functional side.

revert back...

regards

Naveen

0 Kudos

can you please be more clear on message control configuration?

I am not clear with that term.

Thanks

Rohan.

0 Kudos

Hi

Iam sorry, i have a very little idea in Message control configuration.

this will be done by Functional guys using NACE tcode with condition records.

Better you ask ur Functional guy and he will explain.

Regards,

Naveen

0 Kudos

Okay I under what you are speaking about NACE.

Yes that configuration has been done and I am sucessfully able to generate the IDOC.

But even though I know that in FM IDOC_OUTPUT_ORDRSP, I have to write code in User Exit EXIT_SAPLVEDC_003 to populate the Z segments; I'm unable to understand y the control doesn't pick the FM and Exit.

Right now I have code in the Exit to fill Z segments.

Thanks

Rohan.

0 Kudos

hey,

while saving the order , can yu press /H in the commmand and switch on SYSTEM DEBUGGING ON and then execute and save.

now can yu check whether it is stopping at the break-point in the user exit.

Revert back.

Regards,

Naveen

0 Kudos

Hi,

I tried doing /H while saving the order.

Still I don't see the control going into FM or the UserExit.

Any more help please?

Thanks,

Rohan.

0 Kudos

Hi,

Did you get any solution for this when your are triggering the Order Ack using the Message control?.

Plz let me know.

Thanks

Regards.

Dinesh