cancel
Showing results for 
Search instead for 
Did you mean: 

Custom fields on shipping notification (ASN) tab in PO.

Former Member
0 Kudos

Hello Guys,

We are on SRM_SERVER 550 service pack SAPKIBKT07.

We would like to add custom fields on the shipping notification (ASN) tab in PO.

To do so we had gone through the OSS Note: Note 672960 - User-defined fields 2.

But couldnt find the structure in which the custom fields can be added. More over we are not running on SUS.

Currently we are creating ASN through XI interface. Using Sproxy We had called the function module BBP_DDN_UPDATE to create the ASN.

Do let us know if any details are needed.

Appreciate your help.

Thanks,

Rama

Accepted Solutions (1)

Accepted Solutions (1)

khan_voyalpadusman
Active Contributor
0 Kudos

it is possible to have custom fields only on the SUS system,

If you are not using SUS system and if you are creating ASN directly by a program , then custom fields can not be used.

custom fields are to be defined at the field level in SUS system and are to be saved.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rama

Please check this out

You can add custom fields in a separate tab in header using the below 2 BADIs.

1. ME_GUI_PO_CUST

2. ME_PROCESS_PO_CUST

For above BADI's create screen ...and assign the screen group and screen no for that implementation....

Please take help of Good Technical ABAP resource

Below example may not be directly relevant but you can work on this guidelines

SPRO u2013 SAP Reference IMG --- Logistics General --- Basic partner u2013 customers -- Control u2013 Adaption of customers own masters data element u2013 prepare modification of customer free enhancement of customer master record

1)Screen group description

zs creating badi --- (save)

click on (label tab pages) u2013 new entries

number u2013 10 , function code u2013 zs10 , description u2013 func ---(save) u2013(back)

2)select (FM_CUSTOMER_ADD) u2013 copy

Implementation name u2013 ZAS

(desc u2013 impl for cust) u2013 (save)

interfaceu2014(check_add_on_active) double click on it

3)the above screen appear -- write the code in it u2013 (save) --- (activate) u2013 (back) u2013 (save)

-- (activate) u2013 (back)

Business adds in customer sub screens

4)select (FM_CUSTOMER_ADD) u2013 copy

Implementation name u2013 ZAS1

(description -- cust) u2013 in attribute u2013 (give screen group name)

5)go to interfaces (GET_TAXI_SCREEN) double click on it

(save) --- (activate)

6)(SAVE) --

Goto SE38 -- CREATE PROGRAM WITH NAME (ZQW) type module pool

Goto SE51 -- Prog : ZQW

Screen : 200 (Create)

Goto layout u2013 design the screen

7)save u2013 activate

then goto transaction : va02

For User Exit's

goto to tcode->status->program name->double click on that,

then goto to-> attribute take the package name and

Goto SMOD tcode ->Utilities->give the package name and F8

then a list of exits will display for that tcode as well as that package.

u can check the table MODSAP

u can check the table MODACT

For BADI's,

1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE

keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'

then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.

2)Goto to tcode->status->program name->double click on that program will display's

then press crtl+F then cl_exithandler