FM or code add fields from WLP00 to WLP16

Hi,
I m fetching data from table 'rpsco' into an internal table.
now this table has fields from WLP00 to WLP16
I want to add these fields, so is there any standard FM available for this or any standard SAP code.
Thanks

Instead of FM u can use simple abap statement
ADD - THEN, UNTIL .........
EX:
DATA: BEGIN OF numbers,
        one   TYPE p VALUE 10,
        two   TYPE p VALUE 20,
        three TYPE p VALUE 30,
        four  TYPE p VALUE 40,
        five  TYPE p VALUE 50,
      END OF numbers,
      sum     TYPE i.
SELECT-OPTIONS position FOR sum.
ADD numbers-one THEN numbers-two
                UNTIL numbers-five
                ACCORDING TO position
                GIVING sum.

Similar Messages

  • Add Fields from table ADRC (Fields Name 1 to 4) for Open Item Processing

    Hi SAP Expert:
    Our client requires vendor/customer name to be displayed in the open item processing line layout for transaction code f-58, so they can double check if the vendor name is complete as intended. 
    We intend to add fields from table ADRC instead of REGUH since the characters in maintaining vendor/customer name is 40 characters and REGUH - ZNME1s are only 35 characters. 
    We have managed to add fields from ADRC and change the SAPDF05X program and were able to display the names in open item layout, except that the program seems to "automatically" create a generic table which only carries 30 characters of the vendor/customer name.  The source table should be RFOPS_DK but the program automatically looks up from table RFOPS_GEN for the particular fields - Name 1 to 4.  Is there a way to "instruct" the program to use RFOPS_DK instead of RFOPS_GEN?
    Hope this will merit somebody's attention... Thanks !!!

    Thanks,  i have assigned the layout via o7v3,  it is the program that i have a problem with,  actually another program that we change is the program MF05BFPO where it generates data to be displayed in the FBZ4 screen,  though we add a field with 40 characters (ADRC Name 1 to 4)  what the program dispalys is a 30 character Name1 to 4 from structure RFOPS_GEN. 
    My question is can i extend/change the structure RFOP_GEN to 40 characters,  is there any SAP standard program that will aftected if i do so?  thank very much...
    Lorena

  • Add field from structure maintanace option for datasource in LBWE (BI 7)

    Hi,
    while i try to add extra field (transaction:LBWE for data source(ex 2lis_02_itm)) from structure maintance option to add field from structure(MCEKKO) to res data source(MC02M_0ITM) , than it moves to left side but when make enter message comes that it will not populated in extrect structure(i.e in MC02M_0ITM OR RSA2),
    but when we try to add extra field not by structure maintanace option in LBWE but form append structure option from that structure MC02M_0ITM ( that field is not in that maintanace option in LBWE) than it comes in that structure MC02M_0ITM and also can see in RSA2.
    Than how can we use that structure maintanace option avialble for the res. data source in LBWE?
    Best regards,
    dushyant.

    It solved automaticaly,
    yes later i got that error entry still exit whic solved by deleting setup table and than try,
    thanks.
    one another problem: when i try to activate 0order_quan key figure for cube 0pur_c01 for data source 2lis_02_itm at update rulen by assignig source field for that key figure , i am unable to activate - its remain in warning symbol only and getting further message while check that Target unit and source unit for key figure Order quantity are different.
    Best Regards,
    dushyant.

  • Can we add fields from structure while enhancing datasource

    Hello all,
    I am trying to enhance a SAP delivered datasource. Is it possible to add fields from a logical database structure or do we have to add fields only from a table.
    Is the procedure the same.
    Thanks a lot

    hi KM,
    you want to drop all the added fields or some ?
    go to the extract structure screen,
    rsa2->type in your datasource name, double click the
    extraction structure, to delete some fields, click append structure, in next screen mark the fields and sign '-'.
    to delete the append structure, check this
    How to delete append structure
    Delete append structure with a long name
    hope this helps.

  • Unable to add field from structure maintanace opt for datasource(LBWE BI 7)

    Hi,
    while i try to add extra field (transaction:LBWE for data source(ex 2lis_02_itm)) from structure maintance option to add field from structure(MCEKKO) to res data source(MC02M_0ITM) , than it moves to left side but when make enter message comes that it will not populated in extrect structure(i.e in MC02M_0ITM OR RSA2),
    but when we try to add extra field other than with that structure maintanace form append structure option from that structure MC02M_0ITM than it comes in that structure MC02M_0ITM and also can see in RSA2.
    Than how can we use that structure maintanace option avialble for the res. data source in LBWE?
    Best regards,
    dushyant.

    It solved automaticaly,
    yes later i got that error entry still exit whic solved by deleting setup table and than try,
    thanks.
    one another problem: when i try to activate 0order_quan key figure for cube 0pur_c01 for data source 2lis_02_itm at update rulen by assignig source field for that key figure , i am unable to activate - its remain in warning symbol only and getting further message while check that Target unit and source unit for key figure Order quantity are different.
    Best Regards,
    dushyant.

  • Cant add field from structure maintanace option for  datasource(LBWE BI 7)

    Hi,
    while i try to add extra field (transaction:LBWE for data source(ex 2lis_02_itm)) from structure maintance option to add field from structure(MCEKKO) to res data source(MC02M_0ITM) , than it moves to left side but when make enter message comes that it will not populated in extrect structure(i.e in MC02M_0ITM OR RSA2),
    but when we try to add extra field other than with that structure maintanace form append structure option from that structure MC02M_0ITM than it comes in that structure MC02M_0ITM and also can see in RSA2.
    Than how can we use that structure maintanace option avialble for the res. data source in LBWE?
    Best regards,
    dushyant.

    It solved automaticaly,
    yes later i got that error entry still exit whic solved by deleting setup table and than try,
    thanks.
    one another problem: when i try to activate 0order_quan key figure for cube 0pur_c01 for data source 2lis_02_itm at update rulen by assignig source field for that key figure , i am unable to activate - its remain in warning symbol only and getting further message while check that Target unit and source unit for key figure Order quantity are different.
    Best Regards,
    dushyant.

  • Add fields from tab2 to tab1

    hallow
    i have two internal tables with same type fields and i wont to add fields of table 2
    to table 1 what is the best way to do that?
    <b>i reward</b>
    ex.
    itab1
    a1 a2 a3 a4 a5
    1   2   3  4   5
    itab 2
    b1  b2  b3  b4  b5 
    6    7    8    9  10
    i wont in itab 1
    <b>a1  a2  a3  a4  a5
    7   9    11   13  15 <---a1+b1 in field a1 in itab 1</b>
    Regards

    Hi..
    <b>Try this ...</b> This can be better bcoz we are using the FIELD SYMBOLS so it will calucate the Sum for all the fields irrespective of how many are there.
    Note: ADD-CORRESPONDING can be used only if the Fieldnames are same.
    Field-symbols: <FS1> LIKE LINE OF ITAB1.
    Field-symbols: <FS2> LIKE LINE OF ITAB1.
    Field-symbols: <FS_FIELD1> TYPE ANY.
    Field-symbols: <FS_FIELD2> TYPE ANY.
    LOOP AT ITAB1 ASSIGNING <FS1>.
      V_TABIX = SY-TABIX.
      READ TABLE ITAB2 assigning <FS2> INDEX V_TABIX.
               DO .
                  ASSIGN-COMPONENT SY-INDEX OF <FS2> TO <FS_FIELD2>.
                 IF SY-SUBRC NE 0.
                    EXIT.
                 ENDIF.
                  ASSIGN-COMPONENT SY-INDEX OF <FS1> TO <FS_FIELD1>.
                  IF SY-SUBRC NE 0.
                   EXIT.
                  ENDIF.
                             ADD <FS_FIELD2> <TO <FS_FIELD1>. 
                 ENDDO.   
    ENDLOOP.
    <b>Reward if Helpful</b>

  • Modifying Masthead - Add fields from Infotypes

    Hi ,
    I need to make some changes on welcome message, in portal.
    I already identify the par file that i need to change (com.sap.portal.navigation.masthead), and the JSP file (HeaderiView.jsp).
    The questions are:
    1- How can i add some fields to the welcome message, with information from Infotypes (R/3)? Can i "control" the connection to the R/3 in this HeaderiView.jsp?
    2- Can i acess to the code of "com.sapportals.portal.prt.session.IUserContext", that is imported in HeaderiView.jsp, in order to know which methods this class has and use them?
    Thanks in advance,
    Regards

    Hi Louis,
    I am afraid your solution will effect the response time and it can create lot of issues. The Masthead will be loaded in the first call, and if you are trying to access the R3 during this your response time will be very high. Another thing is any problem in your R3 side(like network failure, R3 down time etc) will cause your Masthead code to crash, It can even stop the user from logging off, and will not be a very pleasant situation. You may need to rethink your solution.
    As far as adding custom fields are concerned, you can always do that. Why you need to do it through the IUserContext i couldn't make out. Its a jsp file and you can put whatever you feel like !!.
    regards
    Prashant

  • Urgent: Add field in generic data source

    Hi,
    Could anyone please help me out in resolving the issue to add field from different table in generic datasource.
    How can I add it in R/3 data source when a function module was created in ABAP to generate fields from PLPO table?
    Whatz the changes has to be done at BW side to map the added field?
    <u>Requirement</u>
    1) Need one more field in the extractor. Field name is PLAS-LOEKZ. Initially client wanted me to add PLPO-LOEKZ which I added, now he needs the same fields from both the table (PLAS and PLPO).
    2)The name of the extractor/structure is ZBW_ROUTINGS_OPERATION
    3)Now, we need to add this field (LOEKZ from PLAS) in the function module as well. FM name is: Z_BW_ROUTE_OPERATION_EXTRACTOR. This will be in a SELECT query. We need to add this field in the SELECT statement.
    Testing will be done in following steps
    1)     Go to Transaction RSA3.
    2)     Enter the data source “Z_BW_OPERATION_ATTR”(not sure about the name though, but it should end with OPERATION_ATTR)
    3)     Enter the following details:
    EXTTY – I
    PLNNR – 50000032
    PLNTY – N
    4)     Now execute (F8) the transaction.
    5)     Click on “Display List”
    6)     In the output, we should be able to see these 2 columns(PLAS-LOEKZ) and (PLPO-LOEKZ)
    Please send your valuable suggestions to resolve the issue ASAP as its damn urgent.

    Hi,
    Here is an overview of the solution -
    Use T.Code SE11> ZBW_ROUTINGS_OPERATION. Add your new field (PLAS-LOEKZ) to this table, check, save, activate. Edit your function module, SE37> Z_BW_ROUTE_OPERATION_EXTRACTOR and add your code to look up the correct value of this field LOEKZ from the table PLAS, check, save, activate. (Note that SAP provides a sample function module you can use as a template and customize for your requirements. This sample function module is RSAX_BIW_GET_DATA_SIMPLE.)
    Your Generic DataSource Z_BW_OPERATION_ATTR  is already created, you don’t have to change any settings here. Just regenerate it in RSO2. Now test the extraction for the DataSource in RSA3.
    Hope this helps
    Sandeep

  • Adding fields from KOMK structure to screen painter.

    Hello Everyone,
    i have created an Extra tab(like ADDITIONAL DATA B) using BADI, i have added fields from VBAP table, its working fine. But when i add fields from KOMK structure(KOMK-STCEG) only empty field is showing. Do i need to code something in PBO or PAI?
    Thanks & Regards,
    NarsiReddy Cheruku.

    Hello NarsiReddy,
    I assume that you have linked the field KOMK-STCEG using "Get from Dictionary" option from your above screenshot.
    In PBO section, make sure to write the logic to update the value in the field. The logic which you would build, would be based on your requirement. For instance, you can use BELNR to check and its corresponding STCEG could be found in the structure KOMK.
    But if the KOMK structure itself is not filled with any value, then there is some problem with your code. Try to check your BADI and its corresponding structures which would get updated at runtime and use them appropriately.
    Thank you.
    Regards,
    Naresh

  • How to Add fields in dynamic selection LDB BRF

    Hi All,
    I have requirement to add a field BSEG-ZLSCH in Logical Database BRF dynamic selection.
    I have tried doing the same by using below mentioned link but its not appearing in the report dynamic selection screen
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e0039a-0d79-2c10-0aaf-9f6c062c0ffb?quicklink=index&overridelayout=true
    Could you please help me a Legal change delivery is pending due to this issue.
    Thanks and best regards,
    Niteesh Rai

    Dear Niteesh,
    The Logical Data Base BRF reads table BKPF and BSEG, but there is no
    option to include fields from BSEG in the dynamic selection.
    You can display all the tables included in BRF, but only fields from
    BKPF could be included in the dynamic selection. You cannot add
    entries from BSEG, BSET, KNB1, KNBK, and so on that are listed here.
    You are right, there is not note that explains this behaviour, but I
    inform you what is the system design. This has been confirmed by my
    Development colleagues.
    Regarding to note 832997, this is valid for releases 500 and 600 when
    New G/L is available. The system functionality has been enhanced in
    release 500 so you can add fields from FAGLFREESEL that is similar
    to BSEG with New G/L.
    BR, Hana

  • Auto-filling proceeding fields from user's initial input - Possible? How?

    Hi there,
    I'm quite new to LiveCycle (and scripting). That being said, I'm trying to create some automation in forms for work.
    I've been asked to create a product order form in which the Order Administrator would choose the product from a list of Product Codes. Once s/he chooses the Product Code [numeric field] from this list, the Product Description [text field] appears right next to it, and then the Product Price [numeric field] would populate the last field. I will duplicate this over multiple rows into a table, then autosum the last column which should be filled with various product prices, taxes, S&H, etc. (autosumming the Price field is easy enough - this is not my issue so let's just focus on the major concern of auto-filling descriptions and prices for now...)
    For e.g.
    Product Code
    Description
    Price
    6759-85746-098 [Order Admin chooses from list]
    Large textbook (x1) [Automatically inputs based on Product Code]
    $30.00 [Auto-inputs from Product Code]
    5864-98723-124  
    Black pens (x10/set)
    $5.25
    I've tried for days to figure out how to script this, going through numerous forums, printing off reams of Adobe help documents, trying to learn Java and/or FormCalc in solitude, and yet I still can't figure this out. To explain, I'm not a coder/developer but a print-focused graphic designer.
    If anyone knows how I can solve this I'd be very grateful. I'm now wondering if a) I need to somehow connect (bind?) the information in an external database or sheet (Excel?), b) figure out some elaborate script that would automate these descriptions and prices, and/or c) bang my head against the wall in fruitless frustration.
    Thanks for any help anyone can offer.

    A simple example.  May not meet your needs depending on the number of products.
    Droplist named ProductCode
    Text Fields named Description and Price
    Java Script the droplist on the change event
    if (xfa.event.newText=="5864-98723-124")
    {Description.rawValue="Black Pens"
    Price.rawValue="$5.25"

  • CNMASS - Ability to apply custom fields from structure CI_PROJ

    Hi,
    Is there a way to add fields from the Customer Enhancment tab in structures CI_PROJ, CI_PRPS to CNAMSS transaction?
    thanks,
    Cathy

    Hi,
    I have the same problem. I want to change a customer field (from structure CI_PROJ) via trx CNMASS. But the fields of structure CI_PROJ are not provided.
    Is there a standard possibility to extend the table CNMASS_PROJECT_DEFINITION with the structure CI_PROJ? I donu2019t want to modify the SAP table CNMASS_PROJECT_DEFINITION.
    Of course I know that I can write a program ore use trx LSMW but I'm looking for a more suitable and comfortable solution.
    @Cathy: did you find a solution in standard?
    Thanks in advance for any hint!

  • I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    Hi Arun ,
    Can you explain little bit more ??
    what is account doc no? 
    what are the transactions should be displayed in your output??
    -Rajesh N

  • ABAP Query: add field on layout based on Company code

    Hello Experts,
    I currently working on ABAP Query report  for asset master issues and would like one more field added to layout for Company code XXXX . Is it possible to add fields to this layout based on company code .
    Thanks in Advance
    Nupur

    Hello Andreas,
    I'm asking is that possible to change ABAP Query report layout based on Company code.
    For Instance:
    Company code :1111
    Layout should : A B C D E F
    other than 1111.
    layout should : A X Y Z F
    My scenario is :
    ABAP Query is working fine but users from UK wants some more fields on the layout but rest of the country users other than UK, they don't want such changes.
    Regards,
    nupur

Maybe you are looking for

  • ALV Report in background

    Hi All,          I have developed a zreport using reuse_alv_list_display. But due to performance reasons as it is fetching data from BSEG table, is very slow. So it is decided that this report will be executed in back ground. But after executing in b

  • About BBPUPDVD and BBPMAININT

    Hello people, I think I have a basic question for you... I have may vendors defined in R3 in some Purchasing Organizations. And I have to transfer this information to EBP. I know I can use BBPUPDVD to update the vendors catalog in EBP from R3. If thi

  • Application for a user to cap data usage?

    Why do none of the 'smart' phones come with an application to cap data usage....? If you are pay as you go, the networks know when to cut you off, it is around the time your prepaid amount hits zero. So why cannot a user state yes I would like the ab

  • Keyboard shortcut for disclosure triangle?

    Hi All, Is there a keyboard shortcut to open and close disclosure triangles in Aperture? Sometimes, and I don't know why, Aperture will recursively open a folder in my library pane. I'd like to be able to close them all again with keystrokes instead

  • Crash when adding second video to timeline

    Good evening, i started to use Imovie for Ipad. when I add videos to the timeline, i can add one, from videos folder, when i add the second it crashes. have to reopen app, find again the video, add it, then crash again... is a super time waister and