Skip to Content
avatar image
Former Member

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

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)
Add comment
10|10000 characters needed characters exceeded

  • Former Member

    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

  • Former Member

    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

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 28, 2016 at 01:13 PM

    Hi Members ,

    Any User-Exit which can solve the issue ?

    Thanks ,

    Devendra Singh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 30, 2016 at 09:24 AM

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

    Thanks ,

    Devendra Singh

    Add comment
    10|10000 characters needed characters exceeded