ME32K: update scaling thru ABAP

Hi Friends,
In Tcode ME32K, in pricing condition type, scale(check box) is there. i want to update the scale through enhancement. Is there any FM or Bapi.
Thanks in advance,
vallamuthu.M
Moderator message: please do some research before asking.
Edited by: Thomas Zloch on Mar 8, 2011 9:56 AM

Hi,
Tricky question. However, the answer to your question if its feasible to create an ABAP Program to do manipulation of the cube's table is not an option. Its a risky business tampering these tables...
What you should do is to create a <i>New Cube</i> having an exact replica of your <i>Current Cube</i> and add the new field you want.
Now, create an Export Data Source from the <i>Current Cube</i>.
Create an update rule for the <i>New Cube</i> assigning the <i>Current Cube</i> as the data source. Code your logic on the <i>Start Routine</i>.
Run it and after a successful run, you can now delete the   "Current Cube". Opps, there maybe reports attached to the "Current Cube" as well as Multi Provider. You have to check them out first...
Hope I have helped, if i did, please grant me points...
--Jkyle

Similar Messages

  • I have iTunes open in Windows XP and get an error 45048 message when I try to update apps thru the store. How can I fix this? I have reinstalled iTunes twice.

    I have iTunes, latest version, open in Windows XP and get an error 45048 message when I try to update apps thru the store. How can I fix this? I have reinstalled iTunes twice but problem continues.

    Try contacting iTunes via email to check if there is an issue with the account. go to apple.com/support/itunes
    Click on iTunes Store account and billing and select inquiries. On the right side click on "email us".
    Before doing that trying viewing your account information first. Open the iTunes on you mac, look at the menu and select store and select view my account. Try removing the card (this is only applicable if you don't have a pending charges with iTunes) and hit done. Sign out, quit iTunes and sign back in and try updating the apps again.

  • After updating to iOS 6.1.2, neither my iPhone or iPad will update apps thru App Store. Any suggestions?

    After updating to iOS 6.1.2, neither my iPhone or iPad will update apps thru App Store. Any suggestions?

    What happens when you try?
    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • How to create a job thru ABAP program for calling a program with variant???

    Hello experts,
    can u give me step wise procedure to create jobs for  a program with a variant name thru ABAP???
    Also, can a transaction can be scheduled as a job to run in background with a variant name???
    Edited by: SAP USER on Jul 22, 2008 6:08 AM

    Hi,
    To create a job through ABAP program you can do the following.
    Go to Menu bar.
    In there, go to   SYTSTEM> SERVICES> JOBS--> DEFINE JOB.
    Then give the JOB NAME and CLASS in the screen that comes up.
    This is how we schedule a program.
    Now, to create a variant for a program -
    First activate your program in SE38. Then execute it .
    Now, click on SAVE button. It will open up  the variant creation screen. Give the details there like variant name and value for the fields. Save and come back.
    Hope this helps.
    Regards,
    Hari Kiran

  • How to read a mail from sap inbox thru abap code?

    how to read a mail from sap INBOX thru abap code? can anyone tell me the technical approach? I NEED TO READ A MAIL and then need to pass the parameters to a bapi.
    Message was edited by:
            shahid mohammed syed

    Hi SSM,
    Did you manage to have your program working? I also have same requirement. I tried standard FM and BAPI but I always encounter authorization error when I tried accessing other user's mail. Thanks.
    Regards,
    Ryan

  • Java 6 updates 22 thru 24 does not allow ASP Remote Scripting calls

    The Java 6 update 22 thru 24 all prevent ASP Remote Scripting from working correctly, causing applications using Remote Scripting via the standardized rs.htm code to fail. This is well documented with examples at the Java Forums page http://www.java-forums.org/new-java/36522-java-jre-6-update-21-22-rs-problem.html
    To date I have not been able to find anything that indicates Oracle is aware of this problem and is trying to fix it. If there is a fix, please contact me with it immediately!

    876886 wrote:
    Is there any update on this?
    is it fixed?Whats stopping you from installing update 26 and trying it out? Or did you think that this is an Oracle technical support forum where actual Oracle employees post?
    Note that if nobody bothered to create a bug report for this problem (because I see no evidence of that in either forum) then the answer is likely no.

  • Spool to Excel or Text Conversion thru ABAP

    Dear All,
    Is it possible to convert a spool into Excel file or Text Format thru ABAP?

    Hi!
    The function modules CONVERT_ABAPSPOOLJOB_2_PDF, CONVERT_OTFSPOOLJOB_2_PDF are converting spool to PDF.
    HTH
    Peter

  • Create CRM customer/account hierarchy node thru abap code

    Hi,
    Any one can help me on how to Create CRM customer/account hierarchy node thru abap code?
    Is there any Class/methods, FMs that I can use to create node in customer/account hierarchy?
    Sample codes will greatly help me.
    I hope someone can help me on this since this is my urgent requirements on my project.
    Thanks,
    james

    James,
    You can find the FM, Class Lib and APIs under the package BUPA_HIERARCHY.

  • I bought creative suite production 6 2 years ago. On 12/24 I guess an update came thru and screwed my program all up. Its trying to make we buy to go into the cloud. I'm happy with what I have, I don't went to go into the cloud. I truely feel like Im bein

    I bought creative suite production 6 2 years ago. On 12/24 I guess an update came thru and screwed my program all up. Its trying to make we buy to go into the cloud. I'm happy with what I have, I don't went to go into the cloud. I truely feel like Im being ripped off being forced to move into the cloud'

    uninstall, clean and reinstall per, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • WITH_ITEM table not updated properly thru BAPI_ACC_INVOICE_RECEIPT_POST

    Hi experts!!
    I am using BAPI_ACC_INVOICE_RECEIPT_POST to post a document. When I post a document through the t-code FB01 or F-43, it's being posted by even updating the table WITH_ITEM. When I post through BAPI_ACC_INVOICE_RECEIPT_POST, it's posting document and updating WITH_ITEM table also, but the values being updated are wrong. Below is a brief explanation on my problem:
    When I give VAT entry, then QSSHB in BSEG will be the result after the VAT is deducted (DMBTR of the header entry subtracted DMBTR under VAT entry). And the same value will also be updated in WITH_ITEM field WT_QSSHB.
    When I use this bapi, it is not being calculated bu the same DMBTR under header entry is coming as WT_QSSHB, which is wrong.
    The way to solve this is to calculate by some logic, but I am not sure whether this is the correct way to approach. I couldn't find any calculation done in standard FB01, though I debugged it.
    Can anyone help me out? Or any other bapi which meets my requirement will also be so helpful.
    Thanks a lot.
    Edited by: abapdev on Jun 1, 2009 10:38 AM

    Hi,
          once the document posted thru bapi, check with fb03 whether a new line item is created for with holding tax.  And check the tax amount is deducted from vendor line item.
    Regards,
    Ravi.

  • "In Update Task" for ABAP OO

    Hi All,
    is there a simular function for methods like for function modules to call something "IN UPDATE TASK"?
    My problem is that I want to call a method out of the User Interface which is then executed in a separate process (in background), that the user on the UI do not have to wait until the processing is finished.
    How do I achieve this. Is it only possible with function modules which I call "IN UPDATE TASK" or does something like this exists also in the abap oo world.
    Thx,
    Hans.

    Hello Hans,
    My problem is that I want to call a method out of the User Interface which is then executed in a separate process (in background), that the user on the UI do not have to wait until the processing is finished
    Which version of SAP are you on? I can speak of Release 701 & i don't think you've OO methods which can be used for performing the desired functionality.
    You can ofcourse create a wrapper method enclosing the update function module!
    Cheers,
    Suhas

  • Update Rules in ABAP to consolidate two InfoSources into one ODS?

    Hello experts,
    I want to solve the following problem with ABAP update rules (I am a novice in ABAP):
    In an Oracle DB I have two tables TRANSACTIONS and PARTICIPANTS with an 1:n relationship:
    One or many PARTICIPANTS can be assigned to one TRANSACTIONS and
    one TRANSACTION can be assigned to one PARTICIPANT.
    I want an ODS that contains TRANSACTIONS with the number of male and female PARTICIPANTS of each transaction.
    So I created two InfoSources each representing one of the above tables:
    IO_TRANSACTION with COMM_STRUCTURE:
    TRANS_ID
    TRANS_DATE
    TRANS_STATE
    IO_PARTICIPANT with COMM_STRUCTURE:
    PARTIC_ID
    PARTIC_TYPE (1=male and 2=female)
    TRANS_ID
    Now I want to consolidate all male participants into the data field PARTIC_M
    and all female participants into the data field PARTIC_F of the following ODS:
    Key fields:
    TRANS_ID
    TRANS_DATE
    TRANS_STATE
    Data fields:
    PARTIC_M (number of male participants)
    PARTIC_F (number of female participants)
    I tried it with the following lines of ABAB Code in the ABAP routine
    for the datafield PARTIC_M:
    IF COMM_STRUCTURE-/BIC/PARTIC_TYPE = 1.   " 1 is the value for  "male"
       RESULT = 1.
    ELSE.
       RESULT = 0.
    ENDIF.
    But after loading both InfoSources into the ODS the fields PARTIC_M and PARTIC_F are empty!!
    Do I have to do some kind of joint in a start routine in order to connect Participant Information with a specific transaction?? How?
    Thanks a lot
    Of course, solutions will be rewarded
    Axel

    Hi Venkat,
    Thanks for the hint with the common key fields.
    My problem is, that both tables have only the field TRANS_ID in common.
    So when I update TRANSACTIONS with the three Key fields TRANS_ID, TRANS_DATE and TRANS_STATE
    and PARTICIPANTS with the Key field TRANS_ID into the ODS I get data like this:
    TRANS_ID, TRANS_DATE, TRANS_STATE, PARTIC_M, PARTIC_F
    TR01                                                                        1              1
    TR02                                                                        0              3
    But I also need the fields TRANS_DATE, TRANS_STATE to be filld with data!
    any suggestions?
    Axel

  • Sending mail thru ABAP pgm

    Hi experts,
    Can any body tell me what settings need to be done in SAP System while sending an email thru an ABAP pgm.
    Regards

    HI,
    *& Report  ZLAXMI_ALVMAIL2                                             *
    REPORT  ZLAXMI_ALVMAIL2   MESSAGE-ID ZZ       .
    TABLES: MARA, MAKT.
    DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
    DATA: OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
    DATA: OBJBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    *DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
    DATA: DOC_CHNG LIKE SODOCCHGI1.
    DATA: TAB_LINES LIKE SY-TABIX.
    *creation of document to be sent.
    DOC_CHNG-OBJ_NAME = 'Mailing List'.
    DOC_CHNG-OBJ_DESCR = 'Materials report'.
    *type declarations
    *To store material data
    TYPES: BEGIN OF T_MARA,
            MATNR TYPE MARA-MATNR,
            PSTAT TYPE MARA-PSTAT,
            MTART TYPE MARA-MTART,
            MBRSH TYPE MARA-MBRSH,
            MEINS TYPE MARA-MEINS,
          END OF T_MARA.
    *--To store Material Description
    TYPES: BEGIN OF T_MAKT,
             MATNR TYPE MAKT-MATNR,            " Material Number
             MAKTX TYPE MAKT-MAKTX,            " Material Description
           END OF T_MAKT.
    TYPES: BEGIN OF T_FINAL,
            MATNR TYPE MARA-MATNR,
            MAKTX TYPE MAKT-MAKTX,
            PSTAT TYPE MARA-PSTAT,
            MTART TYPE MARA-MTART,
            MBRSH TYPE MARA-MBRSH,
            MEINS TYPE MARA-MEINS,
           END OF T_FINAL.
    *Internal table declarations.
    *--Internal Table to store Material Description
    DATA: IT_MAKT TYPE STANDARD TABLE OF T_MAKT,
    *--Internal Table to store Material details
          IT_MARA TYPE STANDARD TABLE OF T_MARA,
          IT_OBJTXT TYPE STANDARD TABLE OF SOLISTI1 ,    "object text
          IT_OBJPACK TYPE STANDARD TABLE OF SOPCKLSTI1 ,
                                                   " attachment table
          IT_OBJBIN TYPE STANDARD TABLE OF SOLISTI1  ,
                                                   " binary table
          IT_OBJHEAD TYPE STANDARD TABLE OF SOLISTI1  ,
                                                   " object header table
    *--Internal Table to hold Final records to download/display
          IT_FINAL TYPE STANDARD TABLE OF T_FINAL.
    DATA: IT_RECLIST TYPE STANDARD TABLE OF SOMLRECI1. "Workarea for internal table
    DATA:  X_MAKT  TYPE T_MAKT,         "Work area for IT_MAKT
           X_MARA  TYPE T_MARA,         "Work area for IT_MARA
           X_FINAL TYPE T_FINAL,       "Work area for IT_FINAL
           V_TEXT(255) TYPE C.
    *--Work area for all the internal tables used
    DATA :    WA_OBJPACK TYPE SOPCKLSTI1,
              WA_OBJHEAD TYPE SOLISTI1  ,
              WA_OBJBIN TYPE SOLISTI1   ,
              WA_OBJTXT TYPE SOLISTI1   ,
              WA_RECLIST TYPE SOMLRECI1 .
    CONSTANTS: C_TAB  TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
    *selection screen.
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_MATNR FOR MARA-MATNR.
    SELECTION-SCREEN: END OF BLOCK B1.
    *at selection screen.
    *AT SELECTION-SCREEN.
    PERFORM VALIDATE_SCREEN.
    *start of selection.
    START-OF-SELECTION.
      PERFORM GET_MARA_DETAILS.
      PERFORM GET_MAKT_DETAILS.
      PERFORM FINAL_DATA.
    *end of selection
    END-OF-SELECTION.
      PERFORM SEND_MAIL_DATA.
      PERFORM DISPLAY_DATA.
    *&      Form  validate_screen
          text
    -->  p1        text
    <--  p2        text
    *FORM VALIDATE_SCREEN .
    DATA: LV_MATNR TYPE MARA-MATNR.
    IF NOT S_MATNR[] IS INITIAL.
       SELECT MATNR INTO
             LV_MATNR
             UP TO 1 ROWS
             FROM MARA
             WHERE MATNR IN S_MATNR.
       ENDSELECT.
    ENDIF.
    IF SY-SUBRC <> 0.
       MESSAGE E000 WITH 'Invalid material'.
    ENDIF.
    *ENDFORM.                    " validate_screen
    *&      Form  get_mara_details
          text
    -->  p1        text
    <--  p2        text
    FORM GET_MARA_DETAILS .
      SELECT MATNR
             PSTAT
             MTART
             MBRSH
             MEINS
             INTO TABLE IT_MARA
             FROM
             MARA WHERE
              MATNR IN S_MATNR.
      IF SY-SUBRC <> 0.
        MESSAGE I000 WITH 'No doc found'.
      ENDIF.
      SORT IT_MARA BY MATNR.
      DELETE ADJACENT DUPLICATES FROM IT_MARA COMPARING MATNR.
    ENDFORM.                    " get_mara_details
    *&      Form  get_makt_details
          text
    -->  p1        text
    <--  p2        text
    FORM GET_MAKT_DETAILS .
      SELECT MATNR
             MAKTX
           FROM MAKT
           INTO TABLE IT_MAKT
           FOR ALL ENTRIES IN IT_MARA
           WHERE MATNR = IT_MARA-MATNR AND
                 SPRAS = SY-LANGU.
    ENDFORM.                    " get_makt_details
    *&      Form  final_data
          text
    -->  p1        text
    <--  p2        text
    FORM FINAL_DATA .
      LOOP AT IT_MARA INTO X_MARA.
        CLEAR X_FINAL.
        READ TABLE IT_MAKT INTO X_MAKT WITH KEY MATNR = X_MARA-MATNR.
        IF SY-SUBRC = 0.
          X_FINAL-MAKTX = X_MAKT-MAKTX.
        ENDIF.
        X_FINAL-MATNR = X_MARA-MATNR.
        X_FINAL-PSTAT = X_MARA-PSTAT.
        X_FINAL-MTART = X_MARA-MTART.
        X_FINAL-MBRSH = X_MARA-MBRSH.
        X_FINAL-MEINS = X_MARA-MEINS.
        APPEND X_FINAL TO IT_FINAL.
      ENDLOOP.
    ENDFORM.                    " final_data
    *&      Form  send_mail_data
          text
    -->  p1        text
    <--  p2        text
    FORM SEND_MAIL_DATA .
      WA_RECLIST-REC_TYPE = 'B'.
      WA_RECLIST-EXPRESS  = 'X'.
      WA_RECLIST-RECEIVER = 'DEV02'.
      APPEND WA_RECLIST TO IT_RECLIST.
      CONCATENATE 'MATERIAL DATA'(021)
                 SY-DATUM INTO DOC_CHNG-OBJ_DESCR SEPARATED BY SPACE.
    *--Mail body
      CONCATENATE 'MATERIAL DESCRIPTION'(022) 'ATTACHMENT' INTO WA_OBJTXT SEPARATED BY SPACE.
      APPEND WA_OBJTXT TO IT_OBJTXT.
      DESCRIBE TABLE IT_OBJTXT LINES TAB_LINES.
      READ TABLE IT_OBJTXT INTO WA_OBJTXT INDEX TAB_LINES .
      DOC_CHNG-DOC_SIZE =
                     ( TAB_LINES - 1 ) * 255 + STRLEN( WA_OBJTXT ).
    *-populate packing list for body text
      WA_OBJPACK-HEAD_START = 1.
      WA_OBJPACK-HEAD_NUM = 0.
      WA_OBJPACK-BODY_START = 1.
      WA_OBJPACK-BODY_NUM = TAB_LINES.
      WA_OBJPACK-DOC_TYPE = 'RAW'.
      APPEND WA_OBJPACK TO IT_OBJPACK.
      CLEAR WA_OBJPACK.
    *--for attachment
    *--Populate Column headings
      CONCATENATE TEXT-040   " Material Number
                  TEXT-041   " Material Description
                  TEXT-042   " Maintenence status
                  TEXT-043   " Material type
                  TEXT-044   " Industry sector
                  TEXT-045   " Base unit of measure
                  INTO V_TEXT SEPARATED BY C_TAB.
    CONCATENATE V_TEXT
                 C_CR_LF
                 INTO V_TEXT.
      WA_OBJBIN = V_TEXT.
      APPEND WA_OBJBIN TO IT_OBJBIN.
      CLEAR  WA_OBJBIN.
    *--Populate Data to the attachment
      LOOP AT IT_FINAL INTO X_FINAL.
        CONCATENATE X_FINAL-MATNR
                    X_FINAL-MAKTX
                    X_FINAL-PSTAT
                    X_FINAL-MTART
                    X_FINAL-MBRSH
                    X_FINAL-MEINS
                   INTO V_TEXT SEPARATED BY C_TAB.
    *--Go to next line after this record.
       CONCATENATE V_TEXT
                   C_CR_LF
                   INTO V_TEXT.
        WA_OBJBIN = V_TEXT.
        APPEND WA_OBJBIN TO IT_OBJBIN.
        CLEAR  WA_OBJBIN.
      ENDLOOP.
    CLEAR : TAB_LINES.
      DESCRIBE TABLE IT_OBJBIN LINES TAB_LINES.
    *1ST ATTACHMENT :  MAT 5000 PLANT
    *2ND ATT        : MAT 5010 PLANTS
      SORT IT_FINAL BY MEINS.
      DATA : V_BEGIN TYPE SY-TABIX,
             V_END   TYPE SY-TABIX.
      LOOP AT IT_FINAL INTO X_FINAL.
        AT END OF MEINS.
          IF V_BEGIN IS INITIAL.
            V_BEGIN = 1.
          ELSE.
            V_BEGIN = V_END + 1.
          ENDIF.
          V_END = SY-TABIX.
          WA_OBJPACK-TRANSF_BIN = 'X'.
          WA_OBJPACK-HEAD_START = 1.
          WA_OBJPACK-HEAD_NUM = 1.
          WA_OBJPACK-BODY_START = V_BEGIN.
          WA_OBJPACK-BODY_NUM = V_END.
          WA_OBJPACK-DOC_TYPE = 'RAW' .
          WA_OBJPACK-OBJ_NAME = 'MATERIAL'.
          WA_OBJPACK-OBJ_DESCR = 'attachment'.
          WA_OBJPACK-DOC_SIZE = TAB_LINES * 255.
          APPEND WA_OBJPACK TO IT_OBJPACK.
        ENDAT.
      ENDLOOP.
    *-populate object header(attachment name)
      WA_OBJHEAD = 'MATERIAL DETAILS'.
      APPEND WA_OBJHEAD TO IT_OBJHEAD.
      CLEAR  WA_OBJHEAD.
    *-packing list for attachment
      WA_OBJPACK-TRANSF_BIN = 'X'.
      WA_OBJPACK-HEAD_START = 1.
      WA_OBJPACK-HEAD_NUM = 1.
      WA_OBJPACK-BODY_START = 1.
      WA_OBJPACK-BODY_NUM = TAB_LINES .
      WA_OBJPACK-DOC_TYPE = 'RAW' .
      WA_OBJPACK-OBJ_NAME = 'MATERIAL'.
      WA_OBJPACK-OBJ_DESCR = 'ATTACHMENT DESCRIPTION'.
      WA_OBJPACK-DOC_SIZE = TAB_LINES * 255.
      APPEND WA_OBJPACK TO IT_OBJPACK.
      CLEAR  WA_OBJPACK.
    *-Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = DOC_CHNG
          PUT_IN_OUTBOX              = 'X'
          COMMIT_WORK                = 'X'
        TABLES
          PACKING_LIST               = IT_OBJPACK
          OBJECT_HEADER              = IT_OBJHEAD
          CONTENTS_BIN               = IT_OBJBIN
          CONTENTS_TXT               = IT_OBJTXT
          RECEIVERS                  = IT_RECLIST
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          DOCUMENT_TYPE_NOT_EXIST    = 3
          OPERATION_NO_AUTHORIZATION = 4
          PARAMETER_ERROR            = 5
          X_ERROR                    = 6
          ENQUEUE_ERROR              = 7
          OTHERS                     = 8.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'Error occurred in sending mail'(039).
      ELSE.
        MESSAGE I000 WITH 'Mail sent'(010).
      ENDIF.
    ENDFORM.                    " send_mail_data
    *&      Form  DISPLAY_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM DISPLAY_DATA .
      WRITE :/ SY-ULINE.
      WRITE:/1 SY-VLINE,
              2 'Material No'(024),
             19 SY-VLINE,
             20 'Material Description'(025),
             61 SY-VLINE,
             62 'Maintainence Status'(026),
             71 SY-VLINE,
             72 'Material type'(027),
             89 SY-VLINE,
             90 'Industry sector'(028),
             107 SY-VLINE,
             108 'Base unit of measure'(029),
             125 SY-VLINE.
      WRITE:/1 SY-VLINE,
             19 SY-VLINE,
             61 SY-VLINE,
             71 SY-VLINE,
             89 SY-VLINE,
             107 SY-VLINE,
             125 SY-VLINE.
      WRITE :/ SY-ULINE.
    ENDFORM.                    " DISPLAY_DATA
    Regards,
    Laxmi.

  • Transaction Update Error using ABAP Proxy

    Hi Experts,
    I am facing an issue using ABAP Proxy.
    File is coming from PI to SAP system and it will update the Transaction IE02 using this inbound ABAP Proxy. If records fails then a mail is going to concerned team.
    Issue:
    When File has been sent from PI to SAP through ABAP Prxoy, it shows that record has been updated in the Transaction IE02 but when I checked manually the record, it has not updated the same. But when I test the same record through my ABAP Prox, it updates the record and when I checked it, Reocrd hs been updated.
    Can anybody help me in this case?
    Regards
    Sachin

    Hi Anup,
    Can you please explain me for the same? If I need to put External Commit then how It is working when I running it manually
    Regards
    Sachin

  • Interface Programing thru ABAP

    Hi Abapers,
    I have created LLD for one interface, but do not know how to convert it to actual coding.  Please help me out in same.  please help me in atleast as much points in which you can.
    A) For standard price change:-
    A.1) Update the pricing date:-
         VBKD-PRSDT = tomorrow’s date.
    A.2) To update the price:-
      Part of standard function SD_BULK_CHANGE:-
    [  RV45C = DYNPRO_FIELDS.
      CASE FUNCTION.
          WHEN 'MPRF'.
          CLEAR FLAG.
          CLEAR NEW_VBELN.
          CLEAR PREISFINDUNG.
          till endform.
    1)     Select line within the new ZPRICE table
    Where           VBAK.VBELN = ZPRICE.VBELN (Contract #)
    VBAK.POSNR = ZPRICE.POSNR (Item#)
    2)     Compare net price (NETPR) for that line within the ZPRICE table to the calculated tomorrow’s price determined in step 1 above.  If price is the same do nothing.  If price has changed delete previous entry and make a new entry.  If no entry is found in the ZPRICE table for a specific contract and item combination make a new entry.  Populate the new entry using the following logic.
    &#61607;     ZPRICE.VBELN = VBAP.VBELN (Contract #)
    &#61607;     ZPRICE.POSNR = VBAP.POSNR (Item #)
    &#61607;     ZPRICE. WAERK = VBAP.WAERK (Document Currency)
    &#61607;     ZPRICE.NETPR = VBAP.NETPR (Net Price)
    &#61607;     ZPRICE.MEINS – VBAP.MEINS (Item base unite of measure)
    &#61607;     ZPRICE.DATAB = Tomorrow’s Date
    &#61607;     ZPRICE.ERDAT = Today’s Date
    3)     Select price condition records that were created today and have effective dates in the past
    Select      KONH.KNUMH (Condition record number)
         KONH.DATAB (Valid-From Date)
    Where      KONH.KVEWE = “A” (Usage = Pricing)
         KONH.KAPPL = “V” (Application = Sales/Distribution)
    KONH.ERDAT = Today’s Date (Created on date)
    KONH.DATAB < Today’s Date (Valid-From Date is in the past)
    4)     Select customer menu’s associated with the retroactive pricing condition record
    Select      VBAP.VBELN (Contract #)
         VBAP.POSNR (Item #)
    Where     KONV.KNUMH = KONH.KNUMH (Condition record number)
    VBAK.KNUMV = KONV.KNUMV (Document condition number)
    VBAK.AUART = “ZMNU” (Document Type)
    VBAP.POSNR = KONV.KPOSN (Item #)
    5)     Select net price for contract line item within the new ZPRICE table
    Select      ZPRICE.NETPR (Net Price)
    Where      VBAK.VBELN = ZPRICE.VBELN (Contract #)
    VBAK.POSNR = ZPRICE.POSNR (Item#)
    Determine and compare the net price of the contract line item for each previous day until the net price no longer equals the net price within the ZPRICE table.  When complete, Use Function from which is used step A
    6)     Within ZPRICE table change the effective date (ZPRICE.DATAB) to the last day the price equalled ZPRICE.NETPR.  In the above example the date would be 8/01/2006 since the price was different on 7/31/2006.
    7)     Select all customer menu and item combinations that are associated with each customer pricing contact that have an associated output condition record in table – B504 (Customer Pricing Contact – PARNR)
    Select           B504.PARNR (Contact #)
    VBPA.VBELN (Contract #),
    VBPA.POSNR (Item #)
    Where           VBPA.PARNR = B504.PARNR (Contact #)
              VBPA.PARVW = “Z8”
              VBAK.AUART = “ZMNU”
    Inner Join      VBAK.VBELN = VBPA.VBELN
    Contact #     Contract #     Item #
    50000     0040000010     10
    50002     0040000010     20
    50003     0040000021     10
    50005     0040000010     10
    50005     0040000021     20
    8)     Per pricing contact determine if the price has changed for any contract and item combination assigned to that pricing contact. If price has changed, then trigger price change notification for the pricing contact.
    &#61607;     If at least one of the pricing contact’s assigned contract and item combinations within the ZPRICE table has an entry date (ZPRICE.ERDAT) equal to today’s date trigger the output for this pricing contact.

    hi,
    dictionary interfaces: you define your interface with reference to dictionary objects (structures, ansd so on). If your form uses a dictionary interface you can use special types in your interface for texts (smartform or include texts), adresses, graphics, and so on...
    if you use an XML interface and create it by your own you can upload a xml file that represents your data file.
    XML Interfaces are created by the system if you create your form out of web dynpro abap (online scenario).
    To use tables and information out of your application without web dynpro i would recommend you to use ddic interfaces, web dynpro xml.
    Norbert

Maybe you are looking for

  • Inconsistent and incorrect file icons in finder window list view

    I have been seeing incorrect file icons in finder windows noteably for PDF files the last couple of weeks on my office MacMini running 10.5.8. Some just look messed up. Some switched and looked like Evernote files, but they open correctly in the defa

  • Automatic export to excel of a query

    Hi all, I have a query I must run on a daily basis and export the results to excel format them with a certain font and size and send it via email. Is there a way to automate all of this? Thanks

  • Can't save Verizon ringtones?

    I purchased a ringtone from the Verizon website.  They sent it to me in a text with an MP3 attached.  While I can play the MP3 I cannot find a way to save it to my phone to actually use it as a ringtone.  When I tap the file it takes me to a Zune-lik

  • Avoid showing of a canvas in TabNavigator while playing effect?

    Hello, I´m using the great distorsion effect of Alex Uhlmann (part of Tour de Flex) in a TabNavigator with Canvas containers. The effect works fine but while fireing the IndexChangedEvent by pressing a tabsheet for a blink of an eye the target-canvas

  • Trying to clientgen with generateAsyncMethods

    Hi, I have created a simple BEA web services with an asynchronous method and a callback. Now I want to create the stub for my java client. The doc says to use the "generateAsyncMethods" attribute in the clientgen task but client gen doesn't seem to k