cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer Requirement for Goods Receipt Item

Former Member
0 Kudos

Hi All,

We are trying to create Transfer Order for Goods Receipt items using an ITS mobile application.We are using the function module L_TO_CREATE_TR to create Transfer Order by passing the Transfer Requirement from the Goods Receipt as an input to the function module. Our requirement is to create one Transfer Orde per Goods Receipt item. We need to create Transfer Order for the items simulatneously from different terminals.Since we have only one Transfer Requirement for the entire Goods Receipt document, we are not able to create Transfer Orders simultaneously because of the system lock (Transfer Requirement is locked).

Is it possible to create separate Transfer Rquirement for the individual items in the Goods Receipt via customizing/User exit.

Your guidance in this regard will be great help for us.

Regards,

Shaju

Accepted Solutions (1)

Accepted Solutions (1)

dirk_freyaldenhoven
Active Participant
0 Kudos

Hello Shaju,

you can try to use EXIT_SAPLL03T_003.

I'm not sure, if posting during the same time is an exception and lock time is short, you can retry posting.

You can post by item with parameter IT_TRITE (FM L_TO_CREATE_TR).

Best Regards, Dirk

Former Member
0 Kudos

Hi Dirk,

Thank you for your reply.

Our enduser will be using handheld device for Transfer Order creation. The user will pick the GR item material from one storage type (902) and the Transfer Requirement will be locked at this moment.Later while placing the SU in destination bin the user will scan the destination bin and the Transfer Order will be created at the time of scanning. Till the completion of the entire process the Transfer Requirement will be locked and no one else can pick the materials of the same GR from 902 storage type.

We are trying to create Transfer Requirements for each Goods Receipt Item and we are not able to find any user exit in Goods Receipt Creation or any customizing option.

Can you please check and help us to resolve the same.

Regards,

Shaju

Edited by: shaju tv on Apr 5, 2010 11:40 AM

dirk_freyaldenhoven
Active Participant
0 Kudos

You can try to use the user exit to split the TR or you should try to avoid locking at the beginning of your process.

You can also try to work without TR. Which transaction do you use, SAP standard or your own?

Edited by: Dirk Freyaldenhoven on Apr 5, 2010 1:07 PM

Former Member
0 Kudos

Hi Dirk,

Thanks for your guidance.

We are using a our own transaction for Transfer Order Creation.

Since the Transfer Requirement is already created at the user exit, How can split the Transfer Requiremnt at this stage ?

Can you please help us ?

Regards,

Shaju

dirk_freyaldenhoven
Active Participant
0 Kudos

If it is your own transaction, best way should to avoid locking at the beginning of your process, or you should work without TR.

I think you are right, it seems to be not possible in this user exit.

Edited by: Dirk Freyaldenhoven on Apr 5, 2010 2:47 PM

Former Member
0 Kudos

Hi Dirk,

We are not locking the Transfer Requirement in the transaction. We are using the FM L_TO_CREATE_TR to create Transfer Order and the FM will lock the Transfer Requirement before start proccessing. Since we are having SU managed warehouse and we are going for TRM module, we cannot work without TR.

Is there any option available to split the Transfer Requirement during Goods Receipt creation. Userexit EXIT_SAPLL03T_003 is not going to work because Transfer Requirement is already created at this moment.

Can you please help to find some solutions ?

Regards,

Shaju

Edited by: shaju tv on Apr 6, 2010 12:17 PM

Former Member
0 Kudos

If you are not exclusively locking the TR then the only place it could get locked is at the FM L_TO_CREATE_TR. This lock is obviously by SAP standard processing and is usually placed for a fraction of second.

If this is causing problems to other users, then the best way to handle it is to check if the FM has failed due to locking error. If yes then wait for say 2 seconds and retry. You can code to make n number of retries.

If that still results in locking error then display a YES/NO screen to the user informing the failure and whether to re-process or not.

Document Locking is only for a minute amount of time, if you set up the retry logic then it will solve the problem.

Former Member
0 Kudos

Hi Abdul,

Thanks for your reply.

Since we are going to use Hand held devices for Transfer Order creation, we cannot have a pop up menu and moreover retrying will also be a problem.

Is there any way in customizing to create individual transfer requirements for Goods Receipt Iitems. Currenlty system is creating one Transfer Requirement for the entire Goods Receipt Document and hence the issue.

Regards,

Shaju

Former Member
0 Kudos

I never mentioned 'pop-up' window, you will need to display a Yes/No message screen - like any other RF message screen.

To my knowledge there is no way to split Transfer Requirements either by configuration or by user exit.

You have not explained why re-trying will be a problem. As I mentioned above, the first retry is by the custom code or a set number of times, in this case the user will only see a slight delay. We solve locking issues by this process, cant imagine why it will not work for you.

Former Member
0 Kudos

Thanks Abdul for your guidance. We will go head with your suggestio and let you know in case of any difficulties.

Regards,

Shaju

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Shaju,

for the GOODS RECIEPT, are you using your custom transaction with a BAPI call or are you doing MIGO?

The reason I ask is....an option with a custom approach is that you can pass 1 entry/line at a time to the BAPI. This way, you will always create 1 document with 1 line item. This will create 1 TR with 1 line item. You can use this TR to create your TO.

Former Member
0 Kudos

Hi,

We are doing GR with MIGO.

Regards,

Shaju