LSMW / tcode KB11N / Error with Field KOKRS

Hi,
I post this message because Iu2019ve got a problem with a LSMW I created.
Context : I want automate « Reposting of Primary Cost » with transaction KB11N.
When I start to integrate my data with SM35 Iu2019ve got an error message on the field KOKRS :
« Field SVALD-VALUE. Not found in loop of screen SAPLSPO4 0300 »
+ the information is present in import file.
I donu2019t understand this error message because after to control my LSMW the names of dynpro and field were been given automatically by SAP.
If necessary I can send the export of the LSMW to private email adress.
Thanks for you helps ,
Regards,
Xavier MONNET

This point is not solved.
I'll try to use SECATT as other solution.

Similar Messages

  • Error with field E_ENDEDATUM, function module PK_ENDDAT_AUS_START_PLUS_WORK

    Hi
    Well, i don´t know exactly were put this, but, here it is.
    The estandard function module PK_ENDDAT_AUS_START_PLUS_WORKD has an error on his definition: due to the field E_ENDEDATUM has no type, when you test it on SE37, gets a dump error message.
    Maybe using it directly in a program, may not happen (I didn´t tested it), but if you first need make tests, you CAN NOT!!
    How notify this issue to SAP AG or to somebody of staff of programming???
    Thanks in advance.
    José Gabriel Martínez.

    you cannot test it in SE37. you have to write a small program to call this function and test it.
    and the data type of the variable to be used with E_ENDEDATUM  should be of type sy-datum or SCAL-DATE
    Regards
    Raja

  • LSMW: Codepage conversion error with a Unicode data file

    Hi all,
    I am currently developing a LSMW upload program which has to use a Unicode data file. The underlying system/target system is NOT a Unicode system. The data file also contains non-Latin2 characters.
    In the step "Specify Files", I have specified my Unicode data file and specified the codepage type "4110 - Unicode UTF-8".
    In the step "Read Data", then I get the runtime error "CONVT_CODEPAGE", exception "CX_SY_CONVERSION_CODEPAGE".
    I would expect that all non-Unicode characters are automatically transformed to "#", but the conversion progam breaks. The character transformation to "#" would be fine.
    I am really wondering why, at first, I am able to specify the Unicode codepage type, but then, the file cannot be converted correctly.
    What do I make wrong, what can I do to avoid the error?
    Thanks a lot in advance for helping me out...
    Regards,
    Klaus

    Hello,
    You need convert the file with the format UTF-8. In notepad you can choose this option.
    Regards,
    Oscar.

  • Create Inspection Plan -LSMW -Direct Input -Error with Control Indicators

    Hi,
    I am creating Inspection Plans using LSMW-DIRECT INPUT Method.
    Although MIC's control indicator parameters are correct while creating a plan it is changing the control indicator parameters.
    how can we suppress this?
    I want to use MIC's default parameters.
    Regards
    Praveen

    have Lost Previous File
    what does that mean? did they lose the source that should be used to load the data from?
    without source you cannot load data.
    Had you ever got this source file? how? by mail, then check your old mails and take it from there, ask the sender to he/she checks the SENT folder in his mail system. Maybe someone has a local copy of this fille.

  • Error with s_alr_87013019 tcode

    Hi gurus!
    I have an error with s_alr_87013019 tcode.
    i have a purchase document that its pending and it must be showed on comitment column of s_alr_87013019.
    But the comitment column is empty and all the import is in the real column wich is no correct.
    Thanks.

    Hi!
    I have discovered that i dont have set the commint management in the type of orden in tcode KOT2.
    I have set the flag but i have no lines in commitment for this orden in  s_alr_87013019 report.
    How can i solve this?
    If i execute rkanbu01 whart consecuences can i have?
    Thanks

  • Errors with the global conversion rule for the field 0SOURSYSTEM.

    Hello Gurus,
        We are implementing CRM Activities. I enhanced the data source and when I add new info objects to 0SAL_DS01 DSO and trying to activate I'm getting there errors. Can some one please help me out in this problem?
    Error in global conversion rule for InfoObject 0SOURSYSTEM
    Message no. RSAR263
    Diagnosis
    Errors with the global conversion rule for the field 0SOURSYSTEM.
    System Response
    The function module delivers the following error message:
    Field "" is unknown. It is neither in one of t
    Procedure
    Check the definition of the global conversion rule for an InfoObject
    What does this error mean? We are using BI 7.
    Thanks
    RKR

    I have around 9 source systems, do I have to maintain data for all of them for 0SOURCESYSTEM?
    I set data for CRM system and then tried to activate.. but still I'm getting same error.
    I;m getting this warning too...
    InfoObject 0FISCVARNT needs to be in key for DataStore object C_0SAL_D
    Message no. RSDODSO123
    Diagnosis
    Characteristic 0FISCVARNT is included in the data part of ODS object C_0SAL_D.
    System Response
    The fiscal year variant cannot be used in the update rules for calculating business hour characteristics.
    Does this matter???
    Thanks
    RKR
    Message was edited by:
            RKR M

  • Is there any standard ptogram/tcode to download idoc contents with fields.

    Hello All,
    Is there any standard ptogram/tcode to download idoc contents with fields?
    Thanks,
    Devaraj.

    Hi Patil,
    I dont think there is standard program or t-code.
    But u can down load the IDOC with field contents by following way
    Goto t-code WE62- give the basic idoc name- press display button  then it shows all filed contents with description.
    Now select 'SYSTEM' LISTSAVE--LOCAL FILE from menu bar .
    Here select the file type ie spread sheet,html, etc and give the file name and directory where u need to place it.
    <b>Rewards with points if helpful.</b>
    Regards,
    Vijay.

  • Error with Drop -down UI elements in my HCM PF Form

    Hi All,
    I am facing some error with Drop -down UI elements in my HCM PF Form. I have some 2-3 DD elements, which are not binded to any backend field, so i am specifying their values in the UI Properties itself.
    I am able to see my drop-down list values when the form first displays initally. On selecting the values from drop down, when i click on 'Check and Send' button, the form refreshes itself, and all the drop down values dissappear, along with the selected value.
    Can anyone tell me if i am missing anything here ? Do i need to define my DropDOwn field in the Generic Service of HCM PF and then Bind it in the form ?
    Any inputs on this would be welcome !
    Thanks in advance,
    Aditi

    Hi Christopher,
    Am also having the same issue like when am testing the process and clicking on check button, my do_operation method is called and the table SERVICE_DATASETS is getting updated. I am getting success message and all the fields are getting cleared. But when am clicking on second time the CHECK button am getting error's, because of the fields getting cleared in the screen.
    But after executing the process all the fields getting refreshed. Even what ever values I have entered that too is getting cleared. I have debugged and not able to figure it out why its getting cleared.
    I have activated the ISR context mapping and activated the Adobe Form too. I dont know where am going wrong.
    I will be doing the context mapping for ISR via IMG path by clicking the "Compare Form Fields button" also using Tcode HRASR_DT also i have tried.But the form is consistent.
    Do we have any note or patches regarding this issue.
    Please help me out form this as i could not process further in my development.
    Thanks & Regards,
    Raja

  • LSMW to update only one field in materials

    Hello experts,
    My requirement is to update only one field 'HRKFT-Origin Group as Subdivision of Cost Element' in material using LSMW. I tried with Standard Batch/Direct Input -> Object - 0020, Method - 0000. But it was not successful as it gave me warning - 'The material cannot be maintained since no maintainable data transferred' at the end.
    Now I want to try this using BAPI method in LSMW. But it is showing me error - No target structures could be determined..
    Please guide me.
    Regards,
    Aparna Gaikwad

    Hi
    i tried the same and am able to do it using LSMW Batch i/p.  Object - 0020, Method - 0000.
    There in source fields define material, plant and origin grp. in structure relations map the below
    BGR00 Batch Input Structure for Session Data                       <<<< MBEW1 Material COsting
          Select Target Structure BGR00 .
        BMM00 Material Master: Transaction Data for Batch Input            <<<< MBEW1 Material COsting
              Select Target Structure BMM00 .
            BMMH1 Material Master: Transfer of Main Data                       <<<< MBEW1 Material COsting
    Next in field mapping map those 3 fields: material, plant and origin grp.
    while testing do one thing. first take the data and try the same using MM02 manually. if tht is working fine ( i mean if the material is having costing view and you are able to chnage the origin group). then test with the same material, plant and a different origin grp. It will work.

  • Odd Error with decode function in Order By Clause

    I am trying to compile a procedure and can't get around an error with a dynamic order by that doesn't make much sense to me. I can repoduce the error with a plain select statment in sql plus so I can rule out a declaration error. Here is an example with 2 numeric columns and a date column.
    select task_id, display_date, remark_id from task_list
    where task_id > 1000
    order by decode('Task_ID', 'Task_ID',Task_ID, 'Display_Date', Display_Date, 'Remark_ID',Remark_ID)
    returns the error:
    select task_id, display_date, remark_id from task_list
    ERROR at line 1:
    ORA-00932: inconsistent datatypes: expected NUMBER got DATE
    I'm not sure why this error is occuring, because it doesn't even hit the Display_Date field in the Decode statment. If I take the Display_date out of the statement, it runs properly. If I change Display_Date to To_Char(Display_Date) it also runs fine, but the sorting is incorrect. Also I'm running 9.2, and do not want to use dynamic sql to build my query. Any Ideas out there as to the cause of this error?

    I did find a workaround to this issue by breaking the decode statment into three separate statement, but I still think that the way it is written above should work, and may be a bug, or an error that I don't understand fully.
    The Order by was rewritten like this:
    order by decode(pSort, 'Task_ID',Task_ID), decode(pSort, 'Display_Date', Display_Date),
    decode(pSort, 'Remark_ID',Remark_ID);
    Thanks

  • I am getting PLS-00410 error - duplicate fields in RECORD, TABLE or argumen

    Here is what I am doing. I have a package header and a package body. The package header compiles successfully and the above error is displayed while compiling the package body only.
    Package Header :
    create or replace package pkg_pms_print is
    type c_ref_printer_list is REF CURSOR;
    PROCEDURE sp_get_printerlist
    p_team_id IN NUMBER,
    printer_list_refcur OUT pkg_pms_print.c_ref_printer_list
    end pkg_pms_print;
    Package Body:
    create or replace package body pkg_pms_print is
    PROCEDURE sp_get_printerlist (
    p_team_id IN NUMBER,
    printer_list_refcur OUT pkg_pms_print.c_ref_printer_list
    IS
    printer_list_refcur pkg_pms_print.c_ref_printer_list;
    v_printer_id pms_test_team_printer.printer_id%TYPE;
    v_printer_name pms_test_team_printer.printer_name%TYPE;
    v_default_printer pms_test_team_printer.default_printer%TYPE;
    BEGIN
    OPEN printer_list_refcur FOR SELECT printer_id, printer_name,default_printer FROM pms_test_team_printer WHERE team_id = p_team_id;
    --DBMS_OUTPUT.PUT_LINE('EMPNO    ENAME');
    DBMS_OUTPUT.PUT_LINE('--- -------');
    LOOP
    FETCH printer_list_refcur INTO v_printer_id, v_printer_name,v_default_printer;
    EXIT WHEN printer_list_refcur%NOTFOUND;
    DBMS_OUTPUT.PUT_LINE(v_printer_id || '|'|| v_printer_name ||'|'|| v_default_printer);
    END LOOP;
    CLOSE printer_list_refcur;
    END sp_get_printerlist;
    END pkg_pms_print;
    Apart from this error one error also shown as " PL/SQL: Item Ignored"
    The compile points to the 3rd line in the package body for errors with the above mentioned error. There is no duplicate field name or argument name as the oracle error message says. It's a simple straight forward code. Can somebody help me if I am overlooking something?
    Regards,
    AgrawalV

    this problem is solved but i am not getting output when i have tested this procedure in test window.
    Program Continues upto 2nd DBMS call, means i am getting output upto 2nd DBMS call.
    create or replace package body pkg_pms_print is
    PROCEDURE sp_get_printerlist (
    p_team_id IN NUMBER,
    printer_list_refcur OUT pkg_pms_print.c_ref_printer_list
    IS
    -- printer_list_refcur pkg_pms_print.c_ref_printer_list;
    v_printer_id pms_test_team_printer.printer_id%TYPE;
    v_printer_name pms_test_team_printer.printer_name%TYPE;
    v_default_printer pms_test_team_printer.default_printer%TYPE;
    BEGIN
    OPEN printer_list_refcur FOR SELECT printer_id, printer_name,default_printer FROM pms_test_team_printer WHERE team_id = p_team_id;
    DBMS_OUTPUT.PUT_LINE('Printer ID Printer Name Default Printer');
    DBMS_OUTPUT.PUT_LINE('----- ------- ------- ');
    LOOP
    FETCH printer_list_refcur INTO v_printer_id, v_printer_name,v_default_printer;
    EXIT WHEN printer_list_refcur%NOTFOUND;
    DBMS_OUTPUT.PUT_LINE(v_printer_id || v_printer_name || v_default_printer);
    END LOOP;
    CLOSE printer_list_refcur;
    END sp_get_printerlist;
    END pkg_pms_print;

  • Table with fields containig more thn 300 characters

    Hello Friends,
    i want to create one ZTABLE and intht i want a field tht can store more thn 300 characters.
    i have used string data type for the same but while activating the table its giving me error saying :
    " Table contains more than 3 long string fields"
    Pls suggest...
    Sunny

    hi 
    sunny  ,
                You can create table with field more than 300 characters   but there should be one more field
    which has to be primary key .
    such as
    create table ztest
    in that create field MANDT  type clnt size 3  primary key
    name type String  .
    then change technical settings according to requirement .
    Delivery maintenance 
    delivery class and  Data Browser/Table View M
    according to requirement  .
    Before activating table save technical setting  and then activate .
    Regards
    deepak

  • Valuation with material cost estimate: error with product "117122"

    Hi people,
    We have the error:
    =====================
    Valuation with material cost estimate: error with product "117122"
    Diagnosis
    In Profitability Analysis (CO-PA), the system tried to valuate a line item using the current standard cost estimate.
    In order to determine the current plan period, the system needs to read the valuation segment of the material master.
    The system has found that the current plan period is not filled forproduct "117122" in plant "UBE1".
    We have the follow configuration in trans.: KE40:
    . Determine material cost estimate
       . Transf. Standard Cost Estimate
    . Costing Variant
    . Control Data for Standard Cost Estimate
       . Period Indicator = "Current Standard Cost Estimate acc. to entry in mat master
    . Addiitonal data CO-PC
        . Transfer cost estimate in controlling area currency  "activated"
    We think the reason about our error is because the field above is activated and some configuration more is necessary for this case. For examplo: Trans.: OKYW and this one was not configurated yet.
    Do you know what happend?
    If we need to configure some transation, or sonly process the cost estimate?
    Thanks,
    Rosana.

    Hello Guido
    Thank you very much for your return.
    It is happenning in a Client that some people are doing the configuration.
    Before we didin't have in KE40, the fiel "Transfer cost estimate in controlling area currency" activated.
    And now, the people activate that in this new Client and I don't know the impact about that.
    I think we have to make the configuration in OKYW.
    The other transation you told me, we don't have any information.
    Could you tell me some other idea what happend?
    Message error is just "Message no. KE350"
    Abou claculate the cost:
    It was calculated by trans.: CK11N for future planning and the real wasn't not possible to release because this material already have moviments.
    Could you tell us is there is some thing more to do?
    Thanks,
    Rosana.

  • Error with Date Variable

    I am trying to create a process to import to import data using a date variable but when I use the date to get the data from SQL server I am getting a error.
    I have tried setting the variable as both a string and date - Select
    CONVERT(varchar(10), DATEADD(day, -1, GETDATE()), 101) and map it to the Variable. The date variable is working. It’s correct in the Watch and I am able to use the variable to get data from an Open Link database (row_date = ?)
    in the OLE DB Source query. I get a "Invalid character value for cast specification"
    error when doing the same thing to get data from an SQL Server OLE DB Source
    where the date field is DateTime (row_date = ?). I have tried making the variable as a date and string but get the same error regardless. To make it work, I have to duplicate the date
    calculation in the query - HAVING (row_date = CONVERT(varchar(10), DATEADD(day, -1, GETDATE()), 101) ) which works fine.
    HAVING (row_date = ?) gives the error with the Parameter mapped to the variable.
    Any suggestions as to how to make this work correctly?

    May I suggest to use style 111 instead of 101?
    From experience, yyyy/mm/dd date format will work most of the time for date conversion and
    It's due to different date format from mm/dd/yyyy to the system date format that SQL Server is using.
    Hope this helps.
    ~ J.

  • Creating a view on KONA & KONH -  Failed with 'Field name DATAB not unique'

    Hi all,
        I am creating a view on KONA (Rebate Agreement) & KONH (Conditions Header) tables. The link is KONA-KNUMA = KONH-KNUMA_AG.
       The field 'DATAB' exists in both tables and I have included those two fields under 'View Fields' . When I tried to activate the View, it fails with 'Field name DATAB not unique'.
       The following is the complete error message:
    Message no. MC060
    Diagnosis
    When you define aggregates (views, lock objects or matchcode objects), you can assign the aggregate fields your own names (the system assigns names to the basic fields automatically). These names must be unique.
    System response
    The system has established that the names assigned to the aggregate fields in an aggregate definition are not unique and issues an error message.
    Procedure
    Assign unique names to the aggregate fields in question.
       Why I am not able to create the view after including a field that EXISTS in two tables, PLEASE ?
    Thanks,
    Venkat.

    Hi,
    you can include both fields (but what for??); most likely KNUMH will also complain after fixing DATAB (just a guess...).
    You can include both fields if you name them differently (different aliases):
    In the view fields tab, enter two different names in the column "view field".
    this will work.
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

Maybe you are looking for