Error call "BAPI_REQUIREMENTS_CHANGE"

Hi all,
now i don't know what 's character default in BAPISSHDIN-DATE_TYPE???
my program...
default BAPISSHDIN-DATE_TYPE = 'T' or 'D'
RET LIKE BAPIRETURN1 occurs 0 WITH HEADER LINE.
CALL FUNCTION 'BAPI_REQUIREMENTS_CHANGE'
    EXPORTING
      MATERIAL                       = i_upload-MATERIAL
      PLANT                          = i_upload-plant
      REQUIREMENTSTYPE               = ' '
      VERSION                        = '00'
      REQMTSPLANNUMBER               = ' '
      VERS_ACTIV                     = 'X'
  TABLES
      REQUIREMENTS_SCHEDULE_IN       =  SCHEDULE_IN
     RETURN                         =  RET         .
  loop at ret where type = 'E'.
    WRITE: / ret-message.
  endloop.
  commit work.
ENDFORM.   
RET: 'Material 5000017 does not exist in plant 1000'
but actually in my system already define Material 5000017  in plant 1000.
in standard test 'BAPI_REQUIREMENTS_CHANGE'
have message 'Period indicator  cannot be converted'
what kind input in structure (DATE_TYPE) BAPISSHDIN-DATE_TYPE
pls help me
thanks so much/Tham.

Hi,
Here iam giving sample code.
You revert if any issues.
data: c_week_type LIKE bapisshdin-date_type VALUE '2'.
  CLEAR: t_requirements_schedule_in,
  REFRESH: t_requirements_schedule_in
MOVE: c_week_type TO t_requirements_schedule_in-date_type.
MOVE: c_week_type  TO t_requirements_schedule_in-date_type,
       w_outflod    TO t_requirements_schedule_in-req_qty,
       w_input_date TO t_requirements_schedule_in-req_date.
APPEND t_requirements_schedule_in.
  CALL FUNCTION 'BAPI_REQUIREMENTS_CHANGE'
    EXPORTING
      material                       = w_material
      plant                          = w_plant
      requirementstype               = w_requirementstype
      version                        = w_version
      reqmtsplannumber               = w_reqmtsplannumber
      vers_activ                     = w_vers_activ
      requirement_param              = w_requirement_param
    TABLES
    requirements_schedule_in   = t_requirements_schedule_in
     return                         = t_return.
Regds
Sivaparvathi
Please reward points if helpful...

Similar Messages

  • Javascript error calling a bi 7.0 webapplication from a bsp application

    Hi everyone,
    This is the scenario we're facing a javascript error :
    Enterprise Portal is calling a custom bsp application ( via an iview in the enterprise portal ) in the bi system with a parameter "template_id" and a value, which is the technical name of a bi web application.
    The bsp application is evaluating the parameter by some custom code and creating a html page with a redirect or a maintenance message to the bi web application passed with the parameter "template_id".
    The html link to the bi web application is created according to this documentation :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/03d4ac801467e6e10000000a1553f6/content.htm
    Purpose of the bsp application :
    in the bi system there is a database table to maintain a flag for each webtemplate and infocube, which should not be called via the enterprise portal for a certain time ( some kind of maintenance switch ). The bsp application then decides to show a maintenance page for the called webtemplate or to send the redirect page to the client.
    The process described above is :
    working with the bi 7.01 sp7 in the bi ( enterprise portal sp22 ) in the productive system.
    working in the Q&A system bi 7.01 sp8 with bi 3.5 web applications.
    not working in the Q&A system bi 7.01 sp8 with bi 7.0 web applications.
    The javascript error calling bi 7.0 web applications is :
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET4.0C; .NET4.0E)
    Timestamp: Mon, 6 Jun 2011 09:11:04 UTC
    Message: Object doesn't support this property or method
    Line: 96
    Char: 11
    Code: 0
    URI: https://mlptb1.mlp-ag.com:58001/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=B_221_002_KUNDEN_POSTEN_AD
    We've opened a message. Support center is saying that this method isn't supported by sap. We should ommit the bsp application and the used functionality.
    Is there any way to find out, what is causing this object is missing ?
    Is there another way than a bsp application to use this custom maintenance function in the described system setup ?
    system components :
    production system
    SAP NetWeaver 7.0 Portal SP22
    SAP BI 7.01 SP 7
    q&a system
    SAP NetWeaver 7.0 Portal SP22
    SAP BI 7.01 SP 8
    Kind regards.
    Dirk

    Hello everyone,
    we did some further analysis on this problem und we think we found the problem.
    The error occurs while trying to execute the standard url for web templates inside a Enterprise Portal Frame, for example
    https://XXX:XXX/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=XXX
    While executing the URL a HTML-Page with some embeded Javascript-code is sent back to the browser.
    In this Javascrip-Code, the method-call "dsmObj.registerAll" leads to a script error in Internet Explorer.
    dsmObj.registerAll("pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex", "GUSID:6FC9SuhGDPIMMLwOdeHEIg--_7WQud13yeLJDz2kYoQFSg--", "1307605928212");
    In SP7, the method "dsmObj.registerFullKey" is called instead of "dsmObj.registerAll". This has changed in SP8.
    dsmObj.registerFullKey("GUSID:iBPvyska9*xE_JBalkQG2g--YyKv2C3NToP0I79Mw7EO8w--", "1307606479963");
    The object "dsmObj" seems to reference the parent frame of the Enterprise Portal.
    Has anyone seen this before? Any ideas how we can fix this?
    Kind regards,
    Matthias
    Edited by: Matthias Keller on Jun 9, 2011 2:07 PM

  • While applying 4440000, "Error calling FNDLOAD function" Occurs.

    While applying the patch 4440000, the following error occured.
    ***********************************************************************************************Loading data using FNDLOAD function.
    FNDLOAD APPS/***** 0 Y UPLOAD @FND:patch/115/import/aflvmlu.lct @PER:patch/115/import/US/perzzlookup01823.ldt -
    Connecting to APPS......Connected successfully.
    Calling FNDLOAD function.
    Returned from FNDLOAD function.
    Log file:
    Error calling FNDLOAD function.
    Also, no log file for FNDLOAD generated.
    Referred the metalink note 441783.1. But unable to understand the solution. Can anyone please explain or other workaround if any?
    S. Sundar

    Dear Taylor,
    Thanks a lot. You are too excellent.
    After doing as follows, the problem is resolved.
    F:\oracle\product>ln -s 10.2.0 10_2.0
    F:\oracle\product>dir 10*
    Volume in drive F is New Volume
    Volume Serial Number is 08B6-ACF4
    Directory of F:\oracle\product
    12/16/2007 10:56 AM <DIR> 10.2.0
    04/01/2008 08:10 AM <JUNCTION> 10_2.0
    0 File(s) 0 bytes
    2 Dir(s) 10,004,815,872 bytes free
    F:\oracle\product>
    Thanks again.
    S. Sundar

  • Error Calling Data Provider for Return PO in Me21N Message Number FES011

    Hi Experts,
    I am trying to create a Return PO using ME21N. Im giving all the parameters and values. But While saving its generating an Error.
    it states "Error calling Data Provider".
    Message No. FES011
    What could be the possible error . Any clues?
    Thanks and Regards,
    Selvakumar. M

    hi,
    Check with the Basis consultant....actually Data provider deals with the database..Also sometimes when the data provider doesnot provides the data...the error doesn't reach....
    Pls check with the BASIS consultant....the netweaver part could be checked by ABAP consultant...
    Also check the links:
    http://msdn.microsoft.com/en-us/library/bb508810(SQL.90).aspx
    http://help.sap.com/saphelp_nwpi71/helpdata/en/11/e8179b247e4720882512a04041491d/frameset.htm
    http://sapnetweavernotes.blogspot.com/2008/04/sap-earlywatch-alert.html
    Hope it helps....
    Regards
    Priyanka.P

  • Error Calling Data Provider

    Well Im trying to create a Return PO using ME21N. Im giving all the parameters and values. But While saving its generating an Error.
    it states "Error calling Data Provider".
    What could be the possible error . Any clues?
    Can you please elaborate abt this error?
    helpful answers would be rewarded with deserving points.
    Thanks
    Manu Kapur

    Hi
    Please check if you are missing '\' character after directory name and before file name in file path. I resolved this issue keeping '\' character after directory name in path.
    Thanks
    Shravan

  • Error in BAPI_REQUIREMENTS_CHANGE

    Hi All,
      I am getting the below error in  BAPI_REQUIREMENTS_CHANGE while changing the requirmrnt type of  a materail.what cud be wrong?
    Error : 'No new requirements can be created during a change transaction'
    Thanks,
    Rakesh.

    Hi,
    just check FM docu,
    from here i can see one thing...
    you need delete old ones and cretae neew ones ,
    new data to be passed to REQUIREMENTS_SCHEDULE_IN
    Existing Schedule Lines/>
    Existing schedule lines are deleted, and the system creates the schedule lines transferred in parameter REQUIREMENTS_SCHEDULE_IN again.
    When parameter DELETE_OLD has initial value, the existing schedule lines are not changed if the transferred schedule lines with the same requirements date do not overwrite them.
    Existing schedule lines must be deleted for the following items (DELETE_OLD = X'):
    Items for which automatic splitting is carried out
    Items for which configuration supporting points are created
    Regards
    Sudheer

  • Error Caller 70" is missing while loading master data

    Hi All,
    I am facing a Problem while loading master data getting error like "Error Caller 70" is missing" ,there are 4 data packages and in that except one all other with status green .1  data pakage is showing with red color, its update till only PSA .
    Please help me out to solving this issue .
    Thanks in Advance
    Sandhya

    Hi,
    check the below links
    caller 70
    Re: Caller 70 error
    caller 70
    Hope this helps

  • MuseJSAssert: Error calling selector function:ReferenceError: Spry is not defined.

    I launched Muse today and it said there was an updated available. I installed it and then made a few small changes to my 5 page website. Then i exported the HTML and uploaded it to my server.
    But now when i try browsing the site in Chrome, I get the following error message:
    MuseJSAssert: Error calling selector function:ReferenceError: Spry is not defined.
    The only changes I made were adding some text to a few pages and adding metadata info to each page and when viewing the exported HTML locally (prior to uploading) it all behaves as it should...no error messages.
    Any ideas why its doing this? or more importantly, any suggestions on how to stop it from doing this? It wasn't doing this yesterday prior to me making these small changes.
    Here's the URL: www.gardensbytheseaursery.com
    Thanks in advance.
    Jake

    This error would occur if not all the files for the site we're uploaded.
    The 2.0 update includes numerous improvements in the generated HTML, CSS and JavaScript, so while you may have directly changed only certain pages, if you're using an external FTP client all the exported files and folders need to be uploaded. (The new built-in FTP support automatically only generates and uploads files that have changed since the previous upload.)

  • Error -Call to undefined function: ocilogon() ( Php4.4+ Apache2.2 +Windows)

    1) Configured Php4.4 to have oci8 enabled with Apache2.2 on Windows 2000 ( service pack4). No error at the time of Apache start but when trying to connect to Oracle using Oracle Instant Client below error is thrown..
    "Fatal error: Call to undefined function: ocilogon() in C:\Apache2 \htdocs\star\dbconnect.php on line 7"
    Configuration steps..
    1) Uncommented "extension=php_oci8.dll" in php.ini to enable oci API's.
    2)Configured Oracle Instant client by adding path to Windows path variable as per it documentation.
    3)Copied all Php4.4 dlls( oci..etc) into the directory pointed by "PHPIniDir", which is configured in httpd.conf
    If i run phpinfo(), i dont see oci8 enabled in the output. I guess there is problem in the configuration? Any insights into the error is greatly appreciated..
    BTW, I did same configuartion on Windows XP and is working fine..

    Also, I dont see path value for path variable in phpinfo() ouput for Oracle Instant Client, which i updated in Windows?
    Below is the snippet of ouput from phpinfo().
    Apache Environment
    Variable Value
    HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
    HTTP_ACCEPT_LANGUAGE en-us
    HTTP_ACCEPT_ENCODING gzip, deflate
    HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
    HTTP_HOST localhost
    HTTP_CONNECTION Keep-Alive
    PATH D:\CESi\isis\bin;D:\CESi\Gateway\mico-win32-bin\;D:\CESi\Gateway\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Support Tools\
    SystemRoot C:\WINNT
    COMSPEC C:\WINNT\system32\cmd.exe
    PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    WINDIR C:\WINNT
    SERVER_SIGNATURE <address>Apache/2.0.59 (Win32) PHP/4.4.4 Server at localhost Port 80</address>
    SERVER_SOFTWARE Apache/2.0.59 (Win32) PHP/4.4.4
    SERVER_NAME localhost
    SERVER_ADDR 127.0.0.1
    SERVER_PORT 80
    REMOTE_ADDR 127.0.0.1
    DOCUMENT_ROOT C:/Apache2/htdocs
    SERVER_ADMIN [email protected]
    SCRIPT_FILENAME C:/Apache2/htdocs/info.php
    REMOTE_PORT 4977
    GATEWAY_INTERFACE CGI/1.1
    SERVER_PROTOCOL HTTP/1.1
    REQUEST_METHOD GET
    QUERY_STRING no value
    REQUEST_URI /info.php
    SCRIPT_NAME /info.php
    Environment
    Variable Value
    ALLUSERSPROFILE C:\Documents and Settings\All Users
    CMM_CELL CSTAR_STAR
    CommonProgramFiles C:\Program Files\Common Files
    COMPUTERNAME STAR-SM-NR-PROD
    ComSpec C:\WINNT\system32\cmd.exe
    NUMBER_OF_PROCESSORS 2
    OS Windows_NT
    Os2LibPath C:\WINNT\system32\os2\dll;
    Path D:\CESi\isis\bin;D:\CESi\Gateway\mico-win32-bin\;D:\CESi\Gateway\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Support Tools\
    PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE x86
    PROCESSOR_IDENTIFIER x86 Family 6 Model 11 Stepping 1, GenuineIntel
    PROCESSOR_LEVEL 6
    PROCESSOR_REVISION 0b01
    ProgramFiles C:\Program Files
    SMS_LOCAL_DIR C:\WINNT
    SystemDrive C:
    SystemRoot C:\WINNT
    TEMP C:\WINNT\TEMP
    TMP C:\WINNT\TEMP
    USERPROFILE C:\Documents and Settings\xwback
    windir C:\WINNT
    AP_PARENT_PID 884

  • Function Gui_Download - Error calling Data Provider

    Hello masters, i develop a program that catches a pdf file and then we can download. in windows everything is working but the client uses Linux and SAP Gui For Linux and when is making download of file, systems throws message FES011 - Error calling Data Provider.
    when i'm using windows the path is build correct way but i'm using Linux the path isn't build correct, for example like this,  /home/rui/desktop\dir_1000.pdf . in debug i changed \ to / but systems throws the same error message.
    Someone have some clue to solve this problem.
      CONCATENATE gv_dir '\DIR_' <fs_final_alv>-pernr
                      '.pdf' INTO lv_fich.
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
              filename                = lv_fich
              filetype                = 'BIN'
            TABLES
              data_tab                = lt_pdf_output
            EXCEPTIONS
              file_write_error        = 1
              no_batch                = 2
              gui_refuse_filetransfer = 3
              invalid_type            = 4
              no_authority            = 5
              unknown_error           = 6
              header_not_allowed      = 7
              separator_not_allowed   = 8
              filesize_not_allowed    = 9
              header_too_long         = 10
              dp_error_create         = 11
              dp_error_send           = 12
              dp_error_write          = 13
              unknown_dp_error        = 14
              access_denied           = 15
              dp_out_of_memory        = 16
              disk_full               = 17
              dp_timeout              = 18
              file_not_found          = 19
              dataprovider_exception  = 20
              control_flush_error     = 21
              OTHERS                  = 22.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    regards and thanks in advance.
    Mario

    hello masters, thanks to all.
    Soumyaprakash was right... just because Linux is case-sensative, the system was putting all letters of path in upper case
    I just change in screen painter the field to accept upper/lower letters and now system mantain the letters has they come.
    regards and thanks one more time
    Mario

  • I got this warning when i open a specific page on my website in IE : MuseJSAssert: Error calling selector function:Error: A security problem occurred.

    Hi,
    I found out when i'm in IE and go to the page 'Artists'
    and i click on a name, for example: 'Abel Equipe ELA/I Gomes'
    I get this warning :
    MuseJSAssert: Error calling selector function:Error: A security problem occurred.
    This is only in IE, not when i use Safari or Chrome
    this is the website link
    Any ideas how to solve this problem?

    There's an invalid hyperlink on the Abel Equipe ELA/I Gomes page on a bit of text that reads "with your input." You need to find this text within Muse, clear the hyperlink and enter a valid one.

  • Fatal error: Call to undefined function oci_connect()

    I get below error when I try to connect to oracle in PHP on SUSE 10. I orginally posted this question in PHP forum but I was advised to post it to Linux forum. so here is the error and other details.
    Fatal error: Call to undefined function oci_connect()
    I followed one of the documentation realed to this error and I get below error.
    /home/knaik # php -version
    PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 23 2008 23:35:28)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
    /home/knaik/oci8-1.3.5 # phpize
    Configuring for:
    PHP Api Version: 20041225
    Zend Module Api No: 20060613
    Zend Extension Api No: 220060519
    Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
    environment variable is set correctly and then rerun this script.
    I was looking into below link. But I could not find oci8.so file after the OCI build.
    http://www.orware.net/tips-and-how-tos/plesk/46-oracle-oci8-php-installation.html
    ===================================================
    ===> In reply to my request *"mgogala's"* reply was as below.
    Install autoconf using yast. Check whether the package is installed by using:
    $>rpm -qa autoconf
    autoconf-2.59-5
    BTW, this is not a Linux forum. There is one on OTN, I'm sure that Frits Hoogland will gladly help you out.
    ====>
    I am not able to find "autoconf" rpm for Suse 10.
    Below is the exact version details of the O/S.
    #*more SuSE-release*
    SUSE Linux Enterprise Server 10 (i586)
    VERSION = 10
    PATCHLEVEL = 2
    #*uname -a*
    Linux osdvglobalopsdv02 2.6.16.60-0.21-smp #1 SMP Tue May 6 12:41:02 UTC 2008 i686 i686 i386 GNU/Linux
    Please let me know, from where can I download this RPM?
    Thanks
    Shelly

    btw, this is the oracle enterprise linux forum, the forum specific for oracle's linux distro, there is a general linux forum here: Generic Linux

  • Muse JS Assert: Error calling selector function:Type error: Object has no method Muse Menu

    When exporting html and viewing locally we receive the following error... This error disappears after removing menu from top of page. This error does not occur when viewed on Outdoors360.businesscatalyst.com (our temporary site)
    Muse JS Assert: Error calling selector function:Type error: Object has no method Muse Menu
    Any ideas??

    I fix the problem.
    I have carefully reviewed JAVASCRIPT files and I could see that these are not a major influence within the site, only are reference code and utilities of the same application.
    By removing these files nothing has stopped working, I thought I would have some error in the sliders, or opacities, but no, nothing happened.
    DELETE IT
    FRANCISCO CATALDO DISEÑADOR GRÁFICO

  • I have an iphone 4s, and every time I call, I got error call.I tried putting the sim in another phone but it works well. What can I do?

    I have an iphone 4s, and every time I call, I got error call.I tried putting the sim in another phone but it works well. What can I do?

    I have an iphone 4s, and every time I call, I got error call.I tried putting the sim in another phone but it works well. What can I do?

  • [Solved] Pacman errors: "call to execv failed", system not booting

    Recent upgrade (yesterday) - problems went like this:
    1) pacman -Syu attempted "filesystem" upgrade and threw errors about some directories in /usr/local being 775 not 755.
    2) that was because I had a non-standard package in there. I changed just those relevant directories to 755.
    3) reattempted pacman -Syu but got a bunch of errors: "call to execv failed"
    4) system was immediately borked. Reboot now throws me into a shell.
    This is a 32 bit system.
    Any ideas and help would be greatly appreciated.
    Last edited by lagagnon (2013-01-30 19:10:24)

    Solved my problem with the following method:
    1) used Arch LiveCD. Mounted boot and / partitions
    2) pacman -r /path/to/root -Syyu glibc filesystem
    3) reboot gave "Unable to find root device error"
    4) ran LiveCD again following these instructions: https://wiki.archlinux.org/index.php/Pa … onger_boot

Maybe you are looking for

  • A few NANO related questions...

    ok, first of all, is there a way to remove contacts? second, my battery life is somewhat bad. i listen to it probably about 4 hours every day and the battery is empty (or atleast at red) by the end of the day. part1, is my battery faulty or is this n

  • WAD - Dynamic Filters

    Hi Gurus, Please consider the following scenario: In have created a web report (using WAD and embedding a query in the same). Now when I run the report (after keying in the selection screen variables), I see the variable values getting populated in t

  • Non-standard configuration macbook Pro in Apple Store

    After a few weeks I'll be in a tourist trip in Hong Kong. And I want to buy a macbook pro 13' non-standard configuration (i7 256gb 16gb RAM). All configurations are sold at the apple store? If not, can I have something to pre-book macbook and pick up

  • Can I convert a PDF back into a PUB file?

    Can I convert a PDF back into a PUB file?

  • GWcheck errors for messages that failed to archive

    There are numerous errors in the GWCheck logs for messages failed to archive for one user. The cause is usually insufficient disk space in the archive path. I moved his archive folder to a place with more disk space sometime last year. It seems that