SAP for Retail Discussions
Join conversations about personalization, omnichannel strategies, and operational excellence in retail using SAP for Retail software.
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any IDOC or BAPI could be used for uploading allocation rule by LSMW?

Former Member
0 Kudos

Hi all

Is there any IDOC or BAPI could be used for uploading allocation rule by LSMW? I can't find the relevant IDOC and BAPI in Retail. Need your help~~~ Thanks!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

It seems there is no such a BAPI for that.

In transaction WA54 which SAP uses to generate allocation rules (ar) from the retail information system, it is doing a direct insert into the tables SVKO, SVPO & SVUP.

*----           booking AufteilRegel     

perform ar_buchen_direkt tables t_svpos_gene                                     

                                                     t_svup_gene

                                           using  t_svko_gene                                     

                                                     t622.

(report RWSARGEN)

So most likely it is ok to do that.

Otherwise use a batch input based LSMW if the set of data is suitable.

View solution in original post

2 REPLIES 2

Former Member
0 Kudos

It seems there is no such a BAPI for that.

In transaction WA54 which SAP uses to generate allocation rules (ar) from the retail information system, it is doing a direct insert into the tables SVKO, SVPO & SVUP.

*----           booking AufteilRegel     

perform ar_buchen_direkt tables t_svpos_gene                                     

                                                     t_svup_gene

                                           using  t_svko_gene                                     

                                                     t622.

(report RWSARGEN)

So most likely it is ok to do that.

Otherwise use a batch input based LSMW if the set of data is suitable.

0 Kudos

Hi Ivan

Thanks for your kindly help!

I try to find standard batch/direct input object in LSMW but it looks like no object could be used for loading allocation table. do you have any experience on it? Thanks!