cancel
Showing results for 
Search instead for 
Did you mean: 

Is there way to have gross weight and volume during Salesorder Simulation

Hi All,

I am using "BAPI_SALESORDER_SIMULATE" to simulate before sales order creation and want to display these details in ALV format ,But mentioned bapi doesn't hold weight/volume or any structures having these details.Is there any way out for this ,any user exits or includes /structures or some other function module.

Thanks in advance

Swati

Accepted Solutions (0)

Answers (2)

Answers (2)

JMELGARZ
Discoverer
0 Kudos

Hello!

Problem solved

Enter to program MV45AFZB

go to FORM USEREXIT_NEW_PRICING_VBAP and make a enhament point

Then enter this code:

VBAP-BRGEW = "Other field that you have on BAPI_SALESORDER_SIMULATE
VBAP-NTGEW = "Other field that you have on BAPI_SALESORDER_SIMULATE
VBAP-GEWEI = 'KG'. "For Example

SimoneMilesi
Active Contributor
0 Kudos

Hi Swatri,

I do not think you can have success with an enhancement or anything else.

Your best shot, I think, is to calculate such values by yourself, using data from MARA and quantities from the items returned by the BAPI.