cancel
Showing results for 
Search instead for 
Did you mean: 

eProcurement 0BBP_CT enhancement to include Goods Receipt Quantity

Former Member
0 Kudos

I would like to add Goods Receipt Quantity to 0BBP_CT. I see 3 possible solutions to doing this.

The first would be to modify the start routine for the SCL to also include processkey '002' and calculate the Goods Receipt Quantity in the update rules if the processkey = '002'.

As it stands now, that start routine is as follows:

LOOP AT DATA_PACKAGE.

IF NOT ( NOT DATA_PACKAGE-CONTRACT IS INITIAL

AND ( DATA_PACKAGE-PROCESSKEY = '001' OR

DATA_PACKAGE-PROCESSKEY = '011' OR

DATA_PACKAGE-PROCESSKEY = '021' )

AND DATA_PACKAGE-BWAPPLNM EQ 'MM' ).

DELETE DATA_PACKAGE.

ENDIF.

ENDLOOP.

Where should the code revisions go?

The second option could be create a new update rule on 0BBP_CT from 0BBP_CON that would

use 0BBP_ASGQOU Confirmed Quantity in Purchase Order to update 0BBP_CT. I'm concerned about the key fields though.

0BBP_CT key fileds are 0BBP_CTGUID and 0BBP_CTITGU and

0BBP_CON key fields are 0BBP_ACGUID, 0BBP_GRGUID and 0BBP_GRITGU. How do I ensure I am updating the right record? Would I have a strat routine on that new update rule? Would I have a routine behind the 0BBP_ASGQOU infoobject?

The third option would be to build a cube off 0BBP_CT and include goods receipt qty in there form 0BBP_CON??

What's the best way to include goods receipt quantity into 0BBP_CT?

Are there other options??

Thanks,

Mary

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Here's an update:

I used 0BBP_CTGUID and 0BBP_CTITGU to update 0BBP_CT from 0BBP_CON successfully.

former_member374
Active Contributor
0 Kudos

Hi Mary,

Thanks for posting the solution.

All the best, Mark.