GL Balance upload using LSMW (BAPI bus6035)

Hello everyone,
We are uploading GL balances from legacy to SAP using the LSMW Bapi
object - bus6035
method - post
message type - ACC_DOCUMENT
Basic type - ACC_DOCUMENT03
When we run the lsmw, idoc is created, however with an error 51 saying
"Function module not allowed - APPL_IDOC_INPUT1'
The partner no. is the logical system (the system on which the lsmw is executed)
In the partner profile, we have defined this as LS. In the inbound parameters, we have defined message type = ACC_DOCUMENT, the process code is APL1 and the corresponding function module is - APPL_IDOC_INPUT1
Please let me know if we are missing something or doing anything wrong ?
Since the data in the LSMW will be read frmo a file on the presentation server, do we need to have a port configuration for the same ?
Thanks,
Sushil Joshi

Hi Sameer,
Have a look at these threads, they might help you
Chart of Accounts Upload
Problem: LSMW with transaction FS00 create account (BI is not generated)
Thanks
Janani
award points if helpful

Similar Messages

  • Uploading subcontracting PO using LSMW-BAPI method

    I am trying to upload the subcontracting Purchase order using LSMW-BAPI .
    Bapi name -Create from Data1
    Business Object  -    BUS2012                             Purchase Order
    Method               -    CREATEFROMDATA1          Create Enjoy Purchase Ord
    Message Type     -    PORDCR1                           Create Purchase Order
    Basic Type          -    PORDCR102                        Create Purchase Order
    In this BAPI - for subcontracting material (component), required quantity & plant values are provided in a input file .
    When I trying to upload this PO, PO gets created but component data not getting uploaded.
    In documentation of BAPI -under restriction section -there is a restriction for subcontracting.
    So can we create Subcontracting PO using this PO.
    any solution on same.
    Because most of the conversion part is done. Only for subcontracting PO this bapi is not working.
    Please anybody know about the solution guide me ASAP.
    Thanks

    Hi Vikram,
    I am also having same scenario , I m using BAPI - BAPI_GOODSMVT_CREATE To create GR  for Subcontracting PO
    Can u please tell me how can solve this problem.
    Normal GR its working but for Subcontracting PO its not working.
    Regards,
    Sanket

  • Upload Material Master using LSMW BAPI BUS1001006-SaveData

    Hi Gurus,
    I'm working with material master upload using the BAPI BUS1001006-SaveData.
    I'm wondering on how can I know what structure should I populate on step 4 of LSMW "Maintain Field Mapping and Conversion Rules".
    Seen some tutorials on material master upload but it wasn't explained there why or what structure should be populated..
    Thanks and Regards.

    I just check each structure one by one to which the field is appropriate depending on its description....

  • Profit Center upload using LSMW

    Hello,
    I have created a LSMW project for profit center upload using the BAPI methodology, BUS0015(Profit center)/CREATE(method)
    PROFITCENTER_CREATE(message type)
    PROFITCENTER_CREATE01(basic type)
    The Idoc inbound seeting are set as follows :
    File port              DX_PORT_00
    Partn.Type             US
    Partner no.            LSMW_PAR00
    Message Type           PROFITCENTER_CREATE
    Process code           BAPI
    When I run the data file in, the Idocs are created successfully in status 53, but I do not see the actual profit center when I go to KE53. We are on ECC 5.0
    Thanks in advance.

    Dear all,
    We are on ECC 6.0 and trying using the same configuration for loading profit center.
    Unfortunately, we received error message in the step of IDoc generation and we found that the message type and basic type got truncated as 'PROFIT' and 'PROFITCE' respectively.  But we could still see the correct info at the step of 'Display converted data' which is a step just before generation.
    Have you guys had the same problem previously?  Do you know what went wrong?
    Cheers,
    Ivan

  • Merchandise category & hierarchy upload using LSMW???

    Hi
    I am trying to upload Merchandise category and hierarcy using LSMW (BAPI/IDOC method only).
    For merhcandise category
    I used message type W_WGRP and it is helping me in changing or reclassification of articles. But I am not able to create new merchandise category with this. I used structure E1BPE1WGR01  with "function" field with value "005, LSMW is working fine idocs are created successfully but no new Merc Cat is created.
    When I used same structure with "function" field with value "009" I get error message "Class XXX does not exist or or is not valid on this date".
    For Merchandise Catrgory Hierarchy
    I used idoc CLSMAS but getting error message "Keyword missing for class XXX"
    has anybody uploded entire hierarchy structure using LSMW ?

    Sorry to say, but your problem is not resolved.
    In IS-Retail, a merchandise category must first be created as a class (CLSMAS) and then also as a merchandise category (W_WGRP).  Yes, you must process two IDoc per merchandise category, and in that order.
    To understand how to load data using LSMW, the best approach to watch what the system does naturally.  In this case, use T-Code WGSE to send the merchandise category hierarchy via ALE from one system-client to another.  For understanding, you needn't configure the entire ALE scenario, just the outbound portion.  Then watch the outbound IDocs be created; there's your example!
    For merchandise category hierarchy (including merchandise categories), there are four message types that will be sent: W_WGRP, CHRMAS, CLFMAS, and CLSMAS. 
    IDoc Serialization using message types (serialization groups) is used when several different message types are dependent on each other, as is the case here. For example, if a merchandise category is assigned to a merchandise category hierarchy level, the merchandise category hierarchy level must first exist.  How you use LSMW and IDocs is informed by the sequence.
    To understand the IDoc sequence for creating the merchandise category hierarchy (including merchandise categories), use T-Code BD44 to view the Serialization Group GRP_W_WGRP includes the 4 desired message types in sequence:
    CHRMAS04 Distr. of Characteristics with Dependencies and Long Texts
    CLFMAS02 Master object classification
    CLSMAS04 Classes with Long Texts, Document Links, and E1UPSLINK
    W_WGRP01 Distribution of material groups
    CHRMAS04 is only relevant of Characteristics are being assigned to merchandise categories.  Let us leave Characteristics aside for now.
    Step 1:  Create Merchandise Category Hierarchy Nodes
    Step 2:  Merchandise Categories - Create as a Class
    Step 3:  Merchandise Categories - Change as a Retail MC
    Step 4:  Merchandise Categories - Assign Category Hierarchy Nodes each other, and assign MC class to MCH node.
    For this, use these messages:
    Step 1:  CLSMAS04
    Step 2:  CLSMAS04
    Step 3:  W_WGRP01
    Step 4:  CLFMAS02
    - Paul
    Paul R. Gendreau, Jr.
    SAP Retail

  • Netprice Picked up from last document-Open PO load using LSMW BAPI method.

    Hi Experts,
    I m doing Open PO load using LSMW BAPI method...(BAPI_PO_CREAT1).
    Inside the LSMW BAPI picks up the NETPR value from the last document and doesnt consider the value from load file...
    Please advice me how to handle this issue...
    I tried giving values to field CALCTYPE at item level or POCOND table with with carry out new pricing options....but nothig works for me...
    PLease give your valuable inputs to achieve the requirement....
    Bharathi.J

    read OSS Note 580225 - Purchasing BAPIs: Conditions and pricing

  • Which FM to use while creating a Profit Center using LSMW BAPI

    Which FM to use while creating a Profit Center using LSMW using BAPI: BUS0015

    Hi,
    For creating Profit centre using LSMW bapi method.
    You need to give this values in the 1st step of LSMW.
    Business Object       BUS0015
    Method                    CREATE                                    Create
    Message Type         PROFITCENTER_CREATE          Create profit center
    Basic Type              PROFITCENTER_CREATE01      Create Profit Center
    In We20 port creation use process code as BAPI
    Regards,
    Shan

  • PO upload using LSMW

    I am working on PO Upload. Initially I thought of going for LSMW but I come across various hurdles like different number of line items, updating different header texts and updating item header texts.
    Please advice is it possible to do that in LSMW using recording or am I supposed to use LSMW using FM.
    If you have an alternative please furnish with details.
    -Mohan
    Useful answer deserves POINT!!!!!

    >
    Mohankumar Rajendran wrote:
    > Useful answer deserves POINT!!!!!
    Don't violate forum rules with such statements
    SEARCH in SCN for this bapi BAPI_PO_CREATE1, you will get lot of posts.

  • SA Creation using LSMW BAPI BUS2013

    Hi,
    We have requirement for uploading open SA in to ECC and would need your help in LSMW, after analyzing I think best option to upload / create open SA is using BAPI method of LSMW as there is standard BAPI available BUS2013. But I have never used this method before though I am  well aware of recording method of LSMW. Please let me know how to proceed on LSMW using standardd BAPI.
    Step1- Maintain Object Attributes is done -
    BUS2013
    CREATE
    PURSAG_CREATE
    PURSAG_CREATE01
    Step2- Maintain Source Structure -
    Do we need to create 2 different structures here i.e. One for Header and One for item? If yes is it going to be at same level or lower level?
    Also need help for next 4 steps.
    Thanks
    Vihaan

    Hi Jurgen,
    Sorry didn't get you as I got stuck at step 2, please see how I did till now and provide your valuable input:
    Step 2 - Maintain Source Structures
           Created one Headerdata structure - HDATA
                Create one Itemdata structure - IDATA (IDATA is created as lower level of HDATA)
    Step3 - Maintain Source Fields
      Under HDATA:
               IDENTIFIER      C(001)  IDENTIFIER
               LIFNR              C(010) VENDOR
               EVART           C(004) SA DOCTYPE
               EKORG           C(004) PORG
               EKGRP           C(004) PRGP
               KDATE           C(008) Validity End Date
    Under IDATA:
              IDENTIFIER      C(001)  IDENTIFIER
              MATNR           C(018) Material Numer
              KTMNG           C(016) Tar Qty
              NETPR            C(013) Price
              WERKS           C(004) Plant
              LGORT           C(004) Storage location
    Step4 - Maintain structure relations
    Structure Relations
           E1PURSAG_CREATE        Header segment                                               <<<< HDATA SA HEADER DATA
               E1BPMEOUTHEADER        Header Data Outline Agreement                                <<<< HDATA SA HEADER DATA
       E1BPMEOUTITEM          Item Data of Contract                                        <<<< IDATA   SA Item Data
           E1BPMEOUTITEM1         Item Data of Contract                                        <<<< IDATA   SA Item Data
       E1BPMEOUTITEMX         Item Data Change Parameter for Outline Agreement             <<<< IDATA   SA Item Data
       E1BPMEOUTACCOUNT       Account Assignment Data - Outline Agreement                  <<<< IDATA   SA Item Data
    Stpe5 - Maintain filed mapping and Conversion rules
    Have mintained all the filed mapping like plant, material PORG etc.
    Step7 - Specify file - Done
    Step8- Assign file??? Here I am assigning file to HDATA structure only and not able to asign file to IDATA
    Source Structures and Files
           HEADERDATA SA HEADER DATA
                      SA Creation - TEST C:\Users\XME31L.txt
               ITEMDATA SA Item Data
    Here I would like to know how to create file considering above structure, do I need to create a single file with Header and Item fields in that? if Yes, then how to place it on excel - (like first row header column fields, second row - header field values and then in third row Item coloumn fields and 4th row item values)
    OR I need to create two different files one for header fields and one for item fields and then aissgn them to HDATA and IDATA respectively?if Yes, then I am not able to aissgn file to IDATA as it gives error saying "File XME31L.txt can only be assigned to one source structure.
    Please help me here
    Thanks
    Vihaan

  • Open Purchase Order UPload Using the BAPI 's

    i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out  using the BAIP's for upload the PO, i need sample code for this ........
    Thanks & Regards
    Raghu
    <u>Field Name     Field Description                              Type     Length</u>
    <b>EBELN             Purchasing Document Number                         CHAR     010          X
    BUKRS             Company Code                                                     CHAR    004     MN10     C
    EKORG             Purchasing Organization                              CHAR     004     MN00     C
    EKGRP             Purchasing group                              CHAR     003          X
    BSART             Order type (Purchasing)                              CHAR     004          X
    LIFNR             Account Number of Vendor or Creditor                    CHAR     010          X
    BEDAT             Purchase Order Date                              DATS     010          X
    ZTERM             Terms of payment key                              CHAR     004          X
    WAERS             Currency Key                                   CUKY     005          X
    INCO1             Incoterms (part 1)                              CHAR     003          X
    INCO2             Incoterms (part 2)                              CHAR     028          X</b>
    EBELP             Item Number of Purchasing Document                    NUMC     005          X
    EMATN             Material number                                   CHAR     018          X
    WERKS             Plant                                        CHAR     004          X
    LGORT             Storage location                              CHAR     004          X
    EPSTP             Item category in purchasing document                    CHAR     001          X
    KNTTP             Account assignment category                         CHAR     001          X
    EINDT             Item delivery date                              DATS     010          X
    MENGE            "Purchase order quantity (direct input, transfer of POs)"     CHAR     013          X
    MEINS            Order unit                                   UNIT     003          X
    NETPR            "Net price: Document currency (direct input, transfer of"     CHAR     011          X
    PEINH            "Price unit (direct input, transfer of POs)"               CHAR     005          X
    BPRME            Order Price Unit (Purchasing)                         UNIT     003          X
    BPUMZ            Numerator: Conversion OPUn into OUn (direct input of POs          CHAR     005          X
    BPUMN            Denominator: Conversion OPUn into OUn (direct input of P          CHAR     005          X
    SAKTO            Cost element                                   CHAR     010          X
    KOSTL              Cost Center                                   CHAR     010          X
    VBELN          Sales and Distribution Document Number                    CHAR     010          X
    VBELP          Sales document item                              NUMC     006          X
    WEMPF          Goods recipient                                   CHAR     012          X
    WEBTH          "Amount in local currency (direct input, transfer of POs)"     CHAR     013          X
    WEBTF          "Amount in document currency (direct input, transfer of P"     CHAR     013          X
    WEREF          Flag for treatment of GR/IR (direct input of POs)          CHAR     001          X
    SPINF          Indicator: Update info record                         CHAR     001          X
    WEPOS          Goods Receipt Indicator                              CHAR     001          X
    REPOS          Invoice receipt indicator                         CHAR     001          X

    i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out  using the BAIP's for upload the PO, i need sample code for this ........
    Thanks & Regards
    Raghu
    <u>Field Name     Field Description                              Type     Length</u>
    <b>EBELN             Purchasing Document Number                         CHAR     010          X
    BUKRS             Company Code                                                     CHAR    004     MN10     C
    EKORG             Purchasing Organization                              CHAR     004     MN00     C
    EKGRP             Purchasing group                              CHAR     003          X
    BSART             Order type (Purchasing)                              CHAR     004          X
    LIFNR             Account Number of Vendor or Creditor                    CHAR     010          X
    BEDAT             Purchase Order Date                              DATS     010          X
    ZTERM             Terms of payment key                              CHAR     004          X
    WAERS             Currency Key                                   CUKY     005          X
    INCO1             Incoterms (part 1)                              CHAR     003          X
    INCO2             Incoterms (part 2)                              CHAR     028          X</b>
    EBELP             Item Number of Purchasing Document                    NUMC     005          X
    EMATN             Material number                                   CHAR     018          X
    WERKS             Plant                                        CHAR     004          X
    LGORT             Storage location                              CHAR     004          X
    EPSTP             Item category in purchasing document                    CHAR     001          X
    KNTTP             Account assignment category                         CHAR     001          X
    EINDT             Item delivery date                              DATS     010          X
    MENGE            "Purchase order quantity (direct input, transfer of POs)"     CHAR     013          X
    MEINS            Order unit                                   UNIT     003          X
    NETPR            "Net price: Document currency (direct input, transfer of"     CHAR     011          X
    PEINH            "Price unit (direct input, transfer of POs)"               CHAR     005          X
    BPRME            Order Price Unit (Purchasing)                         UNIT     003          X
    BPUMZ            Numerator: Conversion OPUn into OUn (direct input of POs          CHAR     005          X
    BPUMN            Denominator: Conversion OPUn into OUn (direct input of P          CHAR     005          X
    SAKTO            Cost element                                   CHAR     010          X
    KOSTL              Cost Center                                   CHAR     010          X
    VBELN          Sales and Distribution Document Number                    CHAR     010          X
    VBELP          Sales document item                              NUMC     006          X
    WEMPF          Goods recipient                                   CHAR     012          X
    WEBTH          "Amount in local currency (direct input, transfer of POs)"     CHAR     013          X
    WEBTF          "Amount in document currency (direct input, transfer of P"     CHAR     013          X
    WEREF          Flag for treatment of GR/IR (direct input of POs)          CHAR     001          X
    SPINF          Indicator: Update info record                         CHAR     001          X
    WEPOS          Goods Receipt Indicator                              CHAR     001          X
    REPOS          Invoice receipt indicator                         CHAR     001          X

  • Purchase order upload using LSMW

    Hi
    Can we use Basic type ORDERS05 in the IDOC method to upload purchase order using LSMW.
    This also can achieved using business object BUS2012 and basic type PORDCR05.
    Just wanted to what would be the difference between these two methods and possibliity of PO using basic type ORDERS05 using Idoc method.
    Regards
    Raj
    Edited by: Rajitha1234 on Jan 28, 2011 6:55 AM
    Edited by: Rajitha1234 on Jan 28, 2011 6:56 AM

    Hai
    Check with the following
    Select fifth Radio button then follow the bellow step
    <b>5) select radio-Button 5 and execute
       Maintain Field Mapping and Conversion Rules
       Select the Tcode and click on Rule button there you   will select constant
       and press continue button
       give Transaction Code : ME21 and press Enter</b>
    Thanks & regards
    Sreenivasulu P

  • Error while creating the ASSET using LSMW BAPI method ( BUS1022 )

    Hello,
    Im creating assets using the below LSMW BAPI method
    Business Object      BUS1022     
    Method                     CREATEINCLVALUES
    Message Type         FIXEDASSET_CREATEINCLVALU
    Basic Type              FIXEDASSET_CREATEINCLVALU
    the following errors were triggered while populating the values to ACQ_VALUE and ORD_DEP value.
    Correction to ordinary dep. greater than acc. dep. in area 01
    Correction to ordinary dep. greater than acc. dep. in area 30
    Correction to ordinary dep. greater than acc. dep. in area 31
    Correction to ordinary dep. greater than acc. dep. in area 32
    if i pass only ACQ_VALUE, I am able to create the asset with out any issues.
    Can you guys plz guide me to fix this issue to create the asset with both ACQ_VALUE and ORD_DEP values??
    Cheers,
    Sriram.

    Hello,
    Review AO21.
    Regards
    Waza

  • CA01 Upload using LSMW

    Hi
    Iam uploading CA01 data using LSMW using the Standard Direct Input Method where my object-0170 & method-0002.
    In the  "Define Source Structures" step,
    the HEADER is defined first,
    then the DETAIL below the HEADER.
    the fields are added to the structures.
    I maintained two flat files, one for Header Data and one for Item Data
    There is a common field named 'key' in both the files
    but only header data was written after reading
    can any one give me the steps regarding this
    Thanks in advance

    You defined 2 structures in step 'Maintain Source Structures' ?

  • FB01 upload using LSMW

    Hi
    Iam uploading FB01 data using LSMW.
    I maintained two files, one for Header Data and one for Item Data
    but only header data was written after reading
    can any one give me the steps regarding this
    Thanka in advance
    venkat

    Hi,
    LSMW will have a Indocator for headr and itam, i do not remember the correct field, but it will have an indicator, check the fields, there will be a single charecter lenght field, that should be the indicator, and using that we can write the logic.
    check that single charecter field, it that is X that means the header record is processed, and do the items.
    and, this is another way, try this out also
    YOu can do this in "Define Source Structures" step,
    the HEADER is defined first,
    then the DETAIL below the HEADER.
    add the fields to the structures.
    Both should have some common key field
    Please take care that the name of the common field is the same.
    Once you do this it is linked. The you have a header and item corresponding to that header. then run the LSMW as you would.
    Regards
    Sudheer

  • IBAN upload using LSMW

    Hi All,
    We have a requirement to upload IBAN details of vendors using FK02 using LSMW. Also the vendors which does not have bank details we need to add them.
    Can you let me know how to achieve this?
    -- Syed Abid Hussain

    Dude,
    Remember if IBAN is entered with out bank account number then where ever bank account is blank with the same bank key system will update same IBAN every where...
    Do the following steps;
    First; Maintain Bank accout number for all those vendor where it is missing once it is done then do the step two..
    Two; Update IBAN using t.code FIBAN (Table TIBAN) instead of loading thru FK02 as IBAN has no reletion with vendor number instead with Bank account number (Although you can update IBAN from FK02 its up to you) but FIBAN is easy and it is a matter of copy / paste only with the right bank account number and bank keys etc etc.....
    I would strongly recommend you to make the Bank account field mandatory in vendor master data to avoid any Discrepancy in future as stated above......
    Cheers,
    Guest

Maybe you are looking for