[Help ] - LSMW for BOM

Hello all,
I am trying to create a LSMW to migrate BOMs.
I am using object 0030 and method 0001.
http://picasaweb.google.pt/adelmosilva/SAPScreenShots/photo#5225399426725436898
Then, I have created 2 structures, one for the BOM header and one for the Item.
Do I have to create 4 structures, one for each table?
My text file has the following data:
http://picasaweb.google.pt/adelmosilva/SAPScreenShots/photo#5225400798442244802
Is this correct?
Thanks in advance,
Adelmo Silva

Hello Silva,
It depends on what fields you want to update in BOM. for my LSMW I do not use Object, methods. I just record whatever fields I need to populate.
You can also choose to just record the fields that you need to populate under Batch input recording option.
Yes, some times it takes more than 2 structures to load all the fields I need.
Hope this helps.
Thanks,
Ram

Similar Messages

  • LSMW FOR BOM CREATING.

    Hi Guys,
    I have a requirement where i create lsmw for bom upload using batch input. I m trying to create only one source structure and source fields assigned to this source structure but when finally im executing it its creating the first line item correctly but for all the second line items onwards its saying that Alternative already exists... My functional guy says that its creating just the first component in the bom and for the second component its trying to create another bom...and while its checking for the header which is already created its giving us error..
    I dont know how to handle this.....guys its a little urgent....plz help me out.
    here is a snap shot of the errors..
    10:25:44     Session BOM-CREATE is being processed by user KALVALV in mode N on server psdux07                              0                                                           0     S     00     300
    10:25:44     Creating BOM for material 10000240     CS01     1     SAPLCSDI     0140     7     S     29     030
    10:25:45     Transaction was processed successfully     CS01     1                                                           0     S     00     355
    10:25:45     Alternative 1 already exists     CS01     2     SAPLCSDI     0100     1     E     29     003
    10:25:45     Transaction error     CS01     2                                                           0     S     00     357
    10:25:45     Creating BOM for material 10000346     CS01     3     SAPLCSDI     0140     7     S     29     030
    10:25:45     Transaction was processed successfully     CS01     3                                                           0     S     00     355
    10:25:45     Alternative 1 already exists     CS01     4     SAPLCSDI     0100     1     E     29     003
    10:25:45     Transaction error     CS01     4                                                           0     S     00     357
    10:25:45     Creating BOM for material 10000347     CS01     5     SAPLCSDI     0140     7     S     29     030
    10:25:46     Transaction was processed successfully     CS01     5                                                           0     S     00     355
    10:25:46     Alternative 1 already exists     CS01     6     SAPLCSDI     0100     1     E     29     003
    10:25:46     Transaction error     CS01     6                                                           0     S     00     357
    10:25:46     Creating BOM for material 10000785     CS01     7     SAPLCSDI     0140     7     S     29     030
    10:25:46     Transaction was processed successfully     CS01     7                                                           0     S     00     355
    10:25:46     Alternative 1 already exists     CS01     8     SAPLCSDI     0100     1     E     29     003
    10:25:46     Transaction error     CS01     8                                                           0     S     00     357
    10:25:46     Creating BOM for material 10001252     CS01     9     SAPLCSDI     0140     7     S     29     030
    10:25:46     Transaction was processed successfully     CS01     9                                                           0     S     00     355

    Hi,
    You need to define the two structure header and detail. Both files should have the key fields:
    For example: Both file have Plant, Material Number, BOM Usage & Valid From.
    Then BGR00 and BICSK should be mapped to BOM_HEADER and BICSP to BOM_DETAIL structure.
    Then just do the mapping and should work.
    Hope this helps.
    Regards,
    Bharati Singh

  • Lsmw for BOM and Routig

    Hi. I am new to this lsmw stuff. i have to  upload my boms and routings.i am thinking of doing lsmw for that.can u please guide me . how to do that, which is the best way to do that. can i use recording for uploading  the bill of materials and routing.
    can some one send me a template for uploading boms and routings.

    Dear,
    Please refer this link,
    [LSMW|lsmw for bom component]
    Regards,
    R.Brahmankar

  • LSMW for BOM Object Dependencies

    Dear Sir,
    I can use LSMW to upload BOM component without object dependencies.
    If the BOM component have object dependencies, how to upload OD using LSMW.
    Who can help me !

    Hi all
    I have so much OD to be upload, how can I do that through LSMW ?
    No expert can help me ?
    Regards,

  • LSMW upload BOM

    Hi,
    I am doing LSMW to upload BOM info for the first time. It would be of great help if someone can provide me with an example with screenshots. Thanx in advance for your help.
    my mail id is: [Email removed by moderator]
    Sachin
    Message was edited by:
            Mario Herger

    Hi Guys,
    I do have the same requirement where i create lsmw for bom upload using batch input. I m trying to create only one source structure and source fields assigned to this source structure but when finally im executing it its creating the first line item correctly but for all the second line items onwards its saying that Alternative 1 already exists... My functional guy says that its creating just the first component in the bom and for the second component its trying to create another bom...and while its checking for the header which is already created its giving us error..
    I dont know how to handle this.....guys its a little urgent....plz help me out.

  • Lsmw for routing

    I am trying to upload routing using LSMW.
    which is the best way to use batch input or direct input.  I dont have a choice fof using badis or BDC
    can we upload routing without writing any code in LSMW.
    so i created three files
    header
    operation
    component allocation.
    what should be the link between these three files.I did lsmw for BOM. there i ve used material number as link. bou i didnt find material number in routing lsmw. so what should be the reference.
    can we take group counter number as reference.
    can some one provide me the source file structures for this LSMW for routing.
    thanks.

    Hi,
    You can use the standard LSMW for routing. As you mentioned first you upload the header and take the group no. as reference and upload the operation. and the components will be automatically assigned to the routing with the first operation.
    Thanks and Regards,
    Satish

  • LSMW creation for BOM

    Hi Abapers,
         I have got an assignment to create a LSMW to accomplish the loading of Bill of material but I have never done LSMW
    before. So Can anybody please tell me that out of four processes in LSMW which one I should use and the flow of that.
    Thanks in Advance
    Deepa

    Hi Deepa,
    I have used bdc for bom creation as I got stuck while using lsmw. I am attaching code snippet for your reference.
    Hope this helps
    loop at itab1.
          move itab1 to wa_itab1.
          perform map_rec.
          call transaction 'CS01' using t_bdcdata mode p_mode update 'A'
          messages into messtab .
    *    clear: wa_itab1,wa_itab2, t_bdcdata.
    *    refresh t_bdcdata.
          loop at messtab where msgtyp = 'E' or msgtyp = 'S' .
            select single * from t100 where sprsl = messtab-msgspra
                                      and   arbgb = messtab-msgid
                                      and   msgnr = messtab-msgnr.
            if sy-subrc = 0.
              mstring = t100-text.
              if mstring cs '&1'.
                replace '&1' with messtab-msgv1 into mstring.
                replace '&2' with messtab-msgv2 into mstring.
                replace '&3' with messtab-msgv3 into mstring.
                replace '&4' with messtab-msgv4 into mstring.
              else.
                replace '&' with messtab-msgv1 into mstring.
                replace '&' with messtab-msgv2 into mstring.
                replace '&' with messtab-msgv3 into mstring.
                replace '&' with messtab-msgv4 into mstring.
              endif.
              condense mstring.
              it_messtab-message = mstring(300).
              it_messtab-plant = itab1-matnr.
              if messtab-msgtyp = 'E'.
                it_messtab-status = 'Error'.
              else.
                it_messtab-status = 'Success'.
              endif.
              append it_messtab.
              clear it_messtab.
            endif.
          endloop. "messtab
          clear: wa_itab1,wa_itab2, t_bdcdata.
          refresh t_bdcdata.
        endloop.
        if not it_messtab[] is initial.
          perform buildcatalog.
          perform display.
        endif.
      endif.
    *&      Form  Map_Rec
    *       text
    form  map_rec.
      perform bdc_dynpro      using 'SAPLCSDI' '0100'.
      perform bdc_field       using 'BDC_CURSOR'   'RC29N-STLAN'.
      perform bdc_field       using 'BDC_OKCODE'   '/00'.
      perform bdc_field       using 'RC29N-MATNR'   wa_itab1-matnr."'505111'.
      perform bdc_field       using 'RC29N-WERKS'   wa_itab1-werks."'2245'.
      perform bdc_field       using 'RC29N-STLAN'   wa_itab1-stlan."'1'.
      perform bdc_field       using 'RC29N-STLAL'   wa_itab1-stlal."'01'.
      perform bdc_dynpro      using 'SAPLCSDI'     '0110'.
      perform bdc_field       using 'BDC_CURSOR'   'RC29K-BMENG'.
      perform bdc_field       using 'BDC_OKCODE'    '/00'.
      perform bdc_field       using 'RC29K-BMENG'   wa_itab1-bmeng."'1000'.
      perform bdc_field       using 'RC29K-STLST'   '1'.
      perform bdc_dynpro      using 'SAPLCSDI'      '0111'.
      perform bdc_field       using 'BDC_CURSOR'    'RC29K-LABOR'.
      perform bdc_field       using 'BDC_OKCODE'    '/00'.
      loop at itab2 where matnr = wa_itab1-matnr
                    and werks = wa_itab1-werks.
        append itab2 to itab3.
        clear : itab2, itab3.
      endloop.
      count = '1'.   "Used as a flag
      clear no_lines.
      describe table itab3 lines no_lines.
      loop at itab3.
        perform bdc_dynpro      using 'SAPLCSDI'         '0140'.
        perform bdc_field       using 'BDC_CURSOR'        'RC29P-POSTP(01)'.
        if itab3-posnr = '01'.
          perform bdc_dynpro      using 'SAPLCSDI' '0140'.
          perform bdc_field       using 'BDC_CURSOR'      'RC29P-POSTP(01)'.
          perform bdc_field       using 'BDC_OKCODE'     '/00'.
          perform bdc_field       using 'RC29P-IDNRK(01)'   itab3-idnrk." '49500'.
          perform bdc_field       using 'RC29P-MENGE(01)'    itab3-menge."'20'.
          perform bdc_field       using 'RC29P-MEINS(01)'    itab3-meins. "'kg'.
          perform bdc_field       using 'RC29P-POSTP(01)'    itab3-postp.      "'l'.
          perform bdc_dynpro      using 'SAPLCSDI' '0130'.
          perform bdc_field       using 'BDC_OKCODE'         '/00'.
          perform bdc_field       using 'BDC_CURSOR'          'RC29P-POSNR'.
          perform bdc_field       using 'RC29P-POSNR'         '0010'.
          perform bdc_field       using 'RC29P-IDNRK'        itab3-idnrk." '49500'.
          perform bdc_field       using 'RC29P-MENGE'       itab3-menge."'20'.
          perform bdc_field       using 'RC29P-MEINS'       itab3-meins. "'KG'.
          perform bdc_dynpro      using 'SAPLCSDI'           '0131'.
          perform bdc_field       using 'BDC_OKCODE'        '/00'.
          perform bdc_field       using 'BDC_CURSOR'        'RC29P-POTX1'.
          perform bdc_field       using 'RC29P-SANKA'      'X'.
        else.
    ***" Ok Code for saving, Corr. to Last line
          if count = no_lines.
            perform bdc_dynpro      using 'SAPLCSDI' '0140'.
            perform bdc_field       using 'BDC_CURSOR'
                                          'RC29P-POSNR(02)'.
            perform bdc_field       using 'BDC_OKCODE'
                                          '=FCBU'.
          else.     "Ok Code for new line entry
                  perform bdc_dynpro      using 'SAPLCSDI' '0140'.
            perform bdc_field       using 'BDC_CURSOR'
                                          'RC29P-POSNR(02)'.
            perform bdc_field       using 'BDC_OKCODE'
                                          '=FCNP'.
          endif.
          perform bdc_dynpro      using 'SAPLCSDI' '0140'.
          perform bdc_field       using 'BDC_CURSOR'
                                        'RC29P-POSNR(02)'.
          perform bdc_field       using 'BDC_OKCODE'
                                        '/00'.
          perform bdc_field       using 'RC29P-IDNRK(02)'
                                        itab3-idnrk.            "'49502'.
          perform bdc_field       using 'RC29P-MENGE(02)'
                                        itab3-menge.            "'10'.
          perform bdc_field       using 'RC29P-MEINS(02)'
                                        itab3-meins.    "'kg'.
          perform bdc_field       using 'RC29P-POSTP(02)'
                                        itab3-postp.    "'L'.
          perform bdc_dynpro      using 'SAPLCSDI' '0130'.
          perform bdc_field       using 'BDC_OKCODE'
                                        '/00'.
          perform bdc_field       using 'BDC_CURSOR'
                                        'RC29P-POSNR'.
          w_posnr = itab3-posnr * 10.
          condense w_posnr no-gaps.
          if w_posnr <= '90'.
            concatenate '00' w_posnr into w_posnr.
          else.
            concatenate '0' w_posnr into w_posnr.
          endif.
          perform bdc_field       using 'RC29P-POSNR'
                                        w_posnr.                "'0020'.
          perform bdc_field       using 'RC29P-IDNRK'
                                        itab3-idnrk.            "'49502'.
          perform bdc_field       using 'RC29P-MENGE'
                                        itab3-menge.            "'10'.
          perform bdc_field       using 'RC29P-MEINS'
                                        itab3-meins.    "'KG'.
          perform bdc_dynpro      using 'SAPLCSDI' '0131'.
          perform bdc_field       using 'BDC_OKCODE'
                                        '/00'.
          perform bdc_field       using 'BDC_CURSOR'
                                        'RC29P-POTX1'.
          perform bdc_field       using 'RC29P-SANKA'
                                        'X'.
          count = count + 1.  "Increment count for every line item
        endif.
      at end of matnr.
      perform bdc_dynpro      using 'SAPLCSDI' '0140'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'RC29P-POSNR(01)'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=FCBU'.
    endat.
      endloop.
    clear itab3[].
    endform. "Map_Rec
    **      Form  BDC_DYNPRO
    form bdc_dynpro using program dynpro.
      clear w_bdcdata.
      w_bdcdata-program  = program.
      w_bdcdata-dynpro   = dynpro.
      w_bdcdata-dynbegin = 'X'.
      append w_bdcdata to t_bdcdata.
    endform.                    "bdc_dynpro
    **      Form  BDC_FIELD
    form bdc_field using fnam fval.
      if fval <> space.
        clear w_bdcdata.
        w_bdcdata-fnam = fnam.
        w_bdcdata-fval = fval.
        append w_bdcdata to t_bdcdata.
      else.
        clear w_bdcdata.
        w_bdcdata-fnam = fnam.
        w_bdcdata-fval = fval.
        append w_bdcdata to t_bdcdata.
      endif.
    endform.                    "bdc_field

  • LSMW for Workcenter, BOM & Routings

    Hello people,
    I am new to LSMW. We are on ECC 6.0 & all master data is in Plant X, now we want all master data in  plant Y. Same plant but we are creating virtual plant. So all master data will be as it is. 
    I need to copy existing Workcenter, Routing, BOMs from Plant X to Y.
    for example If i do manually, CR01 - copy with reference..it works
    1> should i go with Batch input recording and record copy with reference for LSMW?
    2> or Standard SAP program for LSMW?
    Can you please tell me the detail process... It would be great help!
    Thanks

    Hello,
    Please look into the below link for more details on LSMW:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/87/f3ae63e68111d1b3ff006094b944c8/frameset.htm
    Also for BOM transfer there is already thread:
    BOM Uploading through LSMW
    Hope the information is useful
    Regards

  • LSMW Direct Input for BOM (CS01)

    Dear all,
    I am trying to do LSMW for Creating BOM using Direct Input
    below is the step by step that i have done :
    1. Maintain Object Attributes
    Object 0030 Material BOM
    Method 0001 Create
    Program Name RCSBI010
    Program Type B Batch Input
    2.Maintain Source Structures
    Source Structures
    BOM_HEADER BOM_Header
    BOM_ITEM BOM_item
    3.Maintain Source Fields
    Here i maintain the Header and item fields correctly
    for the header :
    IDENT (identifier who linked with item),MATNR, WERKS, STLAN, STLAL, BMENG, BMEIN, STLST
    for the item :
    IDENT, POSNR, POSTP, IDNRK, MENGE, MEINS, SANKA
    4.Maintain Structure Relations
    BGR00-Bom header
    BICSK-BOM item
    BICSP-Bom item
    5.Maintain Field Mapping and Conversion Rules
    I use the autofield mapping
    6.Specify Files
    Legacy Data PC Frontend = i create 2 file (header and item) (both characteristic are data for one source structure, tabulator)
    Imported Data = TEST-PP_PP-BOM_PP-BOM-DI.lsmw.read
    Converted Data = TEST-PP_PP-BOM_PP-BOM-DI.lsmw.conv
                                  Logical Path BOM_HEADER
                                  Logical File BOM_HEADER
    7.Assign Files = I assign 2 files Bom Header and Bom Item
    8.Read Data, Display Read Data, Convert Data, Display Convert Data = is all okay
    9.Create Batch Input Session = this is where the problem is, i found message "E29 811 transaction not supported"
    What is the problem for this error? and how to solve this problem?
    Regards,
    Marufat

    Dear,
    1. Maintain Object Attributes
    Object 0030 Material BOM
    Method 0001 Create
    Program Name RCSBI010
    Program Type B Batch Input
    2.Maintain Source Structures
    Source Structures
    BOM_HEADER BOM_Header
    BOM_ITEM BOM_item
    3.Maintain Source Fields
    Here you maintain the Header and item fields correctly
    in the source filed you have to add one field called identifier in the header and the item.
    4.Maintain Structure Relations
    BGR00-Bom header
    BICSK-BOM item
    BICSP-Bom item
    5.Maintain Field Mapping and Conversion Rules
    Do the filed mapping here correctly
    6.Specify Files
    a.Before thie you need to create 2 files.
    1 file for the header material and the other one for the component material
    b.In the header file you will have only one entry for one bom and it will have a idetifier number unique for each bom header
    c.inthe item you will fill the rquireed number of component and also the unique identifer number.
    d.this identifier is the key which joins the header and the item
    7.Read Data
    now once the file are all mapped
    read the data,dispaly the data and try to upload for one single material.
    Hope it will help you.
    Regards,
    R.Brahmankar

  • LSMW for datatransfer of BOM; problem with effectivitydate on itemlevel

    Dear Guru's,
    We try to create BOM's with the LSMW tool standard batch/ direct input, object 0030, method 0001.
    It works fine, except for the effectivitydate on itemlevel. I just can't find the necessary fields (DATUB and DATUV) to populate for this!
    Any ideas how to solve this?
    Thanks!!
    Best regards, AJ

    Hi,
    You can find effectivity date fields in header structure BICSK - Batch Input Structure for BOM Header Data
    BICSK-DATUB           Valid to date (BTCI)
    BICSK-DATUV           Valid-From Date (BTCI)
    For Items, date values flows from header.

  • Need help with LSMW for ME23N

    Hey Guys,
    I have this problem where i need to do a recording for LSMW for ME23N. This are the steps i took:
    1. Enter ME23N
    2. Click on the Change Button (i can't enter me22n directly to edit when its running a batch)
    3. Click on the Drop down List
    4. Key in a different Item number
    5. Press enter
    6. Select the delivery TAB
    7. Check the Delivery completed button
    8. Save.
    When i run the batch, the problem comes at step 4. I have a batch file with the following format:
    05 4500120382
    The list box, cannot read the number 05. Is there anyway to go around this?
    Thank you

    hi,
    Check it, may be usefull for you:
    Here is the link explaining step by step LSMW
    /people/hema.rao/blog/2006/09/14/lsmw--step-by-step
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    Regards
    Priyanka.P

  • Creating an LSMW for routing

    Hi
    I have managed to create a LSMW model, that wil create (CA01) a routing.
    My problem is that components (from the BOM) is not assigned to operations.
    When I display converted data, just before I create a batch input session, I can can see selected components is assigned to an operation.
    When I use transaction CA03 afterwards, behind the TAB " CompAlloc" there is no materials that has been assigned to operations. 
    Has anyone any experience on this issue?

    Dear,
    As said by Bala,get the help from ABAP programmer and go for a BDC for
    creation of routing.
    I have not worked or used LSMW for routing,so could not give a reply for your
    question.
    Regards
    Mangal

  • Report for BOM materials

    Dear Experts,
    i have scenario which i need to capture but do not have any standard report and for that reason i am going in for Z development of the reports. please guide me so as to which field to be pulled to get the desired output.
    Scenario:
    We create Purchase order with a version control
    1. First version has the data which act as baseline and we want to compare rest of the  versions as variance
    2. If the line item in PO is a subcontracting material with L- then the subcomponents will be present as a BOM
    3. when i ammend the PO for the Qty the BOM items also get ammended but do not reflect in the version control - display changes
    4. I want to capture the PO with each line item against which there is qty change and also the material BOM change due to qty change.
    Is there any table from which i capture the data.
    Pl. help me out it would be of great help
    Thanks & Regards,
    Farhan

    Hi
    the following tables might be useful
    MAST
    STKO - Header Table of BOM
    STPO - Item Level for BOM
    MAKT
    regards
    maniraj

  • Planning of Dependent Requirements for BOM Components in Make to Order scen

    Hi Friends - I want to execute a full cycle Make to Stock Scenario with Materials planning using MRP.
    The scenario will include BOM Components with Routing.
    The process flow I want to execute -
    1. Create a Sales Order for a Finished Product (Product should have a BOM for Production)
    2. Do the product Materials Planning for the Sales Order through MD50
    3. Get all the dependent material requirements (both for products as Planned Order and also for BOM Components - all the BOM components should also be planned)
    4. Convert Planned Order for Product to Production Order
    5. Convert Planned Orders for BOM components to Purchase Requisition
    6. Confirm Production Order
    To execute this I have done the following
    1. I have created a Material Master data for Finished Product (FERT).
    2. I have assigned Item Category Group - NORM, and General Item Category group as NORM
    3. I have assigned MRP Type PD in MRP 1 View and Strategy Group 20 (Make to Order Production) in MRP 3 View.
    4. Now created a Universal (Type 3) BOM for the product with one material component.
    5. Now also created a Routing for the Material with two operations having PP01 a control key.
    6. Now created a standard sales order for the product.
    7. Executed the MD50 for the Sales Order Item.
    Now where do I find the BOM components for this material in the Sales Order?
    After executing the planning Run MD50 I am only getting the requirements for Product only. I can't see any dependent requirements for the BOM components.
    How do I make sure that the BOM components are also planned while the product is planned?
    I have checked the component Stock Requirement List - there are no requirements generated from the Sales Order Product BOM.
    Pls help me on this. How to do this so that the raw material components are also planned?
    Thanks
    Purnendu

    Hi Dhaval, Sandeep, Ashok - Thanks a lot for your replies.
    I have checked the Planned Order Created through Planning Run.
    If I click on the Components Tab I am getting following message
    No material components were determined
    Message no. 61027
    Diagnosis
    Until now, no BOM explosion has been carried out or no BOM has been created for this material yet.
    Procedure
    Either explode the bill of material for this material, or
    create the components manually by processing the planned order in change mode.
    If I try to explode the BOM through Header Menu - Edit> Explode BOM
    I am getting the same message.
    If I click on the Bill of Material Tab - I am getting the same above messge.
    Ashok - I have tried both the Selection Method -
    Nil - Selection by Order Quant.
    1 - Selection by Explosion Date
    But with no effect.
    Waiting for your advice.
    Thanks and warm regards
    Purnendu

  • User exit for BOM

    hello,....
    problem: using BOM in VA01...for free goods material.....
    I am working on user exit for BOM...I need to write a code in FV45SFCO_CONFIGURATION_SET_STM under this we have call customer funcion '003'
    if we click on this we will enter in include ZXVVAU12.....In this including I need to write the code(user exit) by using XSTB table and the values in that table I have to populate in XVBAP.......for the BOM Explosion........when we use VA01......
    so please tell me how can i write the code in that exit ...by getting the data from XSTB to XVBAP........by using the field STLAL (It is Alternative BOM in BOM Screen)...for example if I select '05' (stlal) BOM type.....the values in XSTB populate in XVBAP...
    anyone help me on this........
    Otherwise give me any other sample code for the userexit BOM so that I will learn...a lot from that....
    Thanks in advance,
    Madhu

    Hi Madhu,
    You can try something like this to read XSTB in user exits EXIT_SAPFV45S_003.
    DATA: XT_XSTB LIKE STANDARD TABLE OF SDSTPOX WITH HEADER LINE.
    FIELD-SYMBOLS: <XSTB> TYPE TABLE.
    DATA: FIELD_NAME(30) VALUE '(SAPFV45S)XSTB[]'.
    ASSIGN (FIELD_NAME) TO <XSTB>.
    XT_XSTB[] = <XSTB>.
    READ TABLE XT_XSTB WITH KEY STLAL = '05'.
    IF SY-SUBRC = 0.
    ....                      <--- your logic to move to VBAP
    ENDIF.
    Regards,
    Ferry Lianto

Maybe you are looking for

  • BPM: Call internal RFC

    Hi guys, Maybe this is a  dumb question, but imagine this scenario, in a BPM we can call any RFC located in any R/3 system, but can we call an RFC in XI system? I've tried to import the RFC but I wasn't able to do it... I thought it would be easier t

  • White line disappears when I shrink the image

    Hi, I am working in an image that has a drawing with thin white lines over a dark background. When I shrink the image, the white lines disappear. I would like to know how to thicken the white lines, so that it doesn't disappear when I shrink it... Th

  • HT4623 How do I update iPad version 4.0? To version 6 or whatever is higher?

    How do I update iPad version 4 to the latest software.

  • Be reporting  material

    hi gurus, can any one send bex reporting material to my mail id? [email protected] thanks rs

  • Applescript resize group

    How I can to resize grouped object using absolute dimensions? I tried that but I'm newbie into Applescript tell active document   tell group items "<gruppo>" of layer 1 of page 1   set absolute horizontal scale to 55 as real   end tell   end tell