Skip to Content

Fiori application doesn't work(F0251 Check material coverage)

Hello,

After entering the material & plant, it starts loading then dumps with the following erro:

AMDP_DBOBJ_CREATE_FAILED

SQL error when creating a database object

While running database procedure CL_PPH_SDM_CACHE=>BUFFER_UPDATE an attempt was made to create database object CL_PPH_AMDP_READ_BASIC_BADI=>IF_PPH_AMDP_READ_BASIC_BADI~MDPSX_CHANGE#stb2#2015 0616100046 . The following error occurred: SQL code of the database: 1281 SQL message from the database: "wrong number or types of parameters in call: CT_MDPS__IN__[ THE_INDEX:INT MATNR:NVARCHAR(40) WERKS:NVARCHAR(4) BERID:NVARCHAR(10) PLAAB:NVARCHAR(2) PLANR:NVARCHAR(20) DAT00:NVARCHAR(8) SORT1:NVARCHAR(1) SORT2:NVARCHAR(2) DELKZ:NVARCHAR(2) VRFKZ:NVARCHAR(1"

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Jul 16, 2020 at 08:55 PM

    Hi,

    First, this is not a FIORI app error. This is the backend (S/4) issue.

    Have you already checked SAP note: https://launchpad.support.sap.com/#/notes/2805107 ?

    Regards

    Sachin Bhatt

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 17, 2020 at 10:56 AM

    Hello,
    thank you for your answer.

    I have already checked that note, when i run the comparaison between the DB & class , there are no inconsistencies.

    The error(dump) doesn't show up when i run the Tcode MD01N, MD01N works just fine. When i try to use the fiori app check material coverage(F0251), i get the dump after the input data is loaded(material, plant, shortage definition)

    then i get this:

    I do believe there is a dump on the method when they use the SQL procedure.

    METHOD if_pph_amdp_read_basic_badi~mdpsx_change
    BY DATABASE PROCEDURE FOR HDB LANGUAGE SQLSCRIPT
    OPTIONS READ-ONLY.


    sz5ui.png (13.1 kB)
    3u2zf.png (28.8 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 05, 2020 at 12:27 PM

    The launchpad is launched from the development system.

    Yes, they are embedded.

    Version SAP FIORI for SAP S/4HANA 1809

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.