Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

S_ALR_87013047 with matnr more than 18 digits.

Former Member
0 Kudos
673

Hi, experts.
How to enable to call S_ALR_87013047 with matnr more than 18 digits?
Now it's calling an programm 'GP2X60AJL2T7WL654EIQJIZNSOV300', and it generated by user.
How and where it;s generated, and is it possible to enable?

10 REPLIES 10

raymond_giuseppi
Active Contributor
638

When you look at transaction definition, you find it executes transaction START_REPORT with parameters RW and 7E2A

  • So it's a Report Writer generated report, Report group is 7E2A, look at it with GR53
  • Then navigate to library and list of reports (display an area menu such as FGRW or search in your menu)
  • 😔old documentation 

0 Kudos
585

lately it calls

    PERFORM FILL_KKBE(SAPFKKBE)
        TABLES FTAB INT_KKBE  
DATA: BEGIN OF FTAB OCCURS 20,
         FIELD LIKE C-TMSB-FIELD,
         MIN LIKE C-TMSB-MIN,
         MAX LIKE C-TMSB-MAX,
      END OF FTAB.

can't find where type of 'C-TMSB-MAX' and 'C-TMSB-MIN' is defined, but it's char24, is it possible to increase to char40?

575

Internal table FTAB

  • Is defined in include FGSB0D00 and uses structure RGSMH.
  • Is filled witch call of form E15_FIND_SELECT_RANGES of report SAPFGRWS.

In my S/4HANA its already 40 (as for KKBE-MATNR) what's your version, did you look for OSS notes (look for data element SETVALMIN/MAX 24->40 or KKB_MATNR 18->40) 

Some notes contain text such as 'In a system with extended material number, that is the modified domains MATNR and SETVAL' seems there is a problem in your's.

0 Kudos
545

I found it deppends on RGSMH-MIN(SETVALMIN) and RGSMH-MAX(SETVALMAX) types

0 Kudos
516

I can't find any notes of changing an SETVALMIN/SETVALMAX.
And when i try to call a transaction 
At once as 'AT SELECTION SCREEN OUTPUT' block is started the variable '$7E-MATN' initializes with char24, it cuts off few last characters of the material i have entered at screen.
The type of $7E-MATN'  is KKB_MATNR(char40). And at GR53 there is no any mention of matnr.

0 Kudos
512

Both data elements use the SETVAL domain, AFAIK this domain should have been converted to 40 when long item numbers were activated.

  • Is the conversion recent
  • Which system version/type ECC vs HANA, on promise vs cloud

Consider raising an incident (a case nowadays)

0 Kudos
510

Sap ecc

0 Kudos
482

So look at 831966 - Restrictions when Implementing the Long Material Number LMN 

  • 2. Restrictions in application areas Finance (FI) and Controlling (CO) of SAP ERP:
  • - Generated reports cannot deal with LMN.
  • In such a case, check for existing solutions provided with SAP notes for application area IS-A-LMN or send a customer message in order to request support.

0 Kudos
447

I checked this note, and can't find any information about 'SETVALMIN/MAX' inside.

  • - Generated reports cannot deal with LMN.
    I can write an enhancement and convert it with materialid table, 
    but the problem is with SETVALMIN/SETVALMAX length, and if length is bigger than 24 - it cuts off to char24.

0 Kudos
361

Did you 'Customer can also send OSS message to SAP.'