Company was not supplied in Function module interface

Hi all,
When i tries to access the following tcode - me52n,me53n i got following erro message "Company was not supplied in Function module interface" ,
Thanks

Hi Navdeep,
Maintain company code in your user profile with the parameter id BUK.
like in you user profile, on parameter id tab give the parameter id name BUk and value '0001' (the company code against purchase requistion had been created)
Hope it will solve your problem.
Regards
Krish

Similar Messages

  • Error msg- ME53N tocde "company was not supplied in Function module inte -

    Hi
    When user is trying to open ME53N tcode he is getting folowing error message,
    "company was not supplied in Function module interface"
    Kindly help, how to avoid this error message.
    Thank You in advance.
    WR,
    Nilesh

    We observed this error comes when you had previously opened any PO which now has missing data or assignment like ..plant deactivated..plant CC assignment  etc.
    Work around, Open any Good PO in chnage mode me22n or create any test PO in me21n. And then try to execute me23n.
    Regards,
    Nilesh Hiwale

  • ME52n - Error Message - Company was not supplied in function module.

    Hello,
    It is giving error Message - "Company was not supplied in function module" in the initial screen of ME52n and ME53n.
    Please help.
    Thanks,
    Piyush

    Hi Vadi,
    when ever you open me52n or me53n ..system by default opnes/shows your last created/ opned PR.
    so if that last created / changed PR is having wrong/faulty data (missing assignment/ plat stolocation deleted etc) ..system will not be able to fetch respective data....thats why you will get above eror message...
    Solution : Create any smaple PR in ME51n/ or  try to chnage  any existing PR.. and then save it.
    try this 1 or 2 times.
    Hope so this will help.
    Regards,
    Nilesh

  • Procedure or function 'sp_MSupd_dboItems' expects parameter '@bitmap', which was not supplied.

    Hello,
    when i view replication monitor  i get the following error:
    Procedure or function 'sp_MSupd_dboItems' expects parameter '@bitmap', which was not supplied. (Source: MSSQLServer, Error number: 201)
    also, in what database the stored procedure 'sp_MSupd_dboItems' found
    Can someone help with this error please

    I know I am very late to the party.. However, I would like to provide a solution to this problem.  I have seen this problem lately and I have fixed it.
    This problem occurs when you are replicating the data over to the same target database from multiple sources.
    Let me explain briefly with an example.
    I have a table namely 'vijay.dbo.test_vj' on ServerA and replicating it over to ServerC with the same schema as 'vijay.dbo.test_vj' at the target database.
    I have a table namely 'vijay.dbo.test_vj' on ServerB and replicating it over to ServerC with a different schema as 'vijay.srvrB.test_vj' at the target database.
    So, here in this case… the target database is same but the target tables are different (i.e., schema is different).  The problem here is that the replication stored procedures (sp_MSins*, sp_MSupd* & sp_MSdel*) that were created by default at the target
    database are being used for both the replications of 'srvrB' and 'dbo' schema tables.
    When you configure this type of replication, you should give custom names to the replication stored procedures (in the article properties) to allow the Replication to create the stored procedures separately for each table at the target database.
    You need to reconfigure one of those replications (either the one for ServerA to ServerC or the one for ServerB to ServerC)  by giving a separate names to the replication procedures.  
    This change will fix your problem.
    Regards, Vijay Pidikiti

  • (rsInternalError) Procedure or function 'CreateSession' expects parameter '@SiteZone', which was not supplied.

    Hi,
    Does the (Procedure or function CreateSession expects parameter @SiteZone, which was not supplied.)
    error require a complete reconfiguration of reporting services ?
    Regards

    Hi KeeperHill,
    The error message” Procedure or function 'CreateSession' expects parameter '@SiteZone', which was not supplied.” means that there is a procedure or function named CreateSession, it expects a parameter(@SiteZone) but not given.
    Based on my research, the problem can be caused by the two reasons:
    The use of null value for parameter @SiteZone, we should actually use DBNull.Value.
    Forgotten to put the following command in your code:
    cmd.CommandType = CommandType.StoredProcedure;
    For more details, please refer to the similar thread below:
    http://stackoverflow.com/questions/368642/procedure-expects-parameter-which-was-not-supplied
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Type RAW not accepted in function module for workflow

    Hi,
    this is a crazy thing for me:
    I like to start a workflow from a report.
    Usually will use the function module SWU_START_WORKFLOW".
    Usually this is no problem.
    Here is my current problem:
    One of the elements I have to transfer to workflow is defined with
    ZELEMENT like SXMSMGUID.
    SXMSMGUID is from type RAW.
    This type is not supported in the container element transfer.
    Tried to transfer it as CHAR.
    ZELEMENT type c,
    ZELEMENT = SXMSPEMAS-MSGGUID.
    So put the RAW element into a char element.
    Error in function module:
    Program error: ASSIGN with length 0 in program "SAPLSWA8".
    Error analysis
        An ASSIGN statement in the program "SAPLSWA8" contained a field symbol with
        length 0. This is not possible.
        length 0.
        This is not possible.
    I need that element to be transferred to the workflow.
    But how to solve that problem?
    How to move the RAW element readable into a char element (This type usually is no problem in the FM)
    Any ideas are welcome!
    Best regards
    Dirk

    ya i know that ..But I wanted to create a simple one..moreover the problem is not with bdc....It is with the function module interface..
    Also I want to ask a question that I had to define all the parameters (in the function module ) by data declaration statements in the function group top include..
    If i dont do that say the first error is when i write loop at idoc_contrl ..idoc_contrl is not declared by a data statement..So IO had to write a data statement:
    Idoc_contrl type table of edidc..I have seen that in other function modules (idoc inbound processing)  no such data declaration is done..

  • JDBC adapter Stored Procedure error: parameter was not supplied

    I am trying to call a Stored Procedure 'SP_FUSION_DEBMS_ADRC_MANAGE_CUSTOMER_ADDRESS' in our SQL Server database.
    XI 3.0 Sp13
    Jdbc Url: jdbc:microsoft:sqlserver://161.241.255.91:1433;databaseName=FusionDB;SelectMethod=Cursor
    I am getting following error:
    beging of error-----
    Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SP_FUSION_DEBMS_ADRC_MANAGE_CUSTOMER_ADDRESS' (structure 'Statement1'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Procedure 'SP_FUSION_DEBMS_ADRC_MANAGE_CUSTOMER_ADDRESS' expects parameter '@control_no', which was not supplied.
    End of error-----
    I have defined the field "control_no" in the interface defenition but I am not sure what causing this error, error message is mis-leading.
    Please let me know if you have any hints/comments?
    thanks,
    Laxman molugu

    Hi Laxman,
    maybe you have checked this already...from the following help link....DECIMAL might be something you might want to try out....
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm
    <i>action=EXECUTE
    Statements with this action result in a stored procedure being executed. The name of the element is interpreted as the name of the stored procedure in the database. If you use the optional <table> element, the value specified here is used as the stored procedure name. This enables you, for example, to define stored procedure names containing non-XML-compatible characters or characters that prevent them from being used in interface definitions in the Integration Builder/PCK.  If specified, <table> must be the first element in the block within <dbTableName>.
    The elements within the stored procedure are interpreted as parameters. They can optionally have the attribute isInput=“1“ (input parameter) or isOutput=“1“ (output parameter) or both (INOUT parameter). If both attributes are missing, the element is interpreted as an input parameter. The parameter names must be identical to those of the stored procedure definition.
    The attribute type=<SQL-Datatype> , which describes the valid SQL data type, is mandatory for all parameter types (IN, OUT, INOUT).
    The following SQL data types are supported:
    INTEGER, BIT, TINYINT, SMALLINT, BIGINT, FLOAT, REAL, DOUBLE, NUMERIC, DECIMAL, CHAR, VARCHAR, STRING, LONGVARCHAR, DATE, TIME, TIMESTAMP, BINARY, VARBINARY, LONGVARBINARY, BLOB (input and output),CLOB (input and output), CURSOR (output; only in conjunction with the Oracle JDBC driver).</i>

  • BAPI or Function Module interface from XSD definition

    Given an XSD file, is there any way to automatically generate a BAPI or Function Module interface from it?
    BR,
    Tony.

    Hi,
    There are two approaches to create interfaces in XI
    - Outside-In - interfaces definitions are stored in XI as e.g. xsd  and PROXY classes/interfaces are generated in business system
    - Inside-Out - interfaces are developed in business system and imported into XI e.g. IDocs, BAPIs, RFMs
    So it is NOT possible to generate BAPI or FM based on XSD definition, but you can generate proxy.
    Regards,
    Jakub

  • CU65 Variant Function cannot be released - check function module interface

    Hi ,
    Getting this error while Releasing the variant Function in CU66. Function Module trigerred by this function is of the same name as well as correctly acitvated and released , but while releasing the Function I get this error :  'Function cannot be released - check function module interface' . Following are two characeteristics that are maintained in the variant function :
    1. Customer_Type
    2. Maintenance_Contract
    While executing the Function Module alone I get Raise Inernal Exception i.e it is not identifying the argument name 'Maintenance_Contract' in the FM 'CUOV_GET_FUNCTION_ARGUMENT' exception
    Below is the code for reference . Pls point out if any mistakes :
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(GLOBALS) TYPE  CUOV_00
    *"  CHANGING
    *"     REFERENCE(ZQUERY) TYPE  ZQUERY
    *"     REFERENCE(ZMATCH) TYPE  ZMATCH
    *"  EXCEPTIONS
    *"      FAIL
    *"      INTERNAL_ERROR
    " Data Declaration
    DATA : l_main LIKE CUOV_01-atwrt,
             l_cust LIKE CUOV_01-atwrt.
    " Get value of Input Characteristic Maintenance Contract
      call function 'CUOV_GET_FUNCTION_ARGUMENT'
        exporting
          argument            = 'MAINTENANCE_CONTRACT'
       IMPORTING
          SYM_VAL             = l_main
        tables
          query               = ZQUERY
        EXCEPTIONS
          ARG_NOT_FOUND       = 1
      if sy-subrc <> 0.
      RAISE INTERNAL_ERROR.
      endif.
      " Get value of Input Characteristic Customer Type
      call function 'CUOV_GET_FUNCTION_ARGUMENT'
        exporting
          argument            = 'CUSTOMER_TYPE'
       IMPORTING
          SYM_VAL             = l_cust
       tables
          query               = ZQUERY
        EXCEPTIONS
          ARG_NOT_FOUND       = 1
      if sy-subrc <> 0.
      RAISE INTERNAL_ERROR.
      endif.
       IF l_main EQ 'NO'.
        IF l_cust EQ 'CURRENT'.
          l_cust = 'NEW'.
        ELSEIF l_cust EQ 'VAR CURRENT'.
          l_cust = 'VAR NEW'.
         ENDIF.
         ENDIF.
    " Set value for the output characteristic
         call function 'CUOV_SET_FUNCTION_ARGUMENT'
           exporting
             argument                      = 'CUSTOMER_TYPE'
             vtype                         = 'CHAR'
             SYM_VAL                       = l_cust
           NUM_VAL                       =
           tables
             match                         = ZMATCH
           EXCEPTIONS
             EXISTING_VALUE_REPLACED       = 1

    ZMATCH and ZQUERY are two table types created in SE11 , both of type CUOV_01.

  • Procedure 'abc' expects parameter '@def', which was not supplied

    Hi ,
    I am doing a ABAP Proxy to PI to JDBC Stored Procedure synchronous scenario but getting an error as :
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'db.abc' (structure 'Statement'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Procedure 'abc' expects parameter '@def', which was not supplied.
    I have a element by name def in the data type.
    Any ideas why this error is coming up?
    Thanks,
    Anu

    use logsqlstatement in receiver JDBC, it will give you exact sql PI is firing on DB.
    using that you can adjust your DT structure to form the right sql.

  • Property or collection #comment was not found in the component interface

    Hi All,
    I am a Java developer trying to connect my java application to a peoplesoft webservice.
    I have been able to connect to the PS webservice and access "GET","FIND" methods successfully.
    But when i am trying to connect to the CREATE(insert) method, i get the following message text.
    <faultcode>SOAP-ENV:Client</faultcode>
    <faultstring>Component Interface API.</faultstring>
    <detail>
    <messages>
    <type>Error</type>
    <messagesetnumber>91</messagesetnumber>
    <messagenumber>74</messagenumber>
    <messagetext>Property or collection #comment was not found in the component interface at the given level.</messagetext>
    </messages>
    </detail>
    I dont have any access to peoplesoft or db logs, i started using SOAP UI to get the detail messages.
    Can anyone tell me what this message could be??
    Basically its an insert method which takes around 40 parameters out of which 2 are mandatory.
    The input that i send from my soap ui looks as follows
    +*<kcm:CASE_ID></kcm:CASE_ID>*+       
    <kcm:DISP_TMPL_ID>CRM_GOV</kcm:DISP_TMPL_ID>
    <!--Optional:-->
    <kcm:QUICK_CD>?</kcm:QUICK_CD>
    <!--Optional:-->
    <kcm:PROVIDER_GRP_NAME>City Manager Action</kcm:PROVIDER_GRP_NAME>
    <kcm:BUSINESS_UNIT>KCM01</kcm:BUSINESS_UNIT>
    <!--Optional:-->
    <kcm:PRODUCT_ID>?</kcm:PRODUCT_ID>
    When i dont send any parameter in case_id i get the above error and when i send +*<kcm:CASE_ID>?</kcm:CASE_ID>*+       
    i get a sql error
    <messages>
    <type>Error</type>
    <messagesetnumber>200</messagesetnumber>
    <messagenumber>0</messagenumber>
    <messagetext>SQL error. Stmt #: 650 Error Position: 123 Return: 1722 - ORA-01722: invalid number</messagetext>
    <explaintext/>
    </messages>
    <messages>
    <type>Error</type>
    <messagesetnumber>200</messagesetnumber>
    <messagenumber>0</messagenumber>
    <messagetext>SELECT /*+ FIRST_ROWS */ CASE_ID, DISP_TMPL_ID, BUSINESS_UNIT, RC_STATUS, RC_SUMMARY FROM PS_RC_ADD_CASE_VW WHERE CASE_ID=:1 AND DISP_TMPL_ID=:2 ORDER BY CASE_ID, DISP_TMPL_ID</messagetext>
    <explaintext/>
    </messages>
    <messages>
    <type>Error</type>
    <messagesetnumber>91</messagesetnumber>
    <messagenumber>48</messagenumber>
    <messagetext>Error accessing search record. {KCM_WEB_CASE_CI} (91,48)</messagetext>
    <explaintext>An error occurred while accessing the search record.</explaintext>
    </messages>
    <messages>
    <type>Error</type>
    <messagesetnumber>91</messagesetnumber>
    <messagenumber>61</messagenumber>
    <messagetext>Failed to create the Component Interface</messagetext>
    </messages>
    I am not understanding how do i debug this further as its very difficult for me to get any peoplesoft logs or db logs.
    Any help will be appreciated.
    Thanks
    Ash
    Edited by: ash81 on Jun 14, 2010 1:24 PM

    This will be very hard to troubleshoot without access to PeopleSoft.
    Ideally, the best way to test it would be replicate the steps you are performing in your code through the component interface/web service, and then on the actual PeopleSoft component to see if you get the same error.
    The second case where you haven't put in the parameters, make sure you clear out the ? marks and leave the value empty if you don't need to specify it.
    E.g.
    Instead of <kcm:QUICK_CD>?</kcm:QUICK_CD>
    Use: <kcm:QUICK_CD></kcm:QUICK_CD>
    I generally work backwards from soapUI -- look at the soapUI error, then test through the component interface tester in PeopleSoft application designer, then if required test in PeopleSoft.

  • I purchased an iPhone5 at an unclaimed items police auction yesterday, but after I charged it and turned it on, it is asking me for the passcode which unfortunately I was not supplied with. Is there a way to get around the code or have I wasted my money?

    I purchased an iPhone5 at an unclaimed items police auction yesterday, but after I charged it and turned it on, it is asking me for the passcode which unfortunately I was not supplied with. Is there a way to get around the code or have I wasted my money?

    If the Phone is Running iOS 7... then it has Activation Lock Enabled.
    Activation Lock in iOS 7  >  http://support.apple.com/kb/HT5818
    ShellyfromHunterValley wrote:
    ... have I wasted my money?
    More than likely... I believe ebay has an area where you may be able to sell it for parts.

  • Function Module Interface for Agent Determination Rule without Tables Param

    Hi,
    I'm currently trying to create an agent determination rule using a custom function module. I know that the function module must have a certain interface consisting of two table parameters to be accepted by the system.
    But since table parameters are obsolete for a few years, what's the solution for this?
    As workaround, I just copied an old function module with the right interface but that's not an ideal solution for me.
    Did anyone else come across this?
    Thanks and regards,
    Max

    Hello,
    "I know that the function module must have a certain interface consisting of two table parameters to be accepted by the system."
    So, you have to use tables. You can't use tables in a new function, but you can copy one that does.
    What sort of "solution" did you have in mind?
    regards
    Rick Bakker
    hanabi technology

  • Call Transaction not executing in Function Module

    Hi,
    I am sending an IDoc from non SAP system to SAP system,IDoc calls(Inbound Process Code) Function Module in which i wrote BDC code.i found that it is not calling Call Transaction  but when i test the same IDoc from WE19 it executes perfectly and update data in database.
    And for this communication i dont have any other option then BDC.
    Suggest me what to do
    RP

    1.Check for leading zeros for key fields like material number, vendor number etc .
    2. make use of wrappers. check the below link:
    https://www.sdn.sap.com/irj/go/km/docs/library/mobile/mobile%20infrastructure/mobile%20development%20kit%202.5/content/appdev/smartsync/bapi_wrapper_types.html

  • Sending pdf via email: pdf is not returned from function module

    Hi all.
    I am having trouble sending a pdf form as an attachment to an email.
    After calling the funtion module that is creating the PDF, field pdf of the return parameter /1bcdwb/formoutput should be used to create the attachment.
    But the field PDF is empty after calling the function module - only the field xml is given back.
    What did I miss?
    Thank you for your help and best regards, Kathrin!

    Hi Kathrin,
    See below for the example:
    ls_outputparams-getpdf = 'X'.
    CALL FUNCTION 'FP_JOB_OPEN'
         CHANGING
           ie_outputparams = ls_outputparams
         EXCEPTIONS
           cancel          = 1
           usage_error     = 2
           system_error    = 3
           internal_error  = 4
           OTHERS          = 5.
    If you setup the job like this then the pdf parameter will be filled with the XSTRING data for the generated PDF.
    Regards,
    Ryan Crosby

Maybe you are looking for

  • REPORT GENERATION TOOLKIT AND EXCEL

    i have a problem with report generation toolkit and excel the problem is: i must read & write from a excel worksheet when this is open but when i using the report generation the worksheet is open another time have some solution for this problem? sorr

  • Audigy 4 Pro on Vista Prob

    hey guys, I'm new to this message board but have been a supporter of creative for quite a few years now, but anyways I have a problem hopefully a few of you can figure out for me as I'm currently stumped. I have the Soundblaster Audigy 4 Pro sound ca

  • Two same reports showing different output ??

    Hi Irregularity in two reports I developed a vendor liabilities aging report with lfa1-lifnr not maindatory, lfb1-bukrs obligatory , bsik-budat obligatory & report is working fine with total & all months total are displayed . I want to display por or

  • [Solved] No Route to Host but Internet is fine

    Hi, Im trying to install tcpdump and getting this error; bash-3.2# pacman -S tcpdump resolving dependencies... looking for inter-conflicts... Targets (1): tcpdump-3.9.8-1 Total Download Size: 0.26 MB Total Installed Size: 0.57 MB Proceed with install

  • Bank statement giving error while processing

    hi gurus, while processing the manual bank statement the system gives me an error " g/l account  10 does not exist ". how can sort dis error out. help best regards sayeed