Skip to Content
0

Check to be applied in VL02n using VOFM routine & update of error message in processing log

Nov 20, 2016 at 04:51 PM

145

avatar image

Hi SD Members ,

Greetings for the day ahead .

I am ABAPer and I have the query in SD forum regarding the functional SD approach . I have designed smartform for Pack Slip Output . The functional consultant wants to put a check in the VOFM routine . The check is :

--------------------------------------------------

Pack slip output should get generated and printed out after the completion of delivery post goods issue and in this case the new VOFM routine should check the Delivery GI status (VBUK-WBSTK= C) and check in VBFA there is a value for Inbound delivery ( VBFA- VBELN) where VPTYP_N = 7.

--------------------------------------------------

Now code of VOFM routine 1 - Delivery GI posted - application V2 is copied and new form routine 901 is created and activated .

This would be triggered through this Path --->

Now the issue is the error message trigerred comes on the same screen as

The problem is that the requirement is to display this error message in processing log not on the same screen using the path VL02N --> Extras --> Delivery Output ---> Header like in the screenshot below :

I have a question :

1. Is the VOFM approach of copying form routine 1 code correct OR some other approach like User-exit or BADI should be used to achieve this ?

2. If the VOFM form routine approach is used , is some other form routine code other then 1 has to be copied to achieve the goal ?

Kindly Comment / help which would be appreciated .

Thanks & Rgds ,

Devendra Singh

-------------------------------------------------------------

The new form routine has the code as for the check :

1.png (17.5 kB)
4.png (46.5 kB)
5.png (17.1 kB)
7.png (40.2 kB)
3.png (32.8 kB)
10 |10000 characters needed characters left characters exceeded

Hi Laxmi Sir ,

Greetings for the day ahead .

Thanks for the Reply . The earlier query was related to ABAP development . This Query is regarding Functional SD Prospective which may Provide some Clue to solve the issue .

If you have any inputs on this , Kindly share .

Thanks ,

Devendra Singh

0

Hi SD Members ,

Greetings for the day ahead .

This Query is regarding Functional SD Prospective which may Provide some Clue to solve the issue .

If you have any inputs on this , Kindly share .

Thanks ,

Devendra Singh

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Devendra Singh Nov 28, 2016 at 01:13 PM
0

Hi Members ,

Any User-Exit which can solve the issue ?

Thanks ,

Devendra Singh

Share
10 |10000 characters needed characters left characters exceeded
Devendra Singh Nov 30, 2016 at 09:24 AM
0

Is this Possible or Kindly Suggest some badi or User exit for the Purpose Plz ?

Thanks ,

Devendra Singh

Share
10 |10000 characters needed characters left characters exceeded