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: 

Argent Help Needed for VL01N(create delivery) and IW51(Create Notification)

Former Member
0 Kudos

Hello All Requirement : when create a delivery using VL01N, at the same time, 'Notification creation'(IW51) will automatically being create. in short, when i'm creating a delivery and save it at same time 'Notification Creation' will autometically genetare. So, i think, change in SAP Standard Program.. So how to do that or is there any way to do it?? Thanks All Kaushik

Edited by: The Kaushik on Aug 31, 2011 1:13 PM

4 REPLIES 4

madhu_vadlamani
Active Contributor
0 Kudos

Hi Kaushik,

Why this is much big font. Did functional people tried this with configuration.

Regards,

Madhu.

0 Kudos

Hello

Yes....functional people try this. but no standard or custom configuration available.

So, is there any standard configuration available??

Thanks

Kaushik

0 Kudos

Hi I think you can trigger the notification create while saving the BADI LE_SHP_DELIVERY_PROC but i do not understand why will you need a notification while creating delivery outbound yes IDOC makes sense ...Even if you are creating the notification what is that you are going to pass as input from delivery ? Give a funnctional link and business requirement for this to help us give you an answer ....

Thanks,

Anjaneya .

0 Kudos

Hello Anjaneya,

Business requirement is that, we dont want to create notification separately because of our business sense.

i have also find out the solution .

BAPI_ALM_NOTIF_CREATE is the function module, for create notification in background.

but now question is that,

where to put this code in transaction VL01N or SAP Standard Program SAPMV50A.

My Program is like,

DATA: I_BAPI2080_NOTHDRI TYPE STANDARD TABLE OF BAPI2080_NOTHDRI WITH

HEADER LINE.

DATA: I_BAPIRET2 TYPE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE.

DATA: I_BAPI2080_NOTHDRE TYPE STANDARD TABLE OF BAPI2080_NOTHDRE WITH

HEADER LINE.

DATA: I_BAPI2080_NOTFULLTXTI TYPE STANDARD TABLE OF BAPI2080_NOTFULLTXTI

WITH HEADER LINE.

I_BAPI2080_NOTHDRI-SERIALNO = 'XXXXXX5885'. u201Cu can find this is vl01n

I_BAPI2080_NOTHDRI-MATERIAL = 'XXXXXXXX20111'. u201Cu can find this is vl01n

CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'

EXPORTING

  • EXTERNAL_NUMBER =

NOTIF_TYPE = 'S0'

NOTIFHEADER = I_BAPI2080_NOTHDRI

  • TASK_DETERMINATION = ' '

  • SENDER =

  • ORDERID =

IMPORTING

NOTIFHEADER_EXPORT = I_BAPI2080_NOTHDRE

TABLES

  • NOTITEM =

  • NOTIFCAUS =

  • NOTIFACTV =

  • NOTIFTASK =

  • NOTIFPARTNR =

  • LONGTEXTS = I_BAPI2080_NOTFULLTXTI

  • KEY_RELATIONSHIPS =

RETURN = I_BAPIRET2.

CALL FUNCTION 'BAPI_ALM_NOTIF_SAVE'

EXPORTING

NUMBER = I_BAPI2080_NOTHDRE-NOTIF_NO

  • IMPORTING

  • NOTIFHEADER =

  • TABLES

  • RETURN =

.

u can not geting output here......but if u can run tcode : IW53, U can see that, notification will be created.

Thanks

Kaushik