cancel
Showing results for 
Search instead for 
Did you mean: 

Outbound delivery Idoc User exit

Former Member
0 Kudos

Hi,

I need to change the delivery date going in thru outbound delivery Idoc,

Can any one please advice which user exit might be of help.

Basically i would like to change the Delivery Idoc(DESADV) when the PGI is done.

Appreciate any replies.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi All,

Sorry to ask this basic question,but am not very familiar with Uesr exits.

How can i write this user exit(in LVED2FZZ).

Please advise..

Thanks.

former_member188685
Active Contributor
0 Kudos

hi alen,

just go to change mode, it will ask for the access key (if it is first time). then directly you can add the code in the forms.

and save activate.

regards

vijay

former_member188685
Active Contributor
0 Kudos

hi,

if you don't have access key then you can get it from table <b>DEVACCESS</b>, provide the user id and get the access key.

in the include just what ever form you want to add , just add in that form your code.

regards

vijay

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

The form routine where i put the break-point is "FORM USEREXIT_E1EDK03".

But the processing doesnt stop here,while generating the Idoc.

Thanks.

Former Member
0 Kudos

Any answers/Help please??

Message was edited by: Alen david

Former Member
0 Kudos

Hi,

First set a break-point at FORM SEGMENTS_FILL. This is in include LVED2F0S.

Then set at FORM SEND_SEGMENT_E1EDK03_DESADV.

Again at PERFORM USEREXIT_E1EDK03.

And once more inside...

Also check the idoc segments whihc u are using for testing, if it has K03 segment ...

See tha path flow...

Let me know if this helps.

Shobana

Former Member
0 Kudos

Hi Shobna,

Thanks for your reply.I did the same before & tried again too.applied break points in all those places...

But its not comming in debug mode...its generating an Idoc in background i guess.

By the way the Idoc segemnt where i have to change the data is "E1EDT13 007".(Delivery date)

Former Member
0 Kudos

Hi Alen,

In WE19, when u are processing through Inbound IDOC Function module, it pops up a ascreen where u can select foreground/background/debug mode. did u try this?

Shobana

Former Member
0 Kudos

Hi shobna,

The user exit am trying to debug is for Outbound delivery Idoc.

Thanks.

Former Member
0 Kudos

Hi Alen,

Here you have the simple and best way to do the debugging with the outbound.

Put the breakpoint wherever you want to debug.

Go to VL02N transaction and go to Extras->Delivery output->header.

Choose the EDI output and select the further data.

Change the timing to 1 ( Send with periodically scheduled job) .

Go to SE38 and execute program RSNAST00 and specify the parameters.

Now execute the program.

It stops at the break point.

I hope this help you out.

Thank you.

regards,

Karun M

Former Member
0 Kudos

Hi all

I tried the above thing. But after executing RSNAST00 by putting in the requisite parameters I am getting an information message that Object is blocked.. then the second information msg pops up saying 0 processed successfully.

Can anybody bail me out of this. Actually am working on Invoice. (TCODE VF01/VF02).

Thanks

Former Member
0 Kudos

Hello Alen,

In my case, i tried the following case to make it work :-

1) Set the external breakpoints in your user-exits forms.

2) Go to VL02N transaction and go to Extras->Delivery output->header.

3) select EDI Output type, and click on "Repeat output". in case if it's not allowed to re-process then change manually the following fields values in table - NAST for same delivery outbound. Fields are :- VSZTP = 1, VSTAT = 0 and NACHA = 6. save the changes in table.

4) Save the changes if you made in vl02n too. Get back from document change mode otherwise, it will throw an error message "Object blocked..." at next step 05

5) Go to SE38 and execute program RSNAST00 and specify the following parameters as given below:-

output application = V2 [for Shipping]

Object = <your outbound delivery number>

Output type = <delivery header output type>

check "send again" box [in case to re-process the same output type]

Press F8.

Hope, these steps might help you to achieve your debugging object.

Thank you.

Best regards,

Rahul Agarwal

Former Member
0 Kudos

Hi Baldeep,

you received this message "Object blocked" because your outbound delivery document is still in change mode in VL02N. Therefore, before processing through RSNAST00, please make sure you move out from VL02N TCode session.

Thank you.

Best regards,

Rahul Agarwal

Former Member
0 Kudos

Hi Group,

I have put an Break-point in this user exits(LVED2FZZ),but when its sending an outbound Idoc,it doesnt stop there...i already activated this include...is there any other activation to be done.

I want to go into debug mode and see what data is comming in thru this Exit,to check the possibility for me to calcualte a new delivery date based on route lead time.

Thanks for all ur replies.

Former Member
0 Kudos

What is the form routine you used to implement the logic?.

Thank you,

Regards,

Karun

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Alen!

LVED2FZZ is an include, so one of the old style exits.

I would recommend, only to send dates which you have also in SAP-documents somewhere. I can't say, which date fits best for your requirement. And maybe you need to change a date in a document. This would be OK, as long as we talk about a field, which can be changed manually. Then an user-exit, which does this change automatically is OK. But sending something different then seeing in SAP might at least confuse.

Regards,

Christian

Former Member
0 Kudos

User Exit LVED2FZZ is not available when checking thru thrnx SMOD ..am on version 4.7

Former Member
0 Kudos

Ok. I had to say LVED2FZZ is include program. Use SE38. It is another example of old-classic userexits.

Regards,

Maxim.

Former Member
0 Kudos

Hi Alen,

Dont check it in SMOD..its an Include program where u can find userexits.

If u can open the FM IDOC_OUTPUT_DESADV01..here u can findout the

  • Fill the segments of the idoc.

PERFORM SEGMENTS_FILL.

in this perform check the delivery segments..

Former Member
0 Kudos

Hi!

Use LVED2FZZ userexits to change DESADV outbound IDOC.

Regards,

Maxim.