Regarding PDO Classes

Hi All,
I have requirement to check the field data in SRM 7.0, but the data which i need to check is in backend (R/3 system) system.
So is there any PDO classes concept in which i can read that data reated to that shopping cart.
I am not aware of what this PDO classes is, So can some pls let me know how this can be achieved ?
Thanks & Regards,
Chirag Shah

The most detail you can read from a shopping cart is through FM BBP_PD_SC_DETDETAIL. The PDO classes you referred to is also making use of FMs like this to obtain document details.

Similar Messages

  • Issue regarding object class RKAUFTRAG,

    Hi friends,
    My issue is regarding object class RKAUFTRAG,
    while passing this object class to function module 'CHANGEDOCUMENT_READ' it is extracting records only for changes, but i want both for creation and deletion too. this function module is working fine for other object classes like for ANLA and ALLOCATION.
    My requirement is whatever created(KO01) or changes(KO02) made for internal order master data. sh. come throgh object class RKAUFTRAG, but except changes i am not getting for creation and deletion.
    creation is reflecting in object class ANLA.
    in SWEC and SWED, this object class is configured for all.

    So how can the constructor of Foo call superimplicitly if the Object class
    does not contain any constructor.Even if you don't specify one, there will alwaysbe
    at least a no-args c'tor.But if you do specify a ctor with args, the
    compiler will not insert a no-arg ctor for you.That why I said there is "at least" a no-args (or more args) c'tor [in any class].

  • A basic question regarding derived class

    Hi,
    I am new to Java development, so this might be a very trivial question:
    class Base {
    public void b() {
    System.out.println("Base::b() method invoked");
    class Derived {
    public void d() {
    System.out.println("Derived::d() method invoked");
    class Testing1 {
    public static void main (String[] args) {
    Base val = new Derived();
    obj.d();
    I expected this to compile ( expecting d() to be treated as a virtual function). However I get an error message : "cannot find symbol : symbol d() : location: class Base".
    1. Is it possible to know where I went wrong ?
    2. How can I invoked d() method from val ?
    Regards,
    Anirvan

    two things I see are:
    1. obj isn't defined anywhere
    2. class derived should extend base by: class Derived extends Base
    Gregory

  • Regarding Development class in Scripts

    Hi everybody,
    I want to find the Development class of a particular script.Is there anyway to find it out?
    Regards,
    Varadharajan.S

    Hi,
    Go to SE03 transaction.
    Now Go to <b>Object Directory Entry</b>
    click on <b>Change Object Directory Entries</b>
    now in the screen tick the check box,R3TR ,<b>FORM</b>
    enter your form name .and execute it.
    now click on the form name for which you want to find, you can find the Object Directory Entry.
    Regards
    vijay

  • Regarding development class in BAPI.

    Hi All,
           i want to know whether we actaully need a development class while creating a BAPI?
    suppose if we save BAPI in local object and if we want to realese that BAPI,is that possible?or in other words does the dev class has anything to do with the release of BAPI?
    Thanks ,

    Hi,
    Though the 3rd pary application is going to call the BAPI which you are going to created in DEV system, still you need to assign a development class and transport the BAPI to Testing/Production system.
    1. If you do not create a transport for the BAPI, then BAPI would be available only in DEV system. So the 3rd party application should logon to DEV system and call your BAPI.
    2. If BAPI is transported to Production ( If you create and release the TR), then 3rd party application will logon to PROD system and call your BAPI.
    For more info : RFC( SAP R/3)  to  XI  to  3rd party Application
    Best regards,
    Prashant
    PS : Please reward all helpful answers with appropriate points.

  • Regarding OBJECT class. A question please.

    A question regarding the Object class.
    Please correct me in case I am wrong.
    If I create a class called Foo :
    class Foo{
          Foo(){
    }The constructor of class Foo automatically invokes the constructor
    of its super class.ie it is like saying :
    class Foo{
      Foo(){
        super();
    }Am I Right?
    Even if the Foo class constructor does not include a call to 'super',
    it is implicitly invoked.
    That is the reason the Foo class can invoke/send messages toe methods defined by 'Object',
    as 'super' defined on Foo's constructor constructs/instantiates 'Object'
    Am I Right again ?
    Now,I have just noticed that the Object class does not contain any constructor
    So how can the constructor of Foo call super implicitly if the Object class
    does not contain any constructor.

    So how can the constructor of Foo call superimplicitly if the Object class
    does not contain any constructor.Even if you don't specify one, there will alwaysbe
    at least a no-args c'tor.But if you do specify a ctor with args, the
    compiler will not insert a no-arg ctor for you.That why I said there is "at least" a no-args (or more args) c'tor [in any class].

  • Regarding Super classes

    Hi,
    I have created one class in SE24. This class will be used as a super class for other classes.
    When subclasses are derived from this superclass, i want to make sure that some of the methods of superclasses are redefined by the subclasse compulsarily.
    So i want to force the subclasses to redefine complusarily some of the methods of its super class.
    Is this feasible. If so please let me know the corresponding approach.
    Thanks in advance !
    Pramod

    Hi,
    Check this out this will help you.
    Inheritance is the concept of passing the behavior of a class to another class.
    1.You can use an existing class to derive a new class.
    2.Derived class inherits the data and methods of a super class.
    3.However they can overwrite the methods existing methods and also add new once.
    4.Inheritance is to inherit the attributes and methods from a parent class.
    Inheritance:
    Inheritance is the process by which object of one class acquire the properties of another class.
    Advantage of this property is reusability.
    This means we can add additional features to an existing class with out modifying it.
    Go to SE38.
    Provide the program name.
    Provide the properties.
    Save it.
    Provide the logic for inheritance.
    *& Report  ZLOCALCLASS_VARIABLES                      *
    *&----------------------------------------------------*REPORT  ZLOCALCLASS_VARIABLES.
    *OOPS INHERITANCE
    *SUPER CLASS FUNCTIONALITY
    *DEFINE THE CLASS.
    CLASS CL_LC DEFINITION.
    PUBLIC SECTION.
    DATA: A TYPE I,
          B TYPE I,
          C TYPE I.
    METHODS: DISPLAY,
             MM1.
    CLASS-METHODS: MM2.
    ENDCLASS.
    *CLASS IMPLEMENTATION
    CLASS CL_LC IMPLEMENTATION.
    METHOD DISPLAY.
    WRITE:/ 'THIS IS SUPER CLASS' COLOR 7.
    ENDMETHOD.
    METHOD MM1.
    WRITE:/ 'THIS IS MM1 METHOD IN SUPER CLASS'.
    ENDMETHOD.
    METHOD MM2.
    WRITE:/ 'THIS IS THE STATIC METHOD' COLOR 2.
    WRITE:/ 'THIS IS MM2 METHOD IN SUPER CLASS' COLOR 2.
    ENDMETHOD.
    ENDCLASS.
    *SUB CLASS FUNCTIONALITY
    *CREATE THE CLASS.
    *INHERITING THE SUPER CLASS.
    CLASS CL_SUB DEFINITION INHERITING FROM CL_LC. "HOW WE CAN INHERIT
    PUBLIC SECTION.
    DATA: A1 TYPE I,
          B1 TYPE I,
          C1 TYPE I.
    METHODS: DISPLAY REDEFINITION,     "REDEFINE THE SUPER CLASS METHOD
             SUB.
    ENDCLASS.
    *CLASS IMPLEMENTATION.
    CLASS CL_SUB IMPLEMENTATION.
    METHOD DISPLAY.
    WRITE:/ 'THIS IS THE SUB CLASS OVERWRITE METHOD' COLOR 3.
    ENDMETHOD.
    METHOD SUB.
    WRITE:/ 'THIS IS THE SUB CLASS METHOD' COLOR 3.
    ENDMETHOD.
    ENDCLASS.
    *CREATE THE OBJECT FOR SUB CLASS.
    DATA: OBJ TYPE REF TO CL_SUB.
    START-OF-SELECTION.
    CREATE OBJECT OBJ.
    CALL METHOD OBJ->DISPLAY. "THIS IS SUB CLASS METHOD
    CALL METHOD OBJ->SUB.
    WRITE:/'THIS IS THE SUPER CLASS METHODS CALLED BY THE SUB CLASS OBJECT'COLOR 5.
    SKIP 1.
    CALL METHOD OBJ->MM1.     "THIS IS SUPER CLASS METHOD
    CALL METHOD OBJ->MM2.
    *CREATE THE OBJECT FOR SUPER CLASS.
    DATA: OBJ1 TYPE REF TO CL_LC.
    START-OF-SELECTION.
    CREATE OBJECT OBJ1.
    SKIP 3.
    WRITE:/ 'WE CAN CALL ONLY SUPER CLASS METHODS BY USING SUPER CLASS OBJECT' COLOR 5.
    CALL METHOD OBJ1->DISPLAY. "THIS IS SUPER CLASS METHOD
    CALL METHOD OBJ1->MM1.
    CALL METHOD OBJ1->MM2.
    This example will help you to solve your problem.
    For more detailed information GOTO -> SAPTECHNICAL ->Tutorials -> Object Oriented Programming.
    Regards Madhu.
    Code Formatted by: Alvaro Tejada Galindo on Jan 7, 2009 12:13 PM

  • Query regarding Application Classes.

    While going through the Application classes, I've come accross a code where a Property is defined without a name as follows.
    class BusinessUnitOptions
    property boolean get;
    end-class;
    Can anybody tell me how it works and what is the concept behind it?
    Thanks & Regards,
    Saurabh

    Actually Saurabh, PeopleCode is usually quite strict about the use of keywords. For example, error is a keyword. As such, error cannot be a method of a class. On the other hand, just for a test, I created a class with the methods get(), class(), private(), boolean(), Record(), and CreateRecord() and was able to call those methods from a test program. I tried creating methods named if and error, but those keywords won't compile. Just for fun, I tried creating functions named boolean, class, and private. The functions compile, but I can only call boolean. Even though the class and private functions compile, the code that calls them wont.
    Even though it works, I strongly discourage the practice of using reserved words for method and function names. I'm sure you already know this, but I just want to make it clear to all who read this thread.

  • Regarding Vector classes in JSP

    Hello,
    Where we actually use the vector classes in jsp page.Is there any necessary to use Vector classes in jsp programs instead of database.Or is there any conditions like here we have use vector instead of DataBase.

    JSP pages are part of the "view" layer in the MVC design pattern.
    As such, it is advisable to seperate them from the model/control layer. For this reason, database code in a JSP page is undesirable.
    The controller normally queries the model, places the results into a collection/vector, makes them available to the jsp page. All the jsp page knows is that it gets the collection - nothing about where it came from or how the model is accessed.
    It is not NECESSARY to do so. You can easily put SQL statements, and scriptlets into your JSP pages. But keeping that stuff out makes for more easily understood and maintainable web applications.
    Cheers,
    evnafets

  • A query regarding a class function

    What is/are the difference(s) between static and non--static function of a class?
    I mean, a 'static' keyword anyways states that all instances of the class would share the same function. So does that mean a 'non-static' function of a class, 'provides' a copy of the function to each class instance?
    Plz help me in clearing my doubts.
    Thanks.

    Non-static methods aren't given copies of the method. They need a reference to an instance but the instance doesn't get its own copy of the method. So you don't have to worry about wasting memory by using non-static methods, if that's what you're thinking.

  • Regarding persistent classes  & objects

    Hi all,
    I am new to abap objects, please  give me some simple links of persistent classes & object.
    Let me know the difference between persistent classes & other simple classes..
    I ensure you for points!
    cheers.

    Hi,
    Transient and persistent data
    In principle, ABAP programs work with local program data, which resides in the program’s internal session. This data lives only as long as its context – that is, as long as its associated procedure (for local procedure data); its object (for attributes of classes); or its program (for global program data). This data is known as transient. Data that can be preserved beyond the runtime of the program is known as persistent. In SAP Systems, persistent data usually occurs as the content of database tables, but also as the content of files on application and presentation servers.
    To work with persistent data, the system has to load it into transient data objects belonging to the ABAP program while that program is being executed. Then, after processing has been completed, it stores the data in a persistent form again. During this time, the content of the data exists twice: once in the ABAP program (transiently), and once in the appropriate storage medium (persistently). A typical process would be reading data from a database table using the SELECT statement into a transient work area; modifying the work area; and then updating the database table (using UPDATE). In such cases, the contents of transient and persistent data are different in the interim during this process.
    Data in object-oriented programming
    In an ideal object-oriented application, data occurs only as the attributes of objects (if we ignore the local data in methods for the time being). Objects are an aggregation of functions (in methods) and data (in attributes). The description of an object – that is, the class – occurs persistently as a piece of source code, but its attributes exist only as long as the object. However, an object in ABAP Objects is transient in principle. It exists in the internal program session only from the time it is generated (using CREATE OBJECT) until it is deleted by the Garbage Collector. Therefore, to work with persistent data in objects, you must program access to where those objects are stored within the methods of the class.
    However, in completely object-oriented business application programming, then it is pointless simply to transfer the classical separation of data and functions to the methods – that is, to work with objects, but use procedural programming within the objects themselves. Ideally you could save the encapsulation of data and functions persistently within the object instead. A program could then leave an object in a certain state and a second program could continue working on the object in that state. Classes of objects are already persistent anyway, but you need some way of saving the attributes of an object persistently and then make reference to the appropriate class. The Persistence Service allows you to do exactly that.
    Persistent Classes
    To use the Persistence Service for objects, the classes of these objects must be created as persistent classes in the Class Builder. The term persistent class does not imply that a class is persistent. (As a template for objects, every class is persistent). Rather, it means that the objects of that class and their state are managed by the Persistence Service. For example, the objects of these classes are instantiated in the ABAP program with a method of the Persistence Service, which ensures that the initialization is correct (not with the usual CREATE OBJECT statement). When the Class Builder creates a persistent class, it automatically generates an associated class, known as the class actor or class agent, whose methods manage the objects of persistent classes. As well as their identity, persistent classes can contain key attributes, which allow the Persistence Service to ensure that the content of each persistent object is unique.
    Managed Objects
    The objects of persistent classes are managed by the Persistence Service. This means, among other things, that these objects are instantiated with a method of the class actor, not with the CREATE OBJECT statement. These objects are known as managed objects. Objects managed by the Persistence Service can be either persistent or transient.
    Persistent objects must be managed by the Persistence Service. The Persistence Service connects the object and the database.
    Transient objects of persistent classes are also managed by the Persistence Service. For example, the Persistence Service ensures that the object is unique within a program (by checking its key attributes), but not for a connection to the database.
    Plz refer to this link:
    http://help.sap.com/saphelp_nw70/helpdata/en/f5/a3682ebc6911d4b2e80050dadfb92b/content.htm
    Thanks,
    Samantak.
    Rewards points for useful answers.

  • Need info regarding DeliveryRequest class.

    Hi,
    In my program I have used DeliveryManager and DeliveryRequest class to upload a file in server by SFTP.
    My query is , will file get append to the server or it will replace the file in server.
    see below for my code.
    //create DeliveryManager instance for FTP
    DeliveryManager dm = new DeliveryManager();
    log.writeln("create delivery manager instance",1);
    DeliveryRequest req = dm.createRequest(DeliveryManager.TYPE_SFTP);
    log.writeln("create request",1);
    req.addProperty(DeliveryPropertyDefinitions.SFTP_AUTH_TYPE,
    DeliveryPropertyDefinitions.SFTP_AUTH_TYPE_PASSWORD);
    req.addProperty(DeliveryPropertyDefinitions.SFTP_HOST,HostName);
    req.addProperty(DeliveryPropertyDefinitions.SFTP_USERNAME,UserName);
    req.addProperty(DeliveryPropertyDefinitions.SFTP_PASSWORD,Password);
    req.addProperty(DeliveryPropertyDefinitions.SFTP_REMOTE_DIRECTORY,OutputDirectory);
    req.addProperty(DeliveryPropertyDefinitions.SFTP_REMOTE_FILENAME,FileName);
    req.setDocument(InputDirectory+FileName);
    log.writeln("Submited The FTP request For FileName:"+FileName+" HostName:"+HostName+" ........",1);
    DeliveryResponse dr=req.submit(); //File transfer FTP request
    req.close();
    log.writeln("Successfully FTPed..",1);

    Why not simply try it out (with a test.txt file, not something important) and be 100% sure? Whatever anyone here tells you can be a brutal lie so you need to check for yourself what is said anyway.

  • Regarding to classes

    in a class
    class a
    psvm(String args[])
    char a[10];//assigning some thing to this character array
    int p;
    james j= new james()// I need to pass that character array and integet to that function
    Can any one explain how to pass thes in to another class or function

    in a class
    class a
    psvm(String args[])
    char a[10];//assigning some thing to this character
    array
    int p;
    james j= new james()// I need to pass that
    character array and integet to that function
    Can any one explain how to pass thes in to another
    class or function
    char a[10];is garbage.
    Please use some code conventions and don't use meaningless acronyms like psvm for method names.

  • Regarding Generics classes

    I have confusion with below code...
    which of them are valid inserts?
    class Parent<E>
    public E get() { return null;}
    public void set(E e) { }
    class Child extends Parent<Number>
    //insert here
    options given to insert are
    a public Object get() { ... }
    b public Long get() { ... }
    c public void set(Object arg) { ... }
    d public void set(Long arg) { ... }
    e public Number get() { ... }
    and ans is b,d,e.Iam fine with it.
    But i have confusion with option c.Why "option c" is wrong?In option c,
    we hava "Object arg" as argument, so isn't it a valid overloading example?
    see here their is a statement in above code "class child extends Parent<Number> ".
    Therefore
    set(E e) of Parent class should be "set(Number e), "
    and in child class if we have option c, which is set(Object e), then what is wrong in it?Wont it be a vaild overloading example

    I have confusion with below code...
    which of them are valid inserts?
    class Parent<E>
    public E get() { return null;}
    public void set(E e) { }
    class Child extends Parent<Number>
    //insert here
    options given to insert are
    a public Object get() { ... }
    b public Long get() { ... }
    c public void set(Object arg) { ... }
    d public void set(Long arg) { ... }
    e public Number get() { ... }
    and ans is b,d,e.Iam fine with it.
    But i have confusion with option c.Why "option c" is wrong?In option c,
    we hava "Object arg" as argument, so isn't it a valid overloading example?
    see here their is a statement in above code "class child extends Parent<Number> ".
    Therefore
    set(E e) of Parent class should be "set(Number e), "
    and in child class if we have option c, which is set(Object e), then what is wrong in it?Wont it be a vaild overloading example

  • Help needed regarding Scanner class

    hello
    i'm really desperate for help, i'll mention that this is homework,but i need a small guidance.
    i need to code a calculator,we need to use the Scanner class to break the expression to tokens(we CANNOT use other classes).
    my main problem is about getting those tokens from the input string.
    i tried breaking a string to tokens for hours but just couldnt do it.
    a legal expression is something like:
    xyzavbx1111+log(abc11*(2+5))+sin(4.5)
    iilegal is : xx333aaaa111+2 or log()+2
    where the alphanumerics are variables(sequence of letters followed by numbers)
    i managed to get the tokens out of a string that looks like that:
    String expression = "ax11111+32/3+4*2^2"
    by doing:
    _token = new Scanner(expression);
    while(hasNext(_token)) getNextToken(_token,"\\d+(\\.\\d+)?|(\\+)|(\\-)|(\\*)|(\\/)|(\\^)|([a-zA-Z]+(\\d+));
    public static boolean hasNext(Scanner s) {
    return s.hasNext();
    public static String getNextToken(Scanner s,String str) {
    return s.findInLine(str);
    but i can't get the tokens when i have sin ,cos or log in the expression
    either it just ignores it or i'm looping infinitely.
    my question is how can i make the regular expression include the sin log and cos?
    I also know that when i'll use the "matches" method ,i'll be able to spot illegal arguments like 5//2+ because it doesnt match the pattern.
    so any help conecrning the regular expression would be great thanks alot.

    thx , but i already got it,after trying tons of combinations
    i'll post the format i used in case someone will find this thread in the future ,while looking for something similar
    the format is:
    "(\\s)|(log)|(sin)|(cos)|(\\d+(\\.\\d+)?)|(\\+)"+
    "|(\\-)|(\\*)|(\\/)|(\\^)|([a-zA-Z]+(\\d+))|(\\()|(\\))|(\\s)";
    which includes white spaces between arguments and operators

Maybe you are looking for

  • How can I downgrade to the previous version I was using? It was better, more user-friendly, than my current one.

    Around two months ago I upgraded my Firefox. I don't remember to what version (and to my surprise, when I clicked on Firefox today, it automatically upgraded to version 5, which seems to me to have the same problem), but it doesn't have an icon to st

  • PO approved error in notification

    Hi Guys, I'm working with SRM 7.0. We are getting an error when the agent approves the PO. A notification should go to the initiators inbox, but an error is appearing in SWI1: Work item 000000005312: Object /SAPSRM/CL_WF_EVENT_ADAPTER method TRIGGER_

  • Mini and LG 47LD450 display issue   

    Just bought this LG last night and set everything up. Fired up my mini (early 09) through VGA . Changed display resolution to 1920x1080 and it seemed to be fine . But I noticed it's cut off on the right side. About an inch or two. Enough to where I c

  • Strange Swing bug in Oracle's JDK7

    I have a strange bug with every java app i run with the Java 7 VM. Every frame is limited to a maximum width of 1024 pixels. Doesn't matter if you try to resize it by code or dragging the border with the mouse pointer. I have a Macbook with Mac OSX 1

  • IMac 24" boots only in Safe mode

    iMac Intel 24" aluminum 3.06 processor, Graphics NVIDIA 8800 GS,from June 2008. Mac OS 10.6.7 It started a few days ago by flickering the upper part of the screen(horizontal strips) during normal use. After reboot the problem reappeared. Ata certain