LSMW dump with '/' for PRODPER field  for AR load using Batch input.

I am getting an dump saying
Unable to interpret "/" as a number for  IF BBSEG-PRODPER(1)           
which is last field in the lsmw .
I defaulted to 200810 and also tried with blank and 102008 even though the dump exists.
let me know .any clue

BBSEG is intended for Batch Input, there should be only CHAR fields in it, if the field is a standard one look for OSS notes related, if it belongs to a customer include, correct your include (or CI include like CI_COBL_BI) as suggested in OSS notes mentioned above and use a char field with the length of the external format (e.g. 10 for date, etc.)
The IF BBSEG-PRODPER(1) syntax is presupposing a CHAR field, but when the ABAP executes it first check the whole field BBSEG-PRODPER, and if this is not a CHAR field you got a conversion error. A "patch" solution would be to use CATCH SYSTEM-EXCEPTIONS CONVERSION_ERRORS = 1.  / ENDCATCH to catch the runtime error. You could also bypass the problem by redefining the field as char, use OVERLAY of FIELD-SYMBOLS for that.
Regards

Similar Messages

  • LSMW  Field Mapping: can't map Batch Input Structure for Session Data

    In step 5 Maintain Field Mapping and Conversion Rules, I can not see Batch Input Structure for Session Data Fields.
    Can somebody tell what's wrong?
    Here's what I see:
    Field Mapping and Rule
            BGR00                          Batch Input Structure for Session Data
                Fields
                BMM00                          Material Master: Transaction Data for Batch Input

    Hi Baojing,
    To see structure BGR00  you have to map this structure first with input file structure in step 4 (maintain structure relationship).
    Regards
    Dhirendra

  • Creation of drop down for a field which is created using otr

    Hi experts
    I have a requirement wherein i have to create a dropdown for a field which is added using otr (online text repository).
    When i did an F2 on the field on the UI i found that it had no context node and attribute and the view in the component workbench did not have a configuration also. The coding for that field is done in the htm page of that view using otr.
    For this field i need to create a dropdown (the dropdown values will be fixed). I thought it would be better to code in the method do_init_context.
    Request you to help me out with the code for this requirement as i do not have any idea with regard to otr.
    Thanks and regards
    Preeti Viswanath

    Hi Preeti,
    1.You need to maintain a page attribute(dd_list_type) which is of table type to the htm page of your view.
    2.Then in the set_models method of your view controller add the following code:
    * Put the data into the view attribute
      view->set_attribute(
            name   = 'dd_list_type'        
            value  = lt_list_type ).
    You can add OTR text list to the internal table lt_list_type.
    3.Then add the following code to .htm
    * ADDITIONAL CODING IN VIEW
    <% data:           lr_listl_type  type ref to data.
       field-symbols: <list_type>   type table.
       get reference of dd_list_type into lr_list_type.
       assign lr_list_type->* to <list_type>.
    %>
    <htmlb:dropdownListBox id="ListType"
                           table = "<%= <list_type> %>"
                           selection = "<%=controller->gv_model_id %>"
                           nameOfKeyColumn = "KEY"
                           nameOfValueColumn = "VALUE"
                           />
    Regards
    Leon

  • LSMW for  Vendor Master using Batch Input/Direct

    Hi Folk,
    I'm trying to create a LSMW for  Vendor Master using Batch Input/Direct Input and in the step Create Batch Inout Session a error message appears:
    Trans.     1 XK01: Acct already exists; general area not being processed.
    Can somebody help me with this...........

    Hi,
    Check manually create vendor. Check with recording steps means strucutre creadred while you choose BDC recording option. With same data r u able to create vendor.
    Regards
    Md.MahaboobKhan

  • WITH LSMW USING BATCH INPUT/DIRECT INPUT/BAPI/IDOCS

    IN WHAT SCENARIOS CAN WE USE BATCH INPUT/DIRECT INPUT/BAPI/IDOCS WITH LSMW.WHICH IS THE BEST ONE.PLEASE TELL ME THE SCENARIOS OF USAGE.

    It really depends on what you are doing.  There are a lot of "standard" LSMW objects for different business objects, for example, there is a std object for Creating Material Masters, in this case, it is a direct input program. So, the best choice here would be to use the standard program which has been provided, it just so happens that it is a direct input program.  Creating Bill of Materials is another one, but this one is a batch input program, so you have no choice but to go with that.  Of course if there is a BAPI for your business object that would be the next best thing, if a standard object does not exists.
    REgards,
    Rich Heilman

  • Lsmw  step by step procedure using   batch input method

    hi,
    lsmw  step by step procedure using   batch input method

    Step-by-Step Guide for using BAPI in LSMW
    Note! The screen prints in this article are from ECC 5.0. They may differ slightly in other versions.
    Introduction:
    This document details the usage of BAPI in LSMW. We have used the example of migration of the purchase order data into SAP.
    Pre-requisites:
    It is assumed that the reader of this article has the minimum knowledge required on the Business Object, BAPI, Message Types and IDoc Types.
    Step-by-Step Procedure:
    Details of the BAPI used in this scenario:
    Business Object: BUS2012
    Method: CreateFromData
    Details of Message Type and Basic IDoc Type:
    Message Type: PORDCR
    Basic IDoc Type: PORDCR02
    Let’s have a look at the BAPI first, before proceeding to the LSMW:
    1. Go to Transaction BAPI
    2. Click on Search Button
    3. Enter the value “BUS2012” and select “Obj.type(Technical Object Name”
    4. Press ENTER
    5. Following screen appears:
    6. On the left side of the screen, Expand the “PurchaseOrder”.
    7. Select “PurchaseOrder” and double-click on the same for details.
    Building LSMW using BAPI:
    1. Go to Transaction LSMW.
    2. Enter the Project, Subproject and Object information and click on CREATE.
    3. Enter the descriptions for Project, Subproject and Object.
    4. Now select Settings à IDoc Inbound Processing
    5. “IDoc Inbound Processing” screen appears. Enter the required details as shown below:
    6. Click on “Activate IDoc Inbound Processing”.
    7. Click on “Yes” when prompted for “Activate IDoc Inbound?”
    8. Hit on “Back” to return to the main screen.
    9. Click on Continue (F8). Following Screen appears:
    10. Select the Step 1 “Maintain Object Attributes” and select “Execute”.
    11. Select the radio button “Business Object Method” and enter the following details:
    Business Object: BUS2012
    Method: CreateFromData
    Hit ENTER
    12. Save and click on BACK button. Following information message is displayed.
    13. Now select step 2 “Maintain Source Structures” and click “Execute”.
    14. In this step, we need to maintain the source structure. In our example, lets consider the example of a file with 2 structures Head and Item data as shown below:
    Click on Create and name the source structure as HEADERDATA. Now select HEADERDATA and click on “Create” again to create the child structure. Following popup appears:
    Select “Lower Level” and click on Continue. Enter the Item data structure name.
    Click Save and hit BACK button to go to the main screen.
    15. Select step 3 “Maintain Source Fields” and hit execute.
    16. Enter the fields as shown below:
    17. Click SAVE and return to main screen.
    18. Select step 4 “Maintain Structure Relations” and click Execute.
    Select E1PORDCR and click on CREATE RelationShip. Following screen appears:
    Select HEADERDATA and hit ENTER
    Similarly do the same for the structure E1BPEKKOA, E1BPEKPOC and E1BPPEKET.
    Click Save and return to main screen.
    19. Select the step “Maintain Field Mapping and Conversion Rules” and click on execute. Maintain the Field Mapping as seen below:
    20. Select step 7 “Maintain Source Files” and provide the link for the test file created. (Create a test file with the same structure as defined earlier).
    Save and return to main screen.
    21. Select the step “Assign Files” and click on Execute.
    Assign the file provided to the source structure. Here the same file is provided for both the structures.
    Save and return to the main screen.
    22. Select the step “Read Data” and click on Execute.
    Click on Execute.
    Return to the main screen.
    23. Select the step “Display read data” and click on execute.
    Click on the structure name to get the field level values.
    24. Return to main screen and now select “Convert Data”.
    25. Return to the main screen and select “Display Converted data”.
    26. Return to main screen and select “Start IDoc generation”.
    27. Now select the step “Start IDoc Processing” on the main screen.
    28. Return to main screen and click on “Create IDoc overview”. Here the data record and status records of the IDoc could be viewed
    It is given in screen shot.
    http://www.****************
    http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/LSMW_tutorial.html
    http://www.sapbrain.com/TOOLS/LSMW/SAP_LSMW_steps_introduction.html
    http://esnips.com/doc/8e732760-5548-44cc-a0bb-5982c9424f17/lsmw_sp.ppt
    http://esnips.com/doc/f55fef40-fb82-4e89-9000-88316699c323/Data-Transfer-Using-LSMW.zip
    http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
    http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt
    http://esnips.com/doc/7582d072-6663-4388-803b-4b2b94d7f85e/LSMW.pdf
    Reward points if useful.

  • LSMW for Chart of Account: Field XSPEB not filled in batch-input session

    Hi all,
    we are using LSMW for importing the chart of account into a new system.
    The LSMW project uses the report RFBISA00 for the creation of the batch-input session.
    Some accounts need to be blocked in the new system. Therefore, we have the field XSPEB in our source structure and of course also in our target structure. But after the creation of the batch-input session the field is not included in the corresponding batch-input session.
    Does anybody know why it is not set? I already debugged the program RFBISA00 but couldn't find the place where the data get lost.
    Thanks in advance and regards,
    Martin

    Did your batch input end with save ( /11 ) or what ok_code are you using ?

  • Issue with Safety Upper limit for CALDAY Field for Generic Data Source

    Hi,
    I have given Upper limit as 1 for Calday field of one of the Generic Data Sources.
    I have got a doubt here.If today's load got failed and I will rerun the load next day.So Will that new run captures all 2 days records.
    Can any one advise me on this.
    Regards,
    K.Krishna.

    Hi,
    A one-day upper safety interval determines that an extraction run today, only fetches records up to yesterday (if the pointer has the day before yesterday date, the extraction comprises from the day before yesterday to yesterday).  This is meant to avoid missing records that were about to be persisted in the database when the delta extraction is running but whose date was determined in memory before the delta started.
    If pointer has today date value and you want to load data from today and yesterday, you should use a lower safety interval.  Take into account that this could reload data previously extracted.  Therefore, only InfoProviders with overwritting features (DataStores or InfoObject master data) should be used as targets of this extractions.
    You can find further details at:
    http://help.sap.com/saphelp_nw04/helpdata/en/37/4f3ca8b672a34082ab3085d3c22145/content.htm
    I hope this helps you.
    Regards,
    Maximiliano

  • GL listing with populated Plant field for Sales accounts

    Hi all,
    In GL listing (T-code-FBL3n) for Sales account-GL there is provision to see the line items detail of Sales Account  with Plant as field, but I am seeing the GL line items without Plant field populated, How this field can be automatically populated as this acounting line item automatically gets created as soon as we save Billing document(VF01) and posted to proper GL.
    Kindly help me to populate the Plant field.
    Thanks in advance....
    Raju

    Dear Raju,
    In FBL3N Report there is Change Layout Icon (Ctrl+F8) in Report Toolbar there you have to select Hidden Field Plant and add to report and press copy you will get Plant Column in your report.
    thx
    Ganpat Sundhesa

  • Search help for user field for WBS element

    Hi,
    how can I add a search help to one of the user fields for WBS elements without modification? Is there an exit which I can use? I want to have a search help for field PRPS-USR02.
    Thanks for your help.

    Hi
    Create an elementary serach help using the Table USR01 or USR03
    see the steps
    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    CREATION:
    Go to SE11  Tcode
    select search help
    give the 'z' search help name and create
    select the selection method ur table name eg : 'mara'
    dialog module 'display value immediately'.
    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
    where left position when displaying and spos = search position
    and then save and activate ..
    See the links:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485
    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
    https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
    Regards
    Anji

  • No possible entries exist for this field for Shipping Point

    Hi gurus,
    I require the Shipping Point to be automatically determined in the Sales Order. Except this is not happening, I then attempt to manually select a Shipping Point in the line item of the Sales Order and receive the following error (in green)
    "No possible entries exist for this field"
    The Material Master has the Loading Group assigned.
    The Sales Order Type has the Shipping Condition assigned (so does the Customer)
    The Plant is assigned to the Customers (no CMIR created)
    The combination of the three are entered in the 'Shipping Points Determination" table in SPRO with a Proposed Shipping Point AND a Manual Shipping Point.
    Except I can not choose either of them as a Shipping Point in a Sales Order.
    Anyone have the knowledge to understand why I can not select a Shipping Point?
    Thanks

    Shipping Point Determination
    Shipping points are independent organizational units that are linked to a plant and represent the point of departure or receipt of materials.
    Check if shipping point is defined and assigned to plant or not by going to:
    IMG&#61664;Enterprise structure&#61664;Maintain structure&#61664;Assignment&#61664;Logistics execution&#61664;Assign shipping point to plant
    IMG&#61664;SD&#61664;Shipping&#61664;Basic shipping fncs&#61664;Shipping point determination.
    The shipping point is determined based on the shipping conditions, which are either entered manually in the sales order or are copied from the customer master record (shipping screen – 01=as soon as possible, 02=standard, 03=collective processing). The shipping point is also determined by the loading group (0001=crane, 0002=forklift, 0003=manual), which is copied from the material master record, and the delivering plant of the line item in the sales order.
    Regards,
    Rajesh Banka

  • Criteria to use batch input method in lsmw

    in lsmw we hav batch input method,direct input,idocs,bapis,what is the criteria to use them?

    •     Decide whether it makes sense to use this tool with respect to the data volume to be transferred. It may be easier to transfer very small data volumes into the SAP system manually. In the case of a very large data volume, batch input or IDoc techniques may cause extremely long runtimes. A rough landmark for estimating the required time: 10 000 records per hour where this value may vary considerably depending on the hardware available.
    •     Identify the transaction(s) in the SAP system via which you want to import the data into your SAP system. It may be relevant whether you need the data for statistical analysis or for further processing in the system.
    •     Run the relevant transaction in the SAP system manually with test data from the legacy system and see which fields must be filled. There may be required fields that do not correspond to data fields in the legacy system. In such a case, you should better assign a fixed value or establish an optional field for data transfer.
    santhosh

  • Converting PL/SQL with OE S Fields for 11i

    We recently moved to 11i and I am having trouble converting a PL/SQL report. This is part of an exception report (below) that we have and I am not exactly sure how to convert it in 11i to do what it did in 11.0.3. Particularily I am not sure about how to convert the "S" fields, if someone could provide some guidance that would be great. I have marked the lines I am not sure of with DON'T KNOW. Thanks, Joe.
    SELECT
    soh.order_number
    , sol.s2_date --Pick Release Release Date  DON'T KNOW
    , usr.user_name
    , sol.line_number
    FROM oe.so_headers_all soh --WILL BE ONT.OE_ORDER_HEADERS_ALL
    , oe.so_lines_all sol --WILL BE ONT.OE_ORDER_LINES_ALL
    , apps.fnd_user usr
    WHERE 1=1
    AND soh.header_id = sol.header_id
    AND soh.created_by = usr.user_id
    AND (sol.s2 = 4 -- line is pick released DON'T KNOW
    AND sol.s4 = 18 -- ship confirm Eligible DON'T KNOW
    AND soh.s6 != 10 --not closed WILL BE AND SOH FLOW_STATUS_CODE != 'CLOSED'
    ) -- line is pick released, ship confirm confirmed, not closed
    AND soh.order_type_id != 1000
    AND SOL.S2_DATE < sysdate-5 --Pick Release Release Date  DON'T KNOW                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    You can use DML error logging approach or FORALL SAVE EXCEPTIONS.
    Since you didn't mention the version I assume you are using 11g.
    Below is the sample code for DML error logging mechanism
    SQL> select * from v$version;
    BANNER                                                                         
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production   
    PL/SQL Release 11.2.0.3.0 - Production                                         
    CORE 11.2.0.3.0 Production                                                     
    TNS for Linux: Version 11.2.0.3.0 - Production                                 
    NLSRTL Version 11.2.0.3.0 - Production                                        
    SQL> DROP TABLE tableA;
    Table dropped.
    SQL> DROP TABLE Err$_tableA;
    Table dropped.
    SQL>
    SQL> CREATE TABLE tableA
      2  (
      3     col1   NUMBER PRIMARY KEY,
      4     col2   NUMBER,
      5     col3   VARCHAR2 (10)
      6  );
    Table created.
    SQL>
    SQL> -- Create error log table
    SQL>
    SQL> BEGIN
      2     DBMS_ERRLOG.create_error_log (dml_table_name => 'TABLEA');
      3  END;
      4  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> BEGIN
      2     FOR i IN (SELECT 1 AS col1 FROM DUAL
      3               UNION ALL
      4               SELECT 1 FROM DUAL)
      5     LOOP
      6        INSERT INTO tableA (col1)
      7             VALUES (i.col1)
      8                LOG ERRORS INTO Err$_tableA REJECT LIMIT UNLIMITED;
      9     END LOOP;
    10 
    11     COMMIT;
    12  END;
    13  /
    PL/SQL procedure successfully completed.
    SQL> column column_name format a30
    SQL> set linesize 300
    SQL> select * from tableA;
    SQL> select * from err$_tablea;
    Thanks,
    GPU

  • Strange behavior with hidden text field for drill down

    Hi All,
    I am pretty sure I know the cause, just not sure how to work around...
    I am trying to create a drill down report just like in the App Dev guide, and I have done everything the same as the example (2 times, once to follow the guide, and now on my app). The only difference is that I am using a text field rather than a numeric field as the link. This shouldn't be a problem (I wouldn't think) except that the text I NEED to use has '<==' in the middle. So when I check my session state var's, this is what I see:
    CHPAG0SC_MAILCDN_000000047_ CHPAG0SC_MAILCDN_000000047_ <==20060525101642
    When what I should see is:
    CHPAG0SC_MAILCDN_000000047_ <==20060525101642
    So I think that I am gettting duplication because of the characters, but again I don't know how to solve it.
    Any thoughts would be appreciated.
    Corey

    Hi Scott,
    I am trying to create a drill down report similar to the one in the app developers guide. I have a query on pg 1 that includes the required text field as the link. When I click the link, I get an error on pg 2 - which is trying to use the value from pg 1. I did check and saw that even though I set this value in session state (I thought that was what happened when I assigned the 'name' and 'value' in the column link), it is passed in the url, which is where I figured it was breaking. As stated, I need to use this text value as it is the only unique key for the data (currently - this is a data validation step (not an ApEx validation), where users are handling issues with data uploaded from a csv).
    My current process is as follows:
    1. User uploads 2 csv's
    2. Proc moves (from wwv_flow_files) and parses csv back into records and inserts into temp (all varchar2) table(s).
    3. User is displayed 3 'reports' - for each type of validation required - from the stage/temp table
    4. User would click on the 'Edit' link (like the drill down sample) to see more details about the record.
    5. Once the user is done with these reports, they would click another button to 'process' the data (move it into base tables)
    Because the text field is always unique, I figured I wouldn't create a sequence for this like I have for the 'base' (destination) tables.
    I didn't know that I was using a 'get' rather than a 'post', but of course it is a link, not a button - so I should ahve known better.
    Is there a way to do this without adding a sequence generated id for each, or is that just the quickest way?
    Thanks again,
    Corey

  • ABAP Dump when selecting Calendar Field for selection in Working Time reports

    Hi Team,
    Out client gets a weird issue, when he selects date from selection he gets dump, this is happening only in his system, If he tries from his same user id from different machine, he is not getting the error.
    Dump details below
    What happened?
        The current application program detected a situation which really
        should not occur. Therefore, a termination with a short dump was
        triggered on purpose by the key word MESSAGE (type X).
    Thanks ~ Priya

    Hi Krishnan,
    this issue is most likely related to some missing\unregistered components in SAPGUI folder. There are a few ways to solve this kind of errors:
    1. In order to check it, ask your client to go to 'C:\Program Files (x86)\SAP\SapSetup\Errors\' path and open an .xml file, which is the error report file that contains error log created during SAPGUI client installation. The erroneous modules can be registered by using regsvr32 command via command line. (Make sure you have Administrator rights while doing this.)
    2. If previous step did not help, run SAP Logon, goto Options->System Information->'Check SAP GUI Installation' and run the report.It will open an xml file with the errors report.
    3. If none of steps helped, then reinstall SAPGUI client. You need to run installation under Administrator user rights.
    BR

Maybe you are looking for