cancel
Showing results for 
Search instead for 
Did you mean: 

R/3 PR to SC in SRM - BBP_PD 540 Error msg.

Former Member
0 Kudos

Dear All,

R/3 PR is not getting transfered to SRM
as SC , error raised is msgno BBP_PD 540 "System AEDCLNT110  of purch. organization Haldia Purchase organisation differs from doc. reference ASDCLNT110 " . AEDCLNT110 is R/3 system and ASDCLNT110 is SRM system

SRM 7.2 (according to Note 913831
logsys_fi field logic was inserted and should have fetched it with FM
BBP_HDRPROC_GETDETAIL) . For this we have checked all the cusotmizing
settings, define backend system is also maintained for FI validation.
But still for line item the standard code is not fetching LOGSYS_FI
value.

LBBP_PDORGF11 "PERFORM check_proc_org_and_group" 

from line 326 :

ELSEIF ( iv_obj_subtype = c_subtype_i_ep OR

iv_obj_subtype = c_subtype_i_et OR

iv_obj_subtype = c_subtype_i_extd OR

iv_obj_subtype = c_subtype_i_dp ).

* ECS: p.-org must be assigned to FI or local system

IF lt_ekorg IS INITIAL. "local purch. org.

lb_eq_sys = c_on.

ELSE.

READ TABLE lt_ekorg INDEX 1 ASSIGNING <ls_ekorg>.

IF sy-subrc = 0

336**********AND iv_logsys_fi EQ <ls_ekorg>-backend.****************

lb_eq_sys = c_on.

ENDIF.

ENDIF.

*********** at line 336 above, the value in iv_logsys_fi is blank and

<ls_ekorg>-backend is having 'AEDCLNT110' which is ERP system.

Beacause of which the variable lb_eq_sys is blank not set to 'X'.

at the time of debugging I did not find any place where the variable

value is set for iv_logsys_fi , right from FM BBP_PD_SC_CREATE where

the variable Li_header ( this structure has field LOGSYS_FI) is

declared till the perform 'PERFORM check_proc_org_and_group'.

for header it is blank and for Line item LOGSYS_FI is 'ASDCLNT110' which is read from own logical system.

But when I implemented BADI BBP_DETERMINE_LOGSYS method
IF_EX_BBP_DETERMINE_LOGSYS~DETERMINE_LOGSYS inside the debugger i
passed logical_system value as 'AEDCLNT110' for item_data. Then system
is transferring PR to SRM as SC .

Further it is found that the line item lt_item_ic for Function module
BBP_PD_SC_CREATE is not getting logsys_fi value through standard code it is taking OWN logical system ie., ASDCLNT110.
But through above BADI the logical system is taken as logsys_fi inside
FM BBP_DOCUMENT_COMPLETE.

Do we have to implement BADI as it is Extended scenario?
Where is the flaw in customizing?

Define backend system and Define backend system for Product category is maintained properly in system.

Thanks,

Jaya.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear  All,

Sorry to post the same issue twice... First post was not appearing in the forum and there was no notification by the moderator... so I tried posting it again.....Now after 1 week the post is approved......

Anyways... to the issue I was facing...it is now resolved ... There was change in the logical system name after the first inital load in SRM ....so the standard was not able to determine the Logical system name properly for line item data.

tables CRMMLSGUID in CRM & SRM and table CRMPRLS in R/3 was having the initail/old logical system name ..... so we run the BDLS transaction passing new and old logical system along with the Option "Tables to be Converted" .... ..... and then remove the data completely from SRM/CRM and reload the data from ECC again.

This resolved the issue.

Thanks,

Jaya.

Former Member
0 Kudos

hi,there is the same mistake “

采购机构 采购组织 中的系统 E6BCLNT780 与文件引用 SRBCLNT780 不符

” How can I do,