on 11-19-2014 3:02 PM
Hi
I have a requirement to trigger output from SAP Outbound delivery document when there is change in the delivery document like line item material and qty.
Can you please advise how to achieve it with standard SAP functionality or through ABAP enhancement?
Thanks in Advance.
Regards.
Ravikanth
Hi
i found below link for the same query,but the actual changes or enhancement not mentioned.
Anybody worked on the same area ?
http://scn.sap.com/people/ravi.dev/blog/2010/02/02/email-output-to-multiple-recipients-functionality...
Thanks
Ravikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Normally, before saving the delivery itself, output would be triggered and I don't understand what changes users would make after saving the delivery. If at all they want to make any changes, it should be before saving the delivery, in which case, your requirement would certainly be fulfilled.
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
i found below link for the same query,but the actual changes or enhancement not mentioned.
Anybody worked on the same area ?
http://scn.sap.com/people/ravi.dev/blog/2010/02/02/email-output-to-multiple-recipients-functionality...
Thanks
Ravikanth
Hi Ravikat,
In order to issue output again you need to check flag multiple issuing in output configuration.
Define output requirement routine for the same output type.
The logic should be in the routine as follows :
Constants : lc_xlips type CHAR20 value '(SAPMV50A)XLIPS'.
Field-symbols : <ft_XLIPS> type VA_LIPSVB_T.
Data : lt_xlips type standard table lipsvb,
ls_xlips type lipsvb.
assign lc_xlips to <ft_xlips>.
if <ft_xlips> is assigned.
lt_xlips[] = <ft_xlips>.
endif.
if lt_xlips[] is not initial.
loop at lt_xlips into ls_xlips.
If ls_xlips-updkz = 'U'.
SY-SUBRC = 0.
exit.
endif.
endloop.
endif.
The above code checks whether change happens in delivery line item level and it will retrigger the output.
Regrads,
Santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for reply. Do we need to modify user exit also to achieve this ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
1.Create a requirement routine in ABAP [VOFM] which checks eg. if the Delivery Qty[LIPS-LFIMG] has changed in the document.(you can add all relevant fields that you may want to change and trigger ouput after the change)
2. Use standard Output Determination for Outbound Deliveries to define your OP Type, Acc Seq, OP Determination Procedure [Def, Assignment], OP Type assignment to Partner Fns etc.
3. Assign this Requirement routine to the Access Sequence for your Output Type.
4. Mainatin the OP Master records at the key combination level [vv21]
If the delivery qty is changed by the user in the doc, then the system validates the reqt and proposes the OP Type at the Delivery Doc level.
Thanks.
Frankly you can't control trigger of output based change to particular fields in your document with Routine. Routine will control trigger of event, that means it will execute the event. Hope you understand once the output is determined in doc, it will not determine again automatically. You can search and refer my post in SCN on this.
Do you want std program and form routine details of the same? Then let me know the transmission medium for the output.
Thanks, JP
Thanks Prakash for reply.
We have currently used Output form (transmission medium :By mail) to trigger from Delivery, that output need to be triggered If any outbound delivery qty and line item is changed.
If we have any standard program and routine , we will proceed for it.
Other wise please let me know how to customize the requirement or standard program .
If possible please share your earlier post on SCN.
Thanks
Ravikanth
Ravikanth
Strange!
The SAP Note 395569 mention by me is not correction Note, whereas that is Recommendations/additional info which will assist you in understanding the context. Moreover, did you try with
Program: SAPMV50A
FORM Routine: CHANGE_FLAG
before going for your own program & from routine.
Thanks,
JP
Hi Gurus
Please throw some light on the requirement.
Thanks
Ravikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To achieve your requirement, in TCode NACE for your desired output type's configuration General Data tab you should have following things:
1. It should relevant for Multiple print.
2. And there be an entries in change output. Here SAP provides some standard program & form routine. If you have some specific requirement, then you might to develop a custom program & form routine.
Thanks,
JP
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.