on 06-21-2010 3:53 PM
Hi,
There was a SC created with 2 items
1. -service type
2. limit type
there was a bug in code which was deleting limit type items internal table.
When SC is bridged to R/3 --> PR is created with just 1 line.
Now we have fixed the code. FM - spool_rq_create shows everything perfect.
I want to resubmit the SC.
Tried - BBP_REQREQ_RESUBMIT, BBP_REQREQ_TRANSFER, BBP_PD_SC_RESUBMIT, BBP_PD_SC_TRANSFER
RZ20 - shows - PR already exists.
table BBP_DOCUMENT_TAB does not have any entry.
also tried CLEAN_REQREQ_UP.
Any suggestions?
Richa
Hi,
In this case the system thinks it has sucessfully sent the SC to R/3 and so there is no entry in BBP_DOCUMENT_TAB and so running CLEAN_REQREQ_UP will not help here.
The SC's can be transferred manually by debugging the function module BBP_REQREQ_TRANSFER. While executing this FM, the call to subroutine 'DELETE_NOT_TANSFERABLE_ITEMS' deletes the shopping cart items which
has the status I1112(Error in transmission) or which are in transfer process I1111.
So, if you avoid the execution of this subroutine, the shopping cart can be transferred successfully. The call stack is given below for your reference:
SAPLBBP_PD_SC FORM PREPARE_TRANSFER
SAPLBBP_PD_SC FUNCTION BBP_PD_SC_TRANSFER_INTERNAL
SAPLBBP_PD_SC FUNCTION BBP_PD_SC_TRANSFER
SAPLBBP_REQREQ FUNCTION BBP_REQREQ_TRANSFER
The subroutine DELETE_NOT_TANSFERABLE_ITEMS is called from subroutine
PREPARE_TRANSFER.
Program: LBBP_PD_SCF0J
I hope this helps,
Kind Regards,
Lisa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.