Need help to check the code!

In my program its not giving data for any value of VBELN.What is the reason !
I am only getting one record between 3000 and 5000 ! What is wrong here!
REPORT YINTERACTIVEPROGRAM01.
TABLES:VBAP,
       VBPA,
       vbak,
       VBRP,
       VBRK,
       KNA1,
       ADRC,
       TPAR,
       TVKGG,
       TVM1T,
       TVM2T,
       TVM3T,
       TVM4T,
       VBKD,
       SZA1_D0100,
       TVLVT,
       T002,
       T178T.
Select-options S_VBELN for vbak-vbeln.
TYPES:BEGIN OF TY_TAB,
         VBELN LIKE VBAK-VBELN,
         VKORG LIKE VBAK-VKORG,
         ERDAT LIKE VBAK-ERDAT,
         AUGRU LIKE VBAK-AUGRU,
         BSTDK LIKE VBKD-BSTDK,
         BSTDK_E LIKE VBKD-BSTDK_E,
         spart like vbap-spart,
         kondm like vbap-kondm,
         waerk like vbap-waerk,
         netwr like vbap-netwr,
         kwmeng like vbap-kwmeng,
         vkaus like vbap-vkaus,
         land1 like vbpa-land1,
         nrart like tpar-nrart,
       vtext like tpar-vtext,
         parvw like tpar-parvw,
         name1 like adrc-name1,
         name2 like adrc-name2,
         name3 like adrc-name3,
         name4 like adrc-name4,
         ort01 like kna1-ort01,
         pstlz like kna1-pstlz,
         vtext like t178t-vtext,
         bezei1 like tvm1t-bezei,
         bezei2 like tvm2t-bezei,
         bezei3 like tvm3t-bezei,
         bezei4 like tvm4t-bezei,
         bezei5 like tvm5t-bezei,
         BEZEI like tvlvt-bezei,
         spras like t002-spras,
         laspez like t002-laspez,
     END  OF TY_TAB.
DATA: ITAB TYPE STANDARD TABLE OF TY_TAB WITH HEADER LINE.
*parameters:salesno like itab-vbeln.
select s1~vbeln
       s1~vkorg
       s1~erdat
       s1~augru
       k1~BSTDK
       k1~BSTDK_E
       p1~spart
       p1~kondm
       p1~waerk
       p1~netwr
       p1~kwmeng
       p1~vkaus
       r1~land1
       t1~nrart
      t1~vtext
       t1~parvw
       n1~name1
       n1~name2
       n1~name3
       n1~name4
       c1~ort01
       c1~pstlz
       x1~vtext
       t2~BEZEI
       b1~bezei
       b2~bezei
       b3~bezei
       b4~bezei
       b5~bezei
       t3~spras
       t3~laspez
into corresponding fields of table itab
from  vbak as s1
join  VBKD as k1
on   s1vbeln = k1VBELN
join vbap as p1
on   k1vbeln = p1vbeln
join t178t as x1
on   p1kondm = x1kondm
join vbpa as r1
on   p1vbeln = r1vbeln
join tpar as t1
on   r1parvw = t1parvw
join ADRC as n1
on   r1adrnr = n1addrnumber
join kna1 as c1
on   r1land1 = c1land1
join tvlvT as t2
on p1vkaus =  t2abrvw
join t002 as t3
on c1spras = t3spras
join tvm1t as b1
on c1spras = b1spras
AND p1mvgr1 = b1mvgr1
join tvm2t as b2
on c1spras = b2spras
AND p1mvgr2 = b2mvgr2
join tvm3t as b3
on c1spras = b3spras
AND p1mvgr3 = b3mvgr3
join tvm4t as b4
on c1spras = b4spras
AND p1mvgr4 = b4mvgr4
join tvm5t as b5
on c1spras = b5spras
AND p1mvgr5 = b5mvgr5
up to 10 rows
WHERE S1~VBELN IN S_VBELN.
loop AT ITAB.
  WRITE : /(30)'VBELN: ',  ITAB-VBELN,
          /(30)'VKORG: ',  ITAB-VKORG,
          /(30)'ERDAT: ',  ITAB-ERDAT,
          /(30)'AUGRU: ',  ITAB-AUGRU,
          /(30)'BSTDK: ',  ITAB-BSTDK,
          /(30)'BSTDK_E:', ITAB-BSTDK_E,
          /(30)'SPART: ',  itab-spart,
          /(30)'KONDM: ',  itab-kondm,
          /(30)'WAERK: ',  itab-waerk,
          /(19)'NETWR: ' , itab-netwr,
          /(17)'KWMENG: ', itab-kwmeng,
          /(30)'VKAUS:',   itab-vkaus,
          /(30)'LAND1:',   itab-land1,
          /(30)'NRART:',   itab-nrart,
          /(30)'PARVW:',   itab-parvw,
          /(30)'ADDR1:',   itab-name1,
          /(30)'ADDR2:',   itab-name2,
          /(30)'ADDR3:',   itab-name3,
          /(30)'ADDR4:',   itab-name4,
          /(30)'PSTLZ:',   itab-pstlz,
          /(30)'ORT01:',   itab-ort01,
          /(30)'RUN TIME BAND DESC:',   itab-BEZEI,
          /(30)'Compiler desc:',itab-vtext,
          /(30)'BEZEI:',    itab-bezei,
          /(30)'BEZEI1:',   itab-BEZEI1,
          /(30)'BEZEI2:',   itab-BEZEI2,
          /(30)'BEZEI3:',   itab-BEZEI3,
          /(30)'BEZEI4:',   itab-BEZEI4,
          /(30)'BEZEI5:',   itab-bezei5,
          /(30)'LASPEZ :',  itab-LASPEZ,
          /(30)'spras :', itab-spras.
         uline.
ENDLOOP.
            if sy-subrc <> 0.
            write : / 'No data found'.
            endif.

FIRST CHECK IN THE TABLE WHETHER DATA IS PRESENT  OR NOT FOR THIS PARTICULAR SELECTION CRITERIA.
and secondly i would like to suggest you that dont use inner join on so many tables instead use FOR ALL ENTRIES and after every SELECT statement check whether that table is initial.
may be any of the table does not contain data for that criteria thats y it may not be displaying anything.

Similar Messages

  • I need help I scratched the code off my itunes card

    I need help I scratched the code off my itunes card

    Click here and ask the iTunes Store staff for assistance. Supply them with as much of the code as you can.
    (102006)

  • I have tried another exercise, but again I will need help, here's the code

    hi,
    I have another problem. here's the question pluss the code.
    public interface Patient{
    public void doVisit(float hour);
    public boolean hospitalize();
    1. I will need to write a class name OrdinaryPatient which extends Patient.
    the class will include value int that his name age and another value that will be boolean
    of disease.
    I have to do two constructors. one that don't get values and give them default and the other one
    that does get values.
    another method name docVisit which get a visit to the doctor time visit and will print a message.
    the method hospitalize will hospitalize the patient (and if he will have disease he will get true).
    and for age I have to write methods of get and set.
    2. I will need to write a class of Hipochondriac that extends from OrdinaryPatient.
    I have to do two constructors. one that don't get values and make default and the other one that do get values.
    I will need to ade int by the name of numberOfHospitalize.
    I will need to move the method hospitalize that it will be possible to hospitalize the hypochondriac
    on with the value numberOfHospitalize that his small from 5 and if he will hospitalize he will return
    the value true.
    3. write class PatientClass which will be the method main.
    do 10 objects from OrdinaryPatient, 5 that don't get values and 5 will get randomaly age and
    chronic disease with true.
    do 10 objects from Hipochonidraic, 9 that don't get values and one get all of them.
    save all objects in value from Patinet.
    print for each of them their age.
    print for the OrdinaryPatient alone the method of Hospitalize.
    ok, here's what I did.
    1. OrdinaryPatient
    pbulic class OrdinaryPatient implements Patient{
    private int age;
    private boolean disease;
    public OrdinaryPatient(){
    this.disease=false;
    this.age=0;
    public OrdinaryPatient(int age,boolean ddisase){
    this.disease=disease;
    this.age=age;
    public int getAge(){
    return age;
    public void setDisease(boolean disease){
    this.disease=disease;
    public void setAge(int age){
    this.age=age;
    public void docVisit(){
    System.out.println("Patient's visit is one hour");
    public boolean hospitalize(){
    return false;
    2. public class Hipochondriac extends OrdinaryPatient{
    private = numberOfHospitalize;
    public Hipochondriac();
    super();
    numberOfHospitalize=0;
    public Hipochondriac(int age, boolean diseased, int numberOfHospitalize){
    super(age.diseased);
    setnumberOfHospitalize(numberofHospitalize);
    from here I don't know how to continue.
    3. public class PatientClass{
    public static void main(String args[]){
    patient patinets= new patient[20];
    for (int i=0; i<5; i++){
    patients= new OrdinaryPatient();
    from i'm stuck!!!
    if you can help me to improve it I will appriciate it...
    Einat

    here my result.
    1. public interface Patient{
         public void docVisit(float hour_;
         public boolean hospitalize();
    public class OrdinaryPatient extends Patient
         private int age;
         private boolean disease;
    //constructors
         public OrdinaryPatient(){
              age=20;
              disease=true;
         public OrdinaryPatient(int age, boolean disease) {
              setAge(age);
              this.disease=disease;
    //methods
         public int getAge() {
              return age;
         public void setAge(boolean disease) {
              if(age>0 && age<120)
                   this.age=age;
         //overriding methods.
         public void docVisit(float hour) {
              System.out.println("your visit turn is at "+hour");
         public boolean hospitalize(){
              System.out.println("go to hospital");
              if(disease)
                   return true;
              else
                   return false;
    2. public class Hipochondriac extends OrdinaryPatient{
         private int numberOfHospitalize;
    //constructors
         public Hipochondriac(){
         public Hipochondriac(int age, boolean disease, int numberOfHospipitalize){
              setAge(age);
              this.disease=disease;
              this.numberOfHospitalize=numberOfHospitalize
         //methods
         public int getNumberOfHospitalize(){
              return numberOfHospitalize;
         public void setNumberOfHospitalize(int numberOfHostpitalize){
              if(numberOfHospitalize>0)
                   this.numberOfHospitalize=numberOfHospitalize;
         public boolean hospitalize(){
              if(numberOfHospitalize<5)
                   System.out.println("go to hospital");
                   numberOfHospitalize++;
                   return true;
              else
                   return false;
    3. public class PatientClass
         //constructors
         private PatientClass(String[] args){
              //private methods helps to build the object.
              intialArr(args);
              printAge();
              gotHospital();
    //methods.
    private void intialArr(String[] args){
         int i;//array index
         for(i=0;i<arr.lents/2;i+=2)
              arr=new OrdinaryPatient();
              arr[i+1]=new OridnaryPatient((int)(Math.random()*121),true);
         for(;i<=arr.length-2;i++)
              arr[i]=new Hipochondriac();
         arr[i]=new Hipochondriac(Interget.parseINt(args[0]),
         private void printAge(){
              for(int i=0;i<arr.length;i++)
                   System.out.println(((OrdinaryPatient)arr[i]).getAge());
         private void gotoHospital(){
              for(int i=0;i<arr.length;i++)
    //checking for ordinarypatient objects only
                   if(!(arr[i] instanceof Hipochondriac))
                        //dont need casting
                        arr[i].hospitalize()[
         //main method
         public static void main(String[] args)
              //setting the commandLine array from the main to PatientClass object
              PatientClass pc=new PatientClass(args);
    let me know if it's seems logic to you.
    thank you, Einat     

  • Need help in writing the code

    Hi,
    My table data is as below.
    Kunnr  BDAT EDAT  D1 D2 D3 D4 D5
    1111    2001  2002   1      2    1      2     1
    1111    2003  2008   1      0    4     1      2
    1111    2008  2011   1      1    1     1      1
    2222    2003  2008   1      2    2             2
    2222    2008  2011           1    2     1      1
    Here for kunnr  between begin and end date we have to caluclate the dependencies. (I.e if there is any value in D1or D2 or D3orD4 it shoulbe counted as 1. of it is zero or blank then it should not be coutned).
    for Ex: for 1111 between 2001 & 2002 tot dependencies are 5.            
               for 1111 between 2003 & 2008 tot dependencies are 4.
    in this scenario what will be the best way of writing the code. Do we need to check each and every field when counting the Sum value or and simple way to improve the performance.
    Regards,
    Vishnu
    Edited by: Vishnuvadhan K on May 13, 2011 10:30 AM
    Moderator Message: This is not a forum, where you can get your work done by others.
    Edited by: kishan P on May 13, 2011 3:52 PM

    Hi Vishnu,
    Here, you will have to check for the range of your begin date & end date. If it comes in the said range, then you simply have to add the values of your D1, D2,... DX values which you can store in some variables by setting out a flag as one counter for each.
    If your case is satisfied for any of the date range, then just check for the flag values which are satisfied & add them or display the sum of the number of counters.
    @Ambujavalli, At End Of won't work here because the date ranges given by Vishnu will differ.
    Those statements are useful in a case when suppose for the same field value, you need to calculate a particular sum.
    Here, that is not the case. Hence, AT First & At End Of won't work.
    Thanks,
    Gayathri.
    Edited by: gnikesh88 on May 13, 2011 11:52 AM

  • Need help to check the settings in Production system?

    Hello All,
    I need to check the  followings task has been done in the production system, i know its the basis task....but i need to check is this task basis has done in the produciton system. Please let me know your inputs how to check below task in PI system.
    1)Tuning Parameters 2)Performance Statistics Parameters 3) Failed Message and Queue Restart Parameters.
    Thanks in advance.
    Regards,
    Chinna

    HI
    Checking Tuning Parameters
    Transcation  SXMB_ADM -> Integration Engine Configuration -> Configuration
    EO_INBOUND_PARALLEL
    EO_INBOUND_PARALLEL_SENDER
    EO_INBOUND_TO_OUTBOUND
    IS_RETRY_LIMIT
    Performance Statistics Parameters
    DAYS_TO_KEEP_DATA  AGGREGATION_ITEMS
    DAYS_TO_KEEP_DATA MEASUREMENT_ITEMS
    MEASUREMENT_LEVEL
    MEASUREMENT_PERSIST
    http://<XI host>:<port>/rwb
    ST03N,ST06
    Failed Message and Queue Restart Parameters.
    SXMB_MONI
    Failed Message and Queue Restart Parameters.
    from se38 run the reports
    RSXMB_CUST_RESTART_MESSAGE
    RSXMB_RESTART_MESSAGES

  • Need help to check the software update deployment status before restart the VM

    Hello,
    I'm just trying to automate the windows patch deployment for several VM's, I build the entire logic like below,
            Deploy software update --> wait for sometime-->Restart --> Check deployment status(collection = iscomplaint) -->stop
    I know here I'm missing the logic of not checking the patch deployment status before restarting, Can someone help here plz?
    Regards,
    Julie

    Hello
    you can configure a loop for your Activity " Get deployment status(filtered the collection name " until status is succeeded, failed with an embedded loop: http://technet.microsoft.com/en-us/library/hh403826.aspx
    Regards,
    Stefan
    www.sc-orchestrator.eu ,
    Blog sc-orchestrator.eu

  • Need help to check my code !

    I am not ble to fetch all the data .
    Where is the problem !
    please help me to  modify the select statement
    REPORT YINTERACTIVEPROGRAM01.
    *CREATED BY:JYOTIRMOY DEB                                            *
    *DATE OF CREATION :                                                  *
    *TABLE DECLARATION
    TABLES:VBAK,  "Sales Document: Header Data
           VBKD,  "Sales Document: Business Data
           VBPA,  "Sales Document: Partner
           VBAP,  "Sales Document: Item Data
           ADRC,  "Addresses (central address admin.)
           T178T, "Conditions: Groups for Materials:text
           T188T, "Pricing groups for customers
           TVM1,
           TVM1T,  "Material pricing group 1: Description
           TVM2,
           TVM2T,  "Material Pricing Group 2: Description
           TVM3,
           TVM3T,  "Material Pricing Group 3: Description
           TVM4,
           TVM4T,  "Material Pricing Group 4: Description
           TVM5,
           TVM5T,  "Material Pricing Group 5: Description
           SZA1_D0100,
           TVLV ,   "Check table for release orders: Usage ID
           TVLVT,
           TVKGG,   "Customer Condition Groups (Customer Master)
           TVKGGT,
           TPAR,   "Business Partner: Functions
           TPART,
           TVAUT.  "Sales Documents: Order Reasons: Texts
    *SELECT OPTIONS
    Select-options S_VBELN for vbak-vbeln.
    *CREATING INTERNAL TABLES
    TYPES:BEGIN OF TY_TAB,
             VBELN LIKE VBAK-VBELN,
             VKORG LIKE VBAK-VKORG,
             ERDAT LIKE VBAK-ERDAT,
             AUGRU LIKE VBAK-AUGRU,
             BEZEI LIKE TVAUT-BEZEI,
             BSTDK LIKE VBKD-BSTDK,
             BSTDK_E LIKE VBKD-BSTDK_E,
             BSTKD LIKE VBKD-BSTKD,
             KDKG2 LIKE VBKD-KDKG2,
             KONDA LIKE VBKD-KONDA,
             MATNR LIKE VBAP-MATNR,
             SPART LIKE VBAP-SPART,
             KONDM LIKE VBAP-KONDM,
             WAERK LIKE VBAP-WAERK,
             NETWR LIKE VBAP-NETWR,
             KWMENG LIKE VBAP-KWMENG,
             VKAUS LIKE VBAP-VKAUS,
             MVGR1 LIKE VBAP-MVGR1,
             MVGR2 LIKE VBAP-MVGR2,
             MVGR3 LIKE VBAP-MVGR3,
             MVGR4 LIKE VBAP-MVGR4,
             MVGR5 LIKE VBAP-MVGR5,
             KUNNR LIKE VBPA-KUNNR,
             POSTCODE1 LIKE ADRC-POST_CODE1,
             POBOX LIKE ADRC-PO_BOX,
             NAME1 LIKE ADRC-NAME1,
             NAME2 LIKE ADRC-NAME2,
             CITY1 LIKE ADRC-CITY1,
             CITY2 LIKE ADRC-CITY2,
             COUNTRY LIKE ADRC-COUNTRY,
             STREET LIKE ADRC-STREET,
             STRSUPPL1 LIKE ADRC-STR_SUPPL1,
             STRSUPPL2 LIKE ADRC-STR_SUPPL2,
             STRSUPPL3 LIKE ADRC-STR_SUPPL3,
             NRART LIKE TPAR-NRART,
             VTEXT1 LIKE TPART-VTEXT,
             PARVW LIKE TPART-PARVW,
             BEZE_I LIKE TVLVT-BEZEI,
             VTEXT LIKE V_T178-VTEXT,
             V_TEXT like V_T188-VTEXT,
             BEZEI1 LIKE TVM1T-BEZEI,
             BEZEI2 LIKE TVM2T-BEZEI,
             BEZEI3 LIKE TVM3T-BEZEI,
             BEZEI4 LIKE TVM4T-BEZEI,
             BEZEI5 LIKE TVM5T-BEZEI,
             VTEXT2 LIKE TVKGGT-VTEXT,
             SMTP_ADDR LIKE ADR6-SMTP_ADDR,
         END OF TY_TAB.
    DATA: ITAB TYPE STANDARD TABLE OF TY_TAB WITH HEADER LINE.
    *WRITING THE QUERY
    SELECT A1~VBELN
           A1~VKORG
           A1~ERDAT
           A1~AUGRU
           A2~BSTDK
           A2~BSTDK_E
           A2~BSTDK
           A2~KONDA
           A2~KDKG2
           A3~MATNR
           A3~SPART
           A3~KONDM
           A3~WAERK
           A3~NETWR
           A3~KWMENG
           A3~VKAUS
           A3~MVGR1
           A3~MVGR2
           A3~MVGR3
           A3~MVGR4
           A3~MVGR5
           A4~POST_CODE1
           A4~PO_BOX
           A4~NAME1
           A4~NAME2
           A4~CITY1
           A4~CITY2
           A4~COUNTRY
           A4~STREET
           A4~STR_SUPPL1
           A4~STR_SUPPL2
           A4~STR_SUPPL3
           A5~BEZEI
           A6~KUNNR
           A7~NRART
           A8~VTEXT
           A9~PARVW
           A10~BEZEI
           A11~VTEXT
           A12~VTEXT
           A13~BEZEI
           A14~BEZEI
           A15~BEZEI
           A16~BEZEI
           A17~BEZEI
           A18~VTEXT
         A20~SMTP_ADDR
    INTO CORRESPONDING FIELDS OF TABLE ITAB
    FROM VBAK AS A1
    JOIN VBKD AS A2
    ON A1VBELN = A2VBELN
    JOIN VBAP AS A3
    ON A1VBELN = A3VBELN
    LEFT OUTER JOIN VBPA AS A6
    ON A2VBELN = A6VBELN
    AND A2POSNR = A6POSNR
    *JOIN ADR6 AS A20
    *ON A6ADRNR = A20ADDRNUMBER
    JOIN ADRC AS A4
    ON A6ADRNR = A4ADDRNUMBER
    LEFT OUTER JOIN TVM1T AS A13
    ON A3MVGR1 = A13MVGR1
    LEFT OUTER JOIN TVM2T AS A14
    ON A3MVGR2 = A14MVGR2
    LEFT OUTER JOIN TVM3T AS A15
    ON A3MVGR3 = A15MVGR3
    LEFT OUTER JOIN TVM4T AS A16
    ON A3MVGR4 = A16MVGR4
    LEFT OUTER JOIN TVM5T AS A17
    ON A3MVGR5 = A17MVGR5
    JOIN TPAR AS A7
    ON A7PARVW = A6PARVW
    JOIN TPART AS A8
    ON A8PARVW = A6PARVW
    LEFT OUTER JOIN T178T AS A11
    ON A3KONDM =  A11KONDM
    AND A11~SPRAS = SY-LANGU
    LEFT OUTER JOIN T188T as A12
    ON A2KONDA = A12KONDA
    AND A12~SPRAS = SY-LANGU
    JOIN  TPART AS  A9
    ON A6PARVW = A9PARVW
    LEFT OUTER JOIN TVLVT AS  A10
    ON A1ABRVW = A10ABRVW
    AND A10~SPRAS = SY-LANGU
    LEFT OUTER JOIN TVAUT AS  A5
    ON A1AUGRU = A5AUGRU
    AND A5~SPRAS = SY-LANGU
    LEFT OUTER JOIN TVKGGT AS A18
    ON A8SPRAS = A18SPRAS
    UP TO 100 ROWS
    WHERE A1~VBELN IN S_VBELN.
    *PRINTING THE OUTPUT
    loop AT ITAB.
    WRITE :
    /(30) 'Order No                    :', itab-VBELN,
    /(30) 'Sales Org                   :', itab-VKORG,
    /(30) 'Order Date                    :', itab-ERDAT,
    /(30) 'Purchase Order #           :', itab-BSTKD,
    /(30) 'Purchase Order Date           :', itab-BSTDK,
    /(30) 'Order Reason code            :', itab-AUGRU,
    /(30) 'Order Reason description      :', itab-BEZEI,
    /(30) 'Partner Type                :', itab-NRART,
    /(30) 'Partner Type description      :', itab-VTEXT,
    /(30) 'Partner no                :', itab-KUNNR,
    /(30) 'Partner Name1                :', itab-NAME1,
    /(30) 'Partner Name2                :', itab-NAME2,
    /(30) 'Partner Address 1           :', itab-STREET,
    /(30) 'Partner Address 2           :', itab-STRSUPPL1,
    /(30) 'Partner Address 3           :', itab-STRSUPPL2,
    /(30) 'Partner Address 4           :', itab-STRSUPPL3,
    /(30) 'City                     :', itab-CITY1,
    /(30) 'DISTRICT                :', itab-CITY2,
    /(30) 'Country                 :', itab-COUNTRY,
    /(30) 'Post Code                 :', itab-POSTCODE1,
    /(30) 'PO BOX                     :', itab-POBOX,
    /(30) 'Partner email                :', itab-SMTP_ADDR,
    /(30) 'Material no                :', itab-MATNR,
    /(30) 'Material  Division           :', itab-SPART,
    /(30) 'Product Line and Edition code:', itab-MVGR1,
    /(30) 'Product Line and Edition Desc:', itab-BEZEI1,
    /(30) 'Product Name code           :', itab-MVGR2,
    /(30) 'ProductName Desc           :', itab-BEZEI2,
    /(30) 'Product Version Code           :', itab-MVGR3,
    /(30) 'Product Version Desc           :', itab-BEZEI3,
    /(30) 'Product Platform Code      :', itab-MVGR4,
    /(30) 'Product Platform Desc      :', itab-BEZEI4,
    /(30) 'Product App Server Code      :', itab-MVGR5,
    /(30) 'Product App Server Desc      :', itab-BEZEI5,
    /(30) 'Compiler Code                :', itab-KONDM,
    /(30) 'Compiler Desc                :', itab-VTEXT,
    /(30) 'LanguageCode                :', itab-KONDA,
    /(30) 'LanguageDesc                :', itab-V_TEXT,
    /(30) 'Runtime Band Code           :', itab-VKAUS,
    /(30) 'Runtime Band description      :', itab-BEZE_I,
    /(30) 'Support Start Date           :', itab-BSTDK,
    /(30) 'Support End Date           :', itab-BSTDK_E,
    /(30) 'Support Level Code           :', itab-KDKG2,
    /(30) 'Support Level Desc           :', itab-VTEXT2,
    /(30) 'Order Quantity           :', itab-KWMENG,
    /(30) 'Net Price                :', itab-NETWR,
    /(30) 'Currency                :', itab-WAERK.
    uline.
    ENDLOOP.
    if sy-subrc <> 0.
      write : / 'No data found'.
    endif.

    Hi  Jyotirmoy Deb,
    Last time might be,you are the one that asking about using join statement on 3 tables.
    Now what are you doing in your code. use are joining almost 18 tables.this will not work anyone, and it will slow down the processing time of the report.
    First of all analysis the report what exactly you want and then
    first read the header data as in your case you using the Sale Document Header data.
    On the basis of Header data fetch the line item data.
    Don't processes all the tables at a time using the join clause.Because it decrease the efficiency of the program.
    Reward points,if useful.
    Regards,
    Manoj Kumar

  • Need help tp check my code

    Hi, I have been having too busy with my other project and now running issue with java that I can't seem to get the Search() working even though I could compile and enter data...hopefully your advice will be helpful. Thanks!
    Create a user-defined class called Employee with the following characteristics.
    Data members whose accessibility should be restricted to members of the immediate class and sub-classes only.
    1.     First name
    2. Last name
    3.     ID
    4.     Salary
    5.     Grade - single character P, F or C
    The following methods should be included in the Employee class
    1.     An appropriate constructor that will accept the Employee�s name, Salary and grade as parameters and initialize the data members accordingly. The ID may also be passed as a parameter OR it may be generated automatically. The ID field will be used as the �primary key� and as such no duplication should be allowed.
    2.     Accessor and mutator methods that provide accessibility to the data members.
    3.     A method that allows the salary of the employee to be increased.
    4.     A method that allows the grade of the Employee to be changed.
    5.     Override the toString method so details of the Employee may be returned as a String.
    EmployeeData.java
    import java.io.*;
    // Employee class declaration.
    class Employees
         protected String first_name;
         protected String last_name;
         protected int id;
         protected double salary;
         protected char grade;
         public Employees(int a_id)
         int id = a_id;
         public Employees()
         // constructor
          public Employees(String first_name, String last_name, int id, double salary, char grade)
         this.first_name = first_name;
         this.last_name = last_name;
         this.salary = salary;
         this.grade = grade;
         this.id = id;
         //Accessor and mutator methods that provide accessibility to the data members.
         public int getid()
              return this.id;
         //accessor
         public double getsalary()
              return this.salary;
         public char getGrade()
              return this.grade;
         //mutator
         public void setSalary(double salary)
              this.salary = salary;
         public void setGrade(char grade)
              this.grade = grade;
         //A method that allows the salary of the employee to be increased.
         public void increaseSalary(double newSalary)
              this.salary = salary + newSalary;
         //A method that allows the grade of the Employee to be changed
         public void changeGrade(char grade)
              this.grade = grade;
         public void display()
              System.out.println("First Name " + first_name);
              System.out.println("Last Name  " + last_name);
              System.out.println("Salary  " + salary);
    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////Employee.java
    import java.io.*;
    class EmployeeData extends Employees
         //Override the toString method so details of the Employee may be returned as a String.
         public String toString () {
              String info = super.toString();
              return info = "Name: " + first_name + " " + last_name + "\nID: " + id + "\nSalary: " + salary + "\nGrade: " + grade;
         //The ID field will be used as the �primary key� and as such no duplication should be allowed.
         private Employees database[];
         public int numOfEmployee;
         static BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
         public EmployeeData()
              //numOfEmployee = 0;
              database = new Employees[10];
         public void DisplayEmployee() throws Exception
                   int index = search(id);
                   if (index!= -1)
                        database[index].display();
         public void RegEvaluation() throws Exception
                   System.out.println("Enter Employee Data");
                   System.out.print("Enter First name : ");
                   String a_first_name = input.readLine();
                   System.out.print("Enter Last name : ");
                   String a_last_name = input.readLine();
                   System.out.print("Enter Employee ID: ");
                   int a_id = Integer.parseInt(input.readLine());
                   System.out.print("Enter Employee Salary: ");
                   double a_salary = Double.parseDouble(input.readLine());
                   System.out.print("Enter Employee Grade: ");
                   char a_grade = (char)input.read();
                   int index = search(id);
                   if (index != -1)
                        System.out.println("numOfEmployee " + numOfEmployee);
                        System.out.println("-------------------------------------");
                        database[numOfEmployee] = new Employees(a_first_name, a_last_name, a_id, a_salary, a_grade);
                        System.out.println("Employee Account Created!");
                        System.out.println("-------------------------------------");
                        numOfEmployee++;
         // To check for duplicate ID values
         public int search(int findID) throws Exception
              for(int x = 0; x < numOfEmployee; x++)
                   if(database[x].getid() == findID)
                        System.out.println("\nEmployee ID exists");
              }return 0;
    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////useEmployeeData.java
    class useEmployeeData
         public static void main(String args[]) throws Exception
              EmployeeData EmployeeData = new EmployeeData();
              EmployeeData.RegEvaluation();
              EmployeeData.DisplayEmployee();
              EmployeeData EmployeeData2 = new EmployeeData();
              EmployeeData2.RegEvaluation();
              EmployeeData2.DisplayEmployee();
    }Message was edited by:
    proyb

    when I execute the program, it will ask for employee:
    first name:
    last name:
    ID:
    salary:
    grade:
    and on the second run, I was surprise why the first name and last name are on the same line...
    first name: last name:
    and continue to key in data as require.
    Suppose I try to key in same ID number, it did not show an error message and create another object, now there are 2 object with similar keys.
    Message was edited by:
    proyb

  • I didnt konw how to make a new account for my iTues card so i did it with a diffrent email but that email doesnt exist and when i tried to make it on a real email i just sai invalid code check the code and try again and can u please help me

    please help me it is a card of 25 dollars and i dont want it to go to waist i by mistake thought you used a frake email so i made one up i thought i was going to have a new one but then it said it was going to send a verifaction to my email so then i tried to use a real email and put in the code but it just kept on saying invalid code. check the code and try again. and i dont know what to do can u please please help me it was a gift and i really dont want it to go to waist please i need help

    for #1
    Frequently asked questions about Apple ID - Apple Support
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
    If you are wondering how using multiple Apple IDs relate to iCloud, see Apple IDs and iCloud.
    for #2
    Apple does not accept unsolicited ideas see Apple - Legal - Unsolicited Idea Submission Policy

  • I Need Help to Access The Source Code From A Form to Know the Calculation Formula

    Hi,
    I Need Help to Access The Source Code From A Form to Know the Calculation Formula. The application is a windows form application that is linked to SQL Server 2008. In one of the application forms it generates an invoice and does some calculations. I just
    need to know where behind that form is the code that's doing the calculations to generate the invoice, I just need to get into the formula that's doing these calculations.
    Thank you so much.

    Hi, 
    Thanks for the reply. This is a view and [AmountDue] is supposed to be [CurrentDueAmount] + [PastDueAmount] - [PaidAmount]. The view is not calculating [PaidAmount] right . Below is the complete code of the view. Do you see anything wrong in the code ?
    Thanks. 
    SELECT     [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
    [iff].[FacilityFeeID], [LoanID] = NULL, [isi].[PortfolioID], [isi].[Portfolio], 
                          [PaymentType] = [isis_fee].[SectionType], [Name]
    = [iff].[Name], [ReceivedAmount], [dates].[CurrentDueAmount], 
                          [PastDueAmount] = CASE WHEN ISNULL([ReceivedAmount],
    0) > 0 THEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0) 
                          WHEN ISNULL([ReceivedAmount], 0) 
                          < 0 THEN /* We bring past due to zero and
    apply reset to current. */ CASE WHEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0) 
                          < 0 THEN 0 ELSE [pastdue].[PastDueFeeAmount]
    + ISNULL([ReceivedAmount], 0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND 
                          [pastdue].[PastDueFeeAmount] < 0 THEN 0 ELSE
    [pastdue].[PastDueFeeAmount] END, [PaidAmount] = CASE WHEN ISNULL([ReceivedAmount], 0) 
                          < 0 THEN /* We bring past due to zero and
    apply rest to current. */ CASE WHEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0) 
                          < 0 THEN - ([pastdue].[PastDueFeeAmount]
    + ISNULL([ReceivedAmount], 0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND 
                          [pastdue].[PastDueFeeAmount] < 0 THEN - [pastdue].[PastDueFeeAmount]
    ELSE 0 END, [AmountDue] = [unpaid].[UnpaidFeeAmount], [ID] = [iff].[FacilityFeeID]
    FROM         [dbo].[INV_SubInvoice] isi JOIN
                          [dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
    = [ii].[ID] JOIN
                          [dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
    JOIN
                          [dbo].[INV_FacilityFee] iff ON [if].[ID] = [iff].[INV_FacilityID]
    JOIN
                              (SELECT     [sis_fee].[ID],
    [sis_fee].[SectionTypeCode], [SectionType] = [st_fee].[Name], [sis_fee].[INV_FacilityFeeID]
                                FROM      
       [dbo].[INV_SubInvoiceSection] sis_fee JOIN
                   [dbo].[INV_SectionType] st_fee ON [sis_fee].[SectionTypeCode] = [st_fee].[Code]
                                WHERE      [INV_FacilityFeeID]
    IS NOT NULL AND [StatusCode] = 'BILL') isis_fee ON [iff].[ID] = [isis_fee].[INV_FacilityFeeID] JOIN
                              (SELECT     [iffa].[SectionID],
    [AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]), 
                   [AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedFeeAmount]), 
                   [ReceivedAmount] = SUM([iffa].[ReceivedFeeAmount])
                                FROM      
       [dbo].[INV_FacilityFeeAccrual] iffa
                                GROUP BY [iffa].[SectionID])
    dates ON [isis_fee].[ID] = [dates].[SectionID] LEFT JOIN
                              (SELECT     *
                                FROM      
       [dbo].[INV_FacilityFeeAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND 
                          [dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
    LEFT JOIN
                              (SELECT     [SectionID],
    [PastDueFeeAmount] = SUM([PastDueFeeAmount])
                                FROM      
       [dbo].[INV_FacilityFeeAccrual]
                                GROUP BY [SectionID]) pastdue
    ON [dates].[SectionID] = [pastdue].[SectionID]
    UNION
    SELECT     [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
    [FacilityFeeID] = NULL, [il].[LoanID], [isi].[PortfolioID], [isi].[Portfolio], 
                          [PaymentType] = [isis_loan].[SectionType], [Name]
    = [il].[Name], [ReceivedAmount], [CurrentDueAmount], [PastDueAmount] = CASE WHEN ISNULL([ReceivedAmount], 
                          0) > 0 THEN [PastDueAmount] + ISNULL([ReceivedAmount],
    0) WHEN ISNULL([ReceivedAmount], 0) 
                          < 0 THEN /* We bring past due to zero and
    apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0) 
                          < 0 THEN 0 ELSE [PastDueAmount] + ISNULL([ReceivedAmount],
    0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND 
                          [PastDueAmount] < 0 THEN 0 ELSE [PastDueAmount]
    END, 
                          [PaidAmount] = CASE WHEN [isis_loan].[SectionTypeCode]
    = 'LOAN_PRIN' THEN 0 ELSE CASE WHEN ISNULL([ReceivedAmount], 0) 
                          < 0 THEN /* We bring past due to zero and
    apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0) 
                          < 0 THEN - ([PastDueAmount] + ISNULL([ReceivedAmount],
    0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND 
                          [PastDueAmount] < 0 THEN - [PastDueAmount]
    ELSE 0 END END, 
                          [AmountDue] = CASE WHEN [isis_loan].[SectionTypeCode]
    = 'LOAN_PRIN' THEN [CurrentDueAmount] ELSE [unpaid].[AmountDue] END, [ID] = [il].[LoanID]
    FROM         [dbo].[INV_SubInvoice] isi JOIN
                          [dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
    = [ii].[ID] JOIN
                          [dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
    JOIN
                          [dbo].[INV_Loan] il ON [if].[ID] = [il].[INV_FacilityID]
    JOIN
                              (SELECT     [sis_loan].[ID],
    [sis_loan].[SectionTypeCode], [SectionType] = [st_loan].[Name], [sis_loan].[INV_LoanID]
                                FROM      
       [dbo].[INV_SubInvoiceSection] sis_loan JOIN
                   [dbo].[INV_SectionType] st_loan ON [sis_loan].[SectionTypeCode] = [st_loan].[Code]
                                WHERE      [INV_LoanID]
    IS NOT NULL AND [StatusCode] = 'BILL') isis_loan ON [il].[ID] = [isis_loan].[INV_LoanID] JOIN
                              (SELECT     [iffa].[SectionID],
    [AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]), 
                   [AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[ExpectedPrincipalAmount]), 
                   [ReceivedAmount] = SUM([ReceivedPrincipalAmount])
                                FROM      
       [dbo].[INV_LoanPrincipalAmortization] iffa
                                GROUP BY [iffa].[SectionID]
                                UNION
                                SELECT     [iffa].[SectionID],
    [AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]), 
                  [AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]), 
                  [ReceivedAmount] = SUM([ReceivedInterestAmount])
                                FROM      
      [dbo].[INV_LoanCashInterestAccrual] iffa
                                GROUP BY [iffa].[SectionID]
                                UNION
                                SELECT     [iffa].[SectionID],
    [AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]), 
                  [AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]), 
                  [ReceivedAmount] = SUM([ReceivedInterestAmount])
                                FROM      
      [dbo].[INV_LoanPIKInterestAccrual] iffa
                                GROUP BY [iffa].[SectionID])
    dates ON [isis_loan].[ID] = [dates].[SectionID] LEFT JOIN
                              (SELECT     [AmountDue]
    = [UnpaidPrincipalAmount], [SectionID], [AccrualDeterminationDate]
                                FROM      
       [dbo].[INV_LoanPrincipalAmortization]
                                UNION
                                SELECT     [AmountDue]
    = [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
                                FROM      
      [dbo].[INV_LoanCashInterestAccrual]
                                UNION
                                SELECT     [AmountDue]
    = [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
                                FROM      
      [dbo].[INV_LoanPIKInterestAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND 
                          [dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
    LEFT JOIN
                              (SELECT     [PastDueAmount]
    = SUM([PastDuePrincipalAmount]), [SectionID]
                                FROM      
       [dbo].[INV_LoanPrincipalAmortization]
                                GROUP BY [SectionID]
                                UNION
                                SELECT     [PastDueAmount]
    = SUM([PastDueInterestAmount]), [SectionID]
                                FROM      
      [dbo].[INV_LoanCashInterestAccrual]
                                GROUP BY [SectionID]
                                UNION
                                SELECT     [PastDueAmount]
    = SUM([PastDueInterestAmount]), [SectionID]
                                FROM      
      [dbo].[INV_LoanPIKInterestAccrual]
                                GROUP BY [SectionID]) pastdue
    ON [dates].[SectionID] = [pastdue].[SectionID]
    UNION
    SELECT     [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
    [FacilityFeeID] = NULL, [il].[LoanID], [isi].[PortfolioID], [isi].[Portfolio], 
                          [PaymentType] = 'PIK Interest Applied', [Name]
    = [il].[Name], [ReceivedAmount], [CurrentDueAmount] = - [dates].[CurrentDueAmount], 
                          [PastDueAmount] = - CASE WHEN ISNULL([ReceivedAmount],
    0) > 0 THEN [PastDueAmount] + ISNULL([ReceivedAmount], 0) WHEN ISNULL([ReceivedAmount], 0) 
                          < 0 THEN /* We bring past due to zero and
    apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0) 
                          < 0 THEN 0 ELSE [PastDueAmount] + ISNULL([ReceivedAmount],
    0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND 
                          [PastDueAmount] < 0 THEN 0 ELSE [PastDueAmount]
    END, [PaidAmount] = - CASE WHEN ISNULL([ReceivedAmount], 0) 
                          < 0 THEN /* We bring past due to zero and
    apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0) 
                          < 0 THEN - ([PastDueAmount] + ISNULL([ReceivedAmount],
    0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND 
                          [PastDueAmount] < 0 THEN - [PastDueAmount]
    ELSE 0 END, [AmountDue] = - [AmountDue], [ID] = [il].[LoanID]
    FROM         [dbo].[INV_SubInvoice] isi JOIN
                          [dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
    = [ii].[ID] JOIN
                          [dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
    JOIN
                          [dbo].[INV_Loan] il ON [if].[ID] = [il].[INV_FacilityID]
    JOIN
                              (SELECT     [sis_loan].[ID],
    [sis_loan].[SectionTypeCode], [SectionType] = [st_loan].[Name], [sis_loan].[INV_LoanID]
                                FROM      
       [dbo].[INV_SubInvoiceSection] sis_loan JOIN
                   [dbo].[INV_SectionType] st_loan ON [sis_loan].[SectionTypeCode] = [st_loan].[Code]
                                WHERE      [INV_LoanID]
    IS NOT NULL AND [StatusCode] = 'BILL' AND [sis_loan].[SectionTypeCode] = 'LOAN_INT_PIK') isis_loan ON 
                          [il].[ID] = [isis_loan].[INV_LoanID] JOIN
                              (SELECT     [iffa].[SectionID],
    [AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]), 
                   [AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]), 
                   [ReceivedAmount] = SUM([ReceivedInterestAmount])
                                FROM      
       [dbo].[INV_LoanPIKInterestAccrual] iffa
                                GROUP BY [iffa].[SectionID])
    dates ON [isis_loan].[ID] = [dates].[SectionID] LEFT JOIN
                              (SELECT     [AmountDue]
    = [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
                                FROM      
       [dbo].[INV_LoanPIKInterestAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND 
                          [dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
    LEFT JOIN
                              (SELECT     [PastDueAmount]
    = SUM([PastDueInterestAmount]), [SectionID]
                                FROM      
       [dbo].[INV_LoanPIKInterestAccrual]
                                GROUP BY [SectionID]) pastdue
    ON [dates].[SectionID] = [pastdue].[SectionID]

  • Apple TV keeps asking my for my Credit Card verification code and I punch it in, still asks me for it, and restarted everything, went to my computer, checked the code, all is set, still can't rent a movie. Please help!

    Apple TV keeps asking my for my 3digit  Credit Card verification code and I punch it in, it still asks me for it, and went to my computer on iTunes store, checked the code, all is set and saved, go back to Apple TV still can't rent a movie, I still get the same Verification Required message without any further information after I punch in my 3digits. When I hit submit, the page goes back to the same place to type the code again, and yes the code is 100% accurate. I tried restoring the apple tv, every thing is up to date on all devices and signed in and out of my itunes store on my Mac, still no luck. Please help!

    This issue actually started a week ago... see: https://discussions.apple.com/message/23399558#23399558
    to determine if there are the same problems you are experiencing.  I have spent over 6 hours on this issue trying to isolate if it is a hardware, software, network, iTunes account, or Apple device issue.  My initial results indicate it is a software specific issue related to the Apply TV hardware device.

  • I need help in making the programe which updates our code into client machi

    I need help in making the programme which updates our code into client machine from the server.
    As yahoo messanger does if there is any updated version of yahoo messanger.
    It asks when we login into it do you want to update new version of yahoo messanger
    It automatically updates it
    Need Help??

    Sounds to me like you need Java Web Start.

  • Im trying to redeem my prepaid illustrator card and it keeps coming up with an 'invalid code" I've check the code but I've typed the right code in. Help?

    Im trying to redeem my prepaid illustrator card and it keeps coming up with an 'invalid code" I've check the code but I've typed the right code in. Help?

    Redemption Code http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

  • Please help to check the root cause of GL 201100 balance of company code

    Hi All,
    Please help to check the root cause of GL 201100 balance of company code 7101
    After PCA year-end processing(t-code: 2KES), GL 201100 balance of company code 7101 is not consistent in 2009 end and 2010 opening. it is showing the value 800,500 in 2009 and 800,000 in 2010.
    I request to all where to check this settings for diffeerence amount.

    HI,
    Have you run FI GL balance carryforward program already?
    from SAP help:
    If the program has not been run yet, you can still post items in the new year. When you post items in the new year, the accounts are "opened", but their carryforward balance is zero. Once you make postings to the prior year within the new year, the carryforward balance will be updated by those postings. The total balance of the items posted in the old year, however, remains in that year. In this case, the carried forward balance represents only the items posted within the new year to the prior year, not the items posted during the prior year.
    Also, check SAP notes 402917,165356.
    Hope this helps.

  • Please check the code

    I AM TRYING TO REPLICATE THE ADDRESS OF EQUIPMENT FROM ECC TO CRM.
    I AM ABLE TO REPLICATE THE IDENTIFICATION NUMBER.
    WHILE USING THE SAME FUNCTION MODULE FOR ADDRESS, THE ADDRESS IS NOT GETTING REPLICATED.
    PLEASE CHECK THE CODE AND TELL ME WHAT PRE-REQUISITES MUST BE TAKEN INTO CONSIDERATION AND IS THERE ANY MISTAKE FROM ME.
    FULL POINTS WILL BE REWARDED.
    ITS VERY VERY URGENT.
    METHOD IF_EX_CRM_EQUI_LOAD~ENLARGE_COMPONENT_DATA.
    **Data declarations
    DATA:
        ls_equi          type crmt_equi_mess,
        ls_comp          type ibap_dat1,
        ls_comp_det1     TYPE IBAP_COMP3,
        ls_address_data  type ADDR1_DATA,
        ls_object      type comt_product_maintain_api,
        ls_object1     type comt_product,
        lv_object_id   type IB_DEVICEID,
        lv_object_guid type IB_OBJNR_GUID16.
    **Map Sort field from ECC to CRM
    Read table it_equi_dmbdoc-equi into ls_equi index 1.
    lv_object_id  = ls_equi-equnr.
    move is_object to ls_object.
    move ls_object-com_product to ls_object1.
    lv_object_guid = ls_object1-product_guid.
    move is_component to ls_comp.
    ls_comp_det1-deviceid    = lv_object_id.
    ls_comp_det1-object_guid = lv_object_guid.
    ls_comp_det1-EXTOBJTYP   = 'CRM_OBJECT'.
    ls_comp_det1-ibase       = ls_comp-ibase.
    ls_address_data-roomnumber = '1000'.
    ls_address_data-floor = '10'.
    ls_address_data-country = 'US'.
    CALL FUNCTION 'CRM_IBASE_COMP_CHANGE'
      EXPORTING
       i_comp                       = ls_comp
       I_COMP_DET             = ls_comp_det1
       I_ADDRESS_DATA     = ls_address_data
      I_ADDRESS_ADMIN           =
      I_PARTNER                 =
      I_DATE                    =
      I_TIME                    =
    EXCEPTIONS
      DATA_NOT_CONSISTENT       = 1
      IBASE_LOCKED              = 2
      NOT_SUCCESFUL             = 3
      OTHERS                    = 4
    *IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    ENDMETHOD.

    Hi S B,
    May I the procedure for the replication of serialnumber into device ID that is Identification field In Ibase.
    And one more thing need this to be codded in the standard badi or needed an copy of the implementation .
    plz help me as u already have done the requirement.
    u will be twice rewarded.
    Thanking u in advance for the reply.
    Sree.

Maybe you are looking for

  • Handling Application Error in Provider Proxy

    Hi My Asynchronous scenario is as following --> File --> Sndr File Adapter --> PI --> Rec XI Adapter --> Provider Proxy In this I am using Fault Message Types to handle any application error like u201CEmployee Number does not existu201D or u201CEmplo

  • A box disappeared that used to let me select a program to open downloads, how do I get that back?

    I used to be able to click on an attachment in e-mail and a box would open saying, do you want to use "x" program to open the file? I'd click yes and the file would open. Now when I click on an attachment I then have to go to downloads and click on t

  • Using EL in navigation model

    Hi All, I am using webcenter portal application. I want to check a condition and based on that condition i want to navigate to the specific page, which i think can be done with a bean call from a commandlink on action attribute. May i know how to imp

  • Incompatible  types

    I get the following error message: headoffice.java:181: incompatible types found : java.lang.String required: int switch (sa[3]) //sa[3] contains customer type ^ headoffice.java:183: incompatible types found : java.lang.String required: int case �B�:

  • TCO (Total cost of ownership) of LaserJet printers

    Dear friends, can somebody to help us with comparison of TCO at HP Laser Jet printers ? I´am looking for something similar like THIS Excel file from competition (OKI), sorry this very interesting file is in czech only, I can´t find out it in english.