cancel
Showing results for 
Search instead for 
Did you mean: 

Hard Check During Delivery Creation

former_member184155
Participant
0 Kudos

Hello Experts,

Need your advice. I am stuck up in a enhancement issue during delivery creation. i am working for passenger vehicle company.

Back ground Info.

the company procures chassis from vendor & builds bus body over it. there are various types of chassis & each is uniquely identified in SAP by Material No. & also mentioned in BOM created for bus. when chassis is received , equipment is created using T-code IE01. After this one more equipment is created for bus which is called BBD Serial No. The equipment for BBD serial no holds chassis serial no. My issue is at the time of creation of delivery using T-code VL01N the user puts the BBD Serial No manually in a dialog box provided, This BBD Serial No is not capturing in the importing structure IT_XLIPS of BADI "LE_SHP_DELIVERY_PROC" Method "Delivery_Final_Check".

I have to put a check during delivery creation for consumption of Chassis , if the Chassis is consumed during production phase a Mat Doc will be generated with movement Type 261. As such we don't knew the Mat Doc for Chassis Serial no Consumed during prod phase. so to derive chassis no in the BADI against which we have to check for it's consumption. The user provide BBD Serial no in a standard dialog box in VL01N.

Can we use Field Exit for this or any other BADI Should work.


Best Regards

Priyesh Shah

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member223133
Active Participant
0 Kudos

Hi Priyesh,

Below steps may help you to get the value of the standard dialog box provided in the screen.

1. Find the field name of the standard dialog box provided in the the screen for BBD Serial no.

2. Implement below code in the BAdI "LE_SHP_DELIVERY_PROC" method.


FIELD-SYMBOLS: <fs> TYPE BBDFIELDTYPE.
ASSIGN ('(
SAPMV50A)BBDFIELDNAME') TO <fs>.


Now the field symbol <fs> will hold the value passed in the dialog box.


Please try and let me know if it is working or not.


Thanks

Gangadhar



former_member184155
Participant
0 Kudos

Hi Gangadhar,

Not able to capture BBD Serial No , Code not working.

nabheetscn
Active Contributor
0 Kudos

Hi Priyesh

Which field is it you are looking forward to a custom or standard one..? Please provide the details. the pop up which is coming is standard or custom please provide screen shot of pop up and its corresponding screen number and program details

Nabheet

former_member184155
Participant
0 Kudos

Standard One

nabheetscn
Active Contributor
0 Kudos

Please provide the field name/structure or table as requested earlier

former_member223133
Active Participant
0 Kudos

HI Priyesh,

Please share the program, screen details and your code as well.

BR

Gangadhar