cancel
Showing results for 
Search instead for 
Did you mean: 

Create return delivery(LR) for a repair order(RAS) using function module

Former Member
0 Kudos

Hi All,

Requirement is to create a return delivery (LR) for a repair order(type RAS) in abap program using Function Module. Repair order is created based on service notification in IW51/52.

Return delivery can be created in vl01n and later "Goods Issue" will be done on this delivery.

Pls let me know if anyone have worked on this scenario.

Regards,

Sumit

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Actually flow given by you is correct and the logic is as below:

Create Service notification - IW51 (type S4)

Enter the material no.

Then go to action box and create repair order (RAS)

save the service notification - u get repair order no.

In Repair order - RAS - NORM -


IRRS item cateogry will determine

maintain Material determination for a serbvice product i.e geral service, detailed service etc in VB11 for mat det type Z001 for item to service or create the type assign to procedure and assign procedure to RAS

Now when u create repair order then material entered will be replaced by the service product and the material entered will be created as return item with item category IRRE (this is done becos of repair procedure assigned and actions in the procedure linked to usage in item categoru determination R01 R02 etc u can see it is V0V4 for RAS type

now select the service product and press repait below u will enter the action window and see returns tiem

come back and go to Edit -


display all items

then the rerun item generated.

Now save it and go to TC VRRE

now enter the order no. and type LR and enter

return order created.

Now goto ---extras and select serial numbner which is being returned and assign it by pressing OK

now goto Edit -


there will be PGI written

do PGI (it means actualyy PGR)

and it will do PGR

Check Schedule line IR and give there post to QI

In the material Master of material goto Quality managment Tab and activate Quality inspection for Other goods movment and tick it (activate( before doing return delivery)

Now when u do PGR it goes to QI sotkc and creates a inspection lot number

Now goto TC QA11 and give this ins[ection lot number which u see in order also after pressing repairs

U can give usage decision after givivng the defects in the qa11 TC

Now save it as accpetedusage decision

goto Order RAS change mode and select Service product IRRS item category and press repairs ...u can see second action ticked.... for repairs usage decision

when u press back .. item proposal suggested

click yes

then thjrid line item created with IRRP - like repair service product and then again go to repairs tab and press SM (service order)

it will give genreted

goto IW32 - change service order and enter service activities and materials reqd.

complete the iorder

do TECO

then goto change of order RAS and u will see a delivery item IRAL created

goto VLo1n

create outbound delivery and save it.

Create billing req from Service order DP90 and in VF01 generte bill doc from this request

settle the service order after confirnmation

Reward if useful

krishna

Former Member
0 Kudos

Hi

My project uses Service order mgmt functionality.

Once service notification is created using IW51, then one normal order and one return order is created. Normal order replaces the bad unit with good unit and the return order brings back bad unit to company.

Pls. ask questions if you have in specific.

kind Regards

Sandeep

Former Member
0 Kudos

Hi Sandeep,

My question is that how did u created return delivery(delivery type LR) ? Actually i have to implement this process of creating return delivery (With reference to service notification and repair order) by abap programming...

Do u know any function module or any other abap code which can help me to achive this..

Regards,

Sumit