SAP for Automotive Discussions
Connect with fellow SAP users in discussions to troubleshoot challenges, share best practices, and fuel each other's success. Join a conversation or start your own.
cancel
Showing results for 
Search instead for 
Did you mean: 

RE: VMS Returns Issue

Former Member
0 Kudos
1,067

Hi All

This is a combination of ABAP, VMS and SD Question.

We implemented VMS in our system, and now i have to create a return after this vehicle has been invoiced out of the system. SO i use the Vehicle Mangagement Bapi "BAPI_CHANGE_VEHICLE_MULTIPLE" (we use this bapi for all our actions) Our system however is not quite set up to use the full functionality of VMS.

My problem is that my BAPI creates the Return Successful (for the customized sales order type) and then i use the same bapi to create the delivery return, upon doing this it tells me that the storage location 1030 does not exist. I cannot find this storage location anywhere in the config... IN SAP standard when creating a return using (VA01, VL01N and then VF01) it works if i manually enter the storage location when i create the return sales order.

If i add the storage location in the bapi's fields the return table comes back saying that the storage location (i entered manually) and the storage location that the system finds (1030 - that i cant find defined anywhere) is not the same and thus the return delivery can not be created.

Can any one help. Please i have tried everything

Kind regards

1 ACCEPTED SOLUTION

Former Member
0 Kudos
607

There is many Different actions we use but i will only list the ones we use at the moment in a process we call "Call over"

This is where the vehicles gets sold to a specific party.

OUTGOING (that is currently working to create invoices)

ZSCR (Customised action to let the system know the dealer requested to purchase this vehicle)

RSVN (Reserve Vehicle)

OFFE (Create Qoutation)

ZFPR (Customized Action - Requesting Floorplan from a financial Institute) - Used via RFC

ZFPA (Customized Action - Request for finance approved) - Used via RFC

CUOR (Create sales order) - against reserved customer(dealer)

DELI (Create Delivery)

GOIS (Create Good Issue)

BUPA (Assign to retail dealer)

OUIV (Create outgoing Invoice)

ZSCC (Customised action - Callover request completed)

    • NOTE THIS VEHICLE IS NOW OUT OF STOCK and does not have a storage location

RETURNS (Currently failing due to storagelocation picked up)

RETU (return sales order)

RELI (Returns delivery) - Through BAPI_CHANGE_VEHICLE_MULTIPLE the wrong storage location is picked up

REGI (Goods Receipt)

RECM (Returns Credit MEMO)

*NOTE THAT IF THESE ACTIONS IS RUN USING TRANSACTION VELO IT WORKS - UNFORTUNATELY THE FOLLOWING CUOR (Create sales order ) ACTION DOES NOT WANT TO EXECUTE BECUASE THIS VEHICLE HAS (According to the system) been alrady assigned to another customer. Even though the whole return was executed.

Thank you for your help and responses

View solution in original post

5 REPLIES 5

Former Member
0 Kudos
607

Hi,

without knowing your program and what actions you execute in what order it is hard to answer your question.

The only way that a storage location is automatically filled with some value I can see in the moment is that somewhere the SPA/GPA parameter with ID LAG is filled. Maybe you can check this or try to set the parameter to a value you want to use with a set parameter statement in your program.

Best regards

Dieter

Former Member
0 Kudos
608

There is many Different actions we use but i will only list the ones we use at the moment in a process we call "Call over"

This is where the vehicles gets sold to a specific party.

OUTGOING (that is currently working to create invoices)

ZSCR (Customised action to let the system know the dealer requested to purchase this vehicle)

RSVN (Reserve Vehicle)

OFFE (Create Qoutation)

ZFPR (Customized Action - Requesting Floorplan from a financial Institute) - Used via RFC

ZFPA (Customized Action - Request for finance approved) - Used via RFC

CUOR (Create sales order) - against reserved customer(dealer)

DELI (Create Delivery)

GOIS (Create Good Issue)

BUPA (Assign to retail dealer)

OUIV (Create outgoing Invoice)

ZSCC (Customised action - Callover request completed)

    • NOTE THIS VEHICLE IS NOW OUT OF STOCK and does not have a storage location

RETURNS (Currently failing due to storagelocation picked up)

RETU (return sales order)

RELI (Returns delivery) - Through BAPI_CHANGE_VEHICLE_MULTIPLE the wrong storage location is picked up

REGI (Goods Receipt)

RECM (Returns Credit MEMO)

*NOTE THAT IF THESE ACTIONS IS RUN USING TRANSACTION VELO IT WORKS - UNFORTUNATELY THE FOLLOWING CUOR (Create sales order ) ACTION DOES NOT WANT TO EXECUTE BECUASE THIS VEHICLE HAS (According to the system) been alrady assigned to another customer. Even though the whole return was executed.

Thank you for your help and responses

0 Kudos
607

Hi,

the only idea I have here is that maybe the customizing of picking location brings up the wrong storage location.

Please have a look in customizing under Logistics Execution --> Shipping --> Picking --> Determine Picking Location

Here under Picking Location Determination you find how storage location is determined.

If this will not help you maybe you have to create an OSS message.

Best regards

Dieter

Former Member
0 Kudos
607

THANK YOU so much i was looking for somewhere in config it might pull that values through.

Thanks for your time.

Best wishes

bcrao
Active Contributor
0 Kudos
607

Hi,

Check the table VLCvehicle- or VLCCUORDER

Here you may see the storage location.

For Reli-SAP-Satandard BApi is VELO17_RELI_EXECUTE., and VELO17_RELI_prepare

Thanks

Chidamabram