cancel
Showing results for 
Search instead for 
Did you mean: 

add_item method populating accounting.

Dev164
Participant
0 Kudos

Hello,

          I am creating SC from my dynpro program using /sapsrm/if_pdo_bo_sc~add_item. It creates the accounting data even , if method parameter iv_account_from_pr is set to abap true.

         Can anyone please help me.

Thanks

Mangesh

Accepted Solutions (1)

Accepted Solutions (1)

konstantin_anikeev
Active Contributor
0 Kudos

Hi Mangesh,

accounting data is necessary for SC positions.

Parameter iv_account_from_pr is only responsible for copying of accounting data to SC from PR, but does not prevent creation of accounting data.

Best Regards

Konstantin

Dev164
Participant
0 Kudos

Hello Konstantin,

                        Parameter Parameter iv_account_from if set to abap_true than accounting data is not created.Actually I have the scenario something near to contract call off in which SC is created form contract, but the accounting data of new SC should get populated from contract requisition's SC am able to get Cost center but G/L a/c is not populating

konstantin_anikeev
Active Contributor
0 Kudos

Hi Mangesh,

unfortunatelly I never saw SC without accounting data. This is something new to me.

Could You please check, whether enhancement /SAPPSSRM/CTR_GM_ACC_SC1 active by You.

Please also check implementation of the BADI BBP_DETERMINE_ACCT

Best Regards

Konstantin

Answers (0)