Vnedor Ageing R eport through ABAP

Hi,
I want to develop the vendor ageing report in which i want to display only the Ageing concpet only rather than Net discount or over due pasyments.
I had searched on SDN and google but i did not got the desiered result. I am currently using the BSIK table for it and using the baseline date as a parameter and posting date as a select options.
I want to know what other fields should be taken so that only ageing data should be displayed in it rather than net discount or over due...

Hi
In one my requirement to display vendor balance aging report we were using field BLDAT of table BSIK.
Regards
Srilaxmi

Similar Messages

  • Creation of IDOC through abap program.

    hello all,
    I hav created idoc through abap program. I hav used FM 'Master_idoc _distrribute'.this program creates an idoc but giving status 30. can any one tell me how to get status 03. I hav already created port, Logical sys,partner no.,distribution model.
    My Program is as follows:
    ABLES : CRMD_ORDERADM_I,CRMD_ORDERADM_H,CRMD_SCHEDLIN.
    DATA : S_CTRL_REC LIKE EDIDC OCCURS 0 WITH HEADER LINE,"Idoc Control Record
           ORDER_NO TYPE CRMT_OBJECT_ID VALUE '5000000032'," SEGMENT ORDER DATA
           PRODUCT TYPE CRMT_ORDERED_PROD VALUE 'SRV_01',
           QUANTITY TYPE CRMT_SCHEDLIN_QUAN VALUE '1.000'.
    DATA : ZORDER LIKE ZORDER_NUM OCCURS 0 WITH HEADER LINE.
    DATA :  T_EDIDD LIKE EDIDD OCCURS 0 WITH HEADER LINE.     "Data Records
    DATA :  T_COMM_IDOC LIKE EDIDC OCCURS 0 WITH HEADER LINE. "Generated Communication IDOc
    CONSTANTS :
    C_ZRZSEG1 LIKE EDIDD-SEGNAM VALUE 'ZORDER_NUM'.
    PARAMETERS :  C_MESTYP LIKE EDIDC-MESTYP DEFAULT 'ZORDER_IDOC2', "Message Type
                  C_RCVPRT LIKE EDIDC-RCVPRT DEFAULT 'LS',          "Partner type of receiver
                  C_LOGSYS LIKE EDIDC-RCVPRN DEFAULT 'BSNL_OUT',
                  C_RCVPOR LIKE EDIDC-RCVPOR DEFAULT 'A000000006',
                  C_SNDPOR LIKE EDIDC-SNDPOR DEFAULT 'SAPBCD0000',
                  C_SNDPRN LIKE EDIDC-SNDPRN DEFAULT 'BCDCLNT100',
                  C_IDOCTP LIKE EDIDC-IDOCTP DEFAULT 'ZORDER2',
                  C_SNDPRT LIKE EDIDC-SNDPRT DEFAULT 'LS'.          "Destination System
    ***START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM GENERATE_CONTROL_RECORD.
      PERFORM SEND_IDOC.
    *&      Form  generate_control_record
    FORM GENERATE_CONTROL_RECORD .
      S_CTRL_REC-RCVPOR = C_RCVPOR. "Receiver Port
      S_CTRL_REC-MESTYP = C_MESTYP. "Message type
      S_CTRL_REC-IDOCTP = C_IDOCTP. "Basic IDOC type
      S_CTRL_REC-RCVPRT = C_RCVPRT. "Partner type of receiver
      S_CTRL_REC-SNDPOR = C_SNDPOR. "SENDER PORT
      S_CTRL_REC-RCVPRN = C_LOGSYS. "Partner number of receiver
      S_CTRL_REC-SNDPRT = C_SNDPRT. "Sender Partner type
      S_CTRL_REC-SNDPRN = C_SNDPRN. "Sender Partner Number
    APPEND S_CTRL_REC.
    ENDFORM.                    " generate_control_record
    *&      Form  send_idoc
    FORM SEND_IDOC.
    ZORDER-ORDER_NO = ORDER_NO.
    ZORDER-PRODUCT = PRODUCT.
    ZORDER-QUANTITY = QUANTITY.
    APPEND ZORDER.
    T_EDIDD-SEGNAM = C_ZRZSEG1.
    T_EDIDD-SDATA = ZORDER.
    APPEND T_EDIDD.
      CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
        EXPORTING
          MASTER_IDOC_CONTROL            = S_CTRL_REC
        TABLES
          COMMUNICATION_IDOC_CONTROL     = T_COMM_IDOC
          MASTER_IDOC_DATA               = T_EDIDD
        EXCEPTIONS
          ERROR_IN_IDOC_CONTROL          = 1
          ERROR_WRITING_IDOC_STATUS      = 2
          ERROR_IN_IDOC_DATA             = 3
          SENDING_LOGICAL_SYSTEM_UNKNOWN = 4
          OTHERS                         = 5.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        COMMIT WORK.
        LOOP AT T_COMM_IDOC.
          WRITE:/ 'IDoc Generated - ', T_COMM_IDOC-DOCNUM.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " send_idoc
    I hav created segment , basic type,message typealso and release also .I also linked them.
    Plz help me.
    Hemlata

    Hi Hemalatha,
    Just call this Progream RSEOUT00 from your Zprogram and pass the basic parameters like IDOC number, Basic type,Partner number etc.
    You can check the parameters by executing the Program RSEOUT00.
    This Program will change the status of your IDOC 30 to 03.
    Thanks.
    Note:Reward Points if you find useful.

  • How to Add data in HR infotype 2011 through ABAP

    Hi All,
    Can any one please give me an idea about how to insert time record in Infotype 2011 through ABAP. I cannot use the front end recording (SHDB) as it locks the person's master data. I need to Add the record through ABAP Query. I have inserted record in Table TEven and it works fine but then there is a conflict of sequence number field and system does not allow to change the data in infotype 2011 and gives error message.
    Thanks

    Hi amit
           even i have same requirement i tried with the same code but i'm getting error No data stored for infotype 2011 in the period.
    code:
       CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
            EXPORTING
              number        = wa_modify-pernr
           IMPORTING
             RETURN        = return
          clear return.
          CALL FUNCTION 'HR_INFOTYPE_OPERATION'
            EXPORTING
              infty                  = p_infty
              number                 = wa_modify-pernr
    *         SUBTYPE                =
    *         OBJECTID               =
    *         LOCKINDICATOR          =
    *         VALIDITYEND            = wa_modify-ldate
    *         VALIDITYBEGIN          =
    *         RECORDNUMBER           =
              record                 = wa_modify
              operation              = 'MOD'
             TCLAS                   = 'A'
             DIALOG_MODE             = '0'
    *         NOCOMMIT               =
    *         VIEW_IDENTIFIER        =
    *         SECONDARY_RECORD       =
           IMPORTING
             RETURN                 = return
    *         KEY                    =
          CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
            EXPORTING
              number        = wa_modify-pernr
    *       IMPORTING
    *         RETURN        =

  • How to call Biztalk  through ABAP-DYNPRO

    Hi All  ,
    I want to call a function module which  in  BIZTALK Server through
    ABAP-DYNPRO ( by service call) . for this I require  Destination details ( in  service call ) .
    Can anyone please send me the Destination details or the approach  to follow for calling the  Biztalk ?
    Thanks in advance ..
    Regards
    Rahul

    Run a search on Web service calls from WDA.
    This topic has been addressed on numerous occassions.
    You can call BIZ-TALK using a web service.
    You could also call it using straight HTTP .
    There are classes in ABAP to allow you to write an HTTP client app if required.
    If possible go the Webservice route.
    IE have you Biztalk guy generate a WSDL for the call.
    The follow instructions on numerous threads on calling web services.
    Cheers
    Phil.

  • How to pass table data to brf plus application through abap program

    Dear All,
    i have a question related to BRF Plus management through abap program.
    In brf plus application end, Field1,field2,field3 these 3 are importing parameters.
                                           Table1->structure1->field4,field5 this is the table,with in one structure is there and 2 fields.
    in my abap program, i am getting values of fields let us take field1,field2,field3,field4,field5.
    And my question is
    1) How to pass fields to BRF Plus application from abap program.
    2)How to pass Table data to BRF Plus application from abap program.
    3)How to pass Structure data to BRF Plus application from abap program.
    4)How to get the result data from BRF Plus application to my abap program.
    And finally , how to run FDT_TEMPLATE_FUNCTION_PROCESS.
    How do i get the code automatically when calling the function in brf plus application.
    Regards
    venkata.

    Hi Prabhu,
    Since it is a Custom Fm i cant see it in my system.
    Look if u want to bring data in internal table then there could be two ways::
    1) your FM should contain itab in CHANGING option , so that u can have internal table of same type and pass through FM,
    2) read values one by one and append to internal table.
    Thanks
    Rohit G

  • Can we create a Calender through abap in hr module

    Dear Freinds
                could any body let me know can we create a Calender  through abap .
    my requirement is user is asking me to create a calnder .....and give me him a tcode..........when we click on the calnder for him a rport should be displayed ........
    as he would like to place an object on each particular day........once he lick on that
    day and futher clicks on that object he should get details of the object.
    Please let me know..........as this little bit urgent.
    regards
    vams

    Dear Freinds
                could any body let me know can we create a Calender  through abap .
    my requirement is user is asking me to create a calnder .....and give me him a tcode..........when we click on the calnder for him a rport should be displayed ........
    as he would like to place an object on each particular day........once he lick on that
    day and futher clicks on that object he should get details of the object.
    Please let me know..........as this little bit urgent.
    regards
    vams

  • Steps in BW for intigration with PI system through ABAP proxy communication.

    Hello Experts,
    Need your help.
    We need to extract data from PI system through ABAP proxy communication. Kindly suggest the steps need to be perform on BW side.(from data source creation to setting up the delta queue )
    Thanks,
    Arpan

    Hi Raja Sekhar,
      Thanx for the quick reply.
      If i have got you point right, you are telling me to right a program that will fetch the PO's and push the data into our Interface.
    Let me explain you the complete scenario, we already have a ECC to SUS thrgh PI implemeted for the same PO's generated. Our requirement is that depending on the vendor details in PO's we have got to route the PO details to either SUS or BPM.
    I had thought of writing a prgm but the abapers feel that a standard BADI for the same would lessen their efforts.
    Meanwhile can you explain with a little more detail the standard approach you are referring to... probably some material relating to this would help us...
    thanx a lot..
    waiting for your reply,
    Nandan

  • HTTP Request to Integration Server through ABAP Mapping

    Hi Experts,
    I need to send HTTP Request to Integration Server through ABAP Mapping.
    Could you please provide me ABAP code which will post data to Integration Server.
    Thanks,
    Abdur

    Hi Abdur,
       Can you explain your requierement more clearly?
    Abap mapping is purely to convert the data in source structure to data in target structure.
    It is not the job of Mapping to send data.
    Regards,
    ravi

  • Parallel Processing through ABAP program

    Hi,
    We are trying to do the parallel processing through ABAP. As per SAP documentation we are using the CALL FUNCTION STARTING NEW TASK DESTINATION.
    We have one Z function Module and as per SAP we are making this Function module (FM)as Remote -enabled module.
    In this FM we would like to process data which we get it from internal table and would like to send back the processed data(through internal table) to the main program where we are using CALL FUNCTION STARTING NEW TASK DESTINATION.
    Please suggest how to achieve this.
    We tried out EXPORT -IMPORT option meaning we used EXPORT internal table in the FM with some memory ID and in the main program using IMPORT internal table with the same memory ID.  But this option is not working even though ID and name of the internal table is not working.
    Also, SAP documentation says that we can use RECEIVE RESULTS FROM FUNCTION 'RFC_SYSTEM_INFO'
    IMPORTING RFCSI_EXPORT = INFO in conjunction with CALL FUNCTION STARTING NEW TASK DESTINATION. Documentation also specifies that "RECEIVE is needed to gather IMPORTING and TABLE returns of an asynchronously executed RFC Function module". But while creating the FM remote-enabled we cant have EXPORT or IMPORT parameters.
    Please help !
    Thanks in advance
    Santosh

    <i>We tried out EXPORT -IMPORT option meaning we used EXPORT internal table in the FM with some memory ID and in the main program using IMPORT internal table with the same memory ID. But this option is not working even though ID and name of the internal table is not working</i>
    I think that this is not working because that memory does not work across sessions/tasks.  I think that the
    IMPORT FROM SHARED BUFFER and EXPORT TO SHARED BUFFER would work.  I have used these in the past and it works pretty good.
    Also,
    here is a quick sample of the "new task" and "recieve" functionality.   You can not specify the importing parameters when call the FM.  You specify them at the recieving end.
    report zrich_0001 .
    data: session(1) type c.
    data: ccdetail type bapi0002_2.
    start-of-selection.
    * Call the transaction in another session...control will be stop
    * in calling program and will wait for response from other session
      call function 'BAPI_COMPANYCODE_GETDETAIL'
               starting new task 'TEST' destination 'NONE'
                   performing set_session_done on end of task
        exporting
          companycodeid             = '0010'
    * IMPORTING
    *   COMPANYCODE_DETAIL        = ccdetails
    *   COMPANYCODE_ADDRESS       =
    *   RETURN                    =
    * wait here till the other session is done
      wait until session = 'X'.
      write:/ ccdetail.
    *       FORM SET_session_DONE
    form set_session_done using taskname.
    * Receive results into messtab from function.......
    * this will also close the session
      receive results from function 'BAPI_COMPANYCODE_GETDETAIL'
        importing
           companycode_detail        = ccdetail.
    * Set session as done.
      session = 'X'.
    endform.
    Hope this helps.
    Rich Heilman

  • Create Attachment in workflow through ABAP Class in ECC 5.0

    Hi,
    Wr are using SAP ECC 5.0 and i am trying to create attachment through ABAP class.
    Here in ECC 5.0, macro INCLUDE cntn01_swc is not available.
    I am getting an error in declaration of SOFM object, because again SWC0_OBJECT is not available.
    I've tried creating the parameter as type SOFM and of type table of SOFM but it also not working.
    Can anybody help me how i can create SOFM instance in ABAP class in ECC 5.0?
    Regards,
    Smit

    Hi
    I am not very much sure about ECC 5.0 environment. Firstly are you looking to create a SOFM object inside any class or program or Function module , If yes then you need to include a include INCLUDE CNTN01_SWC (No arrow brackets) if this include is not available then use INCLUDE<CNTN01>  then declare a variable of type SWC0_OBJECT if you are using first include or declare of type SWC_OBJECT.
    Once you include any of the includes then by making use of SWC macros you can create a object
    SWC0_CREATE_OBJECT <VARAIBLE> <BOR NAME> <BORKEY> for first include.
    SWC_CREATE_OBJECT <VARAIBLE> <BOR NAME> <BORKEY> for second include.
    Regards
    Pavan

  • Updating HRP table through abap codes - is it correct

    Hi all,
    In my hrp1001 table,I want that All Qualifications (Q) and Tasks (T) assigned to all the functional roles (ZF) existing in the system should be transferred to the positions(S) tagged to those respective functional roles.
    For that I am supposed to write a code which copies the entries from Qualifications (Q) and Tasks (T) and tag the same to the positions (S).
    Below is the sample code which is adding just one record to HRP1001 through abap statment. What I am curious to know is wheather it is logically correct to update HRP  table through abap statments or no. If not, Please let me know what should we do as a solution - should we update all records through LSMW of PP01 or any thing else we can do???
    REPORT  ZHRPAR0005 .
    TABLES: HRP1000, HRP1001.
    DATA IT_1001 LIKE HRP1001 OCCURS 5 WITH HEADER LINE..
    SELECT SINGLE * FROM HRP1001 INTO IT_1001 WHERE OTYPE = 'CP' AND PLVAR = '01' AND SCLAS NE 'S'.
    IT_1001-OTYPE = 'S'.
    APPEND IT_1001.
    INSERT INTO HRP1001 VALUES IT_1001.
    Thanks
    Ribhu

    Hi Ribhu..
    there are various FMs available for this purpose..
    use those... becasue if u directly insert, update or modify record in HRP1000 or HRP1001...
    then some related table might not be updated..
    So use FMs..
    RH_COPY_INFTY
    RH_CUT_INFTY
    RH_DELETE_INFTY
    RH_INSERT_INFTY
    RH_INVERT_RELA_INFTY
    RH_UPDATE_INFTY
    <b>For IT 1001 </b>
    RH_CUT_INFTY_1001_EXT
    RH_CUT_INFTY_1001_EXT_GENERIC
    RH_DELETE_INFTY_1001_EXT
    RH_DEL_INFTY_1001_EXT_GENERIC
    RH_INSERT_INFTY_1001_EXT
    RH_UPDATE_INFTY_1001_EXT
    RH_BASE_READ_INFTY_1001
    RH_READ_INFTY_1001
    RH_READ_INFTY_1001_EXT
    RH_READ_INFTY_1001_EXT_ONLY
    Reward if useful
    Regards
    Prax

  • Updating HRP tables through abap code- is it correct?

    Hi all,
    In my hrp1001 table,I want that All Qualifications (Q) and Tasks (T) assigned to all the functional roles (ZF) existing in the system should be transferred to the positions(S) tagged to those respective functional roles.
    For that I am supposed to write a code which copies the entries from Qualifications (Q) and Tasks (T) and tag the same to the positions (S).
    Below is the sample code which is adding just one record to HRP1001 through abap statment. What I am curious to know is wheather it is logically correct to update HRP table through abap statments or no. If not, Please let me know what should we do as a solution - should we update all records through LSMW of PP01 or any thing else we can do???
    REPORT ZHRPAR0005 .
    TABLES: HRP1000, HRP1001.
    DATA IT_1001 LIKE HRP1001 OCCURS 5 WITH HEADER LINE..
    SELECT SINGLE * FROM HRP1001 INTO IT_1001 WHERE OTYPE = 'CP' AND PLVAR = '01' AND SCLAS NE 'S'.
    IT_1001-OTYPE = 'S'.
    APPEND IT_1001.
    INSERT INTO HRP1001 VALUES IT_1001.
    Thanks
    Ribhu

    Hi Ribhu..
    there are various FMs available for this purpose..
    use those... becasue if u directly insert, update or modify record in HRP1000 or HRP1001...
    then some related table might not be updated..
    So use FMs..
    RH_COPY_INFTY
    RH_CUT_INFTY
    RH_DELETE_INFTY
    RH_INSERT_INFTY
    RH_INVERT_RELA_INFTY
    RH_UPDATE_INFTY
    For IT 1001
    RH_CUT_INFTY_1001_EXT
    RH_CUT_INFTY_1001_EXT_GENERIC
    RH_DELETE_INFTY_1001_EXT
    RH_DEL_INFTY_1001_EXT_GENERIC
    RH_INSERT_INFTY_1001_EXT
    RH_UPDATE_INFTY_1001_EXT
    RH_BASE_READ_INFTY_1001
    RH_READ_INFTY_1001
    RH_READ_INFTY_1001_EXT
    RH_READ_INFTY_1001_EXT_ONLY
    Reward if useful
    Regards
    Prax

  • Close Document Viewer window through ABAP program

    Hi Experts,
    I have requirement is
    to close opened Document Viewer window (Txn : SDV) through ABAP report
    If anybody worked on this please help me  regarding this.
    Thanks and Regards,
    Shivanand Kalagii

    easy one
    call method CL_DV_SDV=>GET_SINGLETON in order to get the current instance of Document Viewer
    then call method CLOSE_WINDOW of this instance

  • How to implement ESS Logoff through ABAP

    Hi,
    I need to implement Logoff Functionality in ESS through ABAP code.
    Note that our ESS works through ITS server.
    I have tried SPH_R3_LOGOFF and LMBP_RESOURCE_LOGOFF.
    But these FM's dont work in ESS environment (through ITS).
    Please anyone help me in this regard.

    Hi,
    The following SAP Note has some correction instruction which has some logging out code.
    Note 142724 - Prevention of multiple SAPGUI logons
    Maybe that helps.
    Regards,
    Siddhesh

  • How to crete Button through ABAP programming

    Hello Friends,
    I am creating 2 selection screens through ABAP code and using them in my Tabstrip control also created through ABAP programming.
    Can I also create button on the selection screen through abap programming. If yes then how, and how to assign funtion code and capture the Function Code???
    Moderator Message: Read the below advice.
    Edited by: kishan P on Dec 30, 2010 7:44 PM

    Have a look at F1 help on SELECTION-SCREEN. There should be an example as well.

Maybe you are looking for

  • HD 6750M VS. HD 6770M?

    We want to get new iMacs for students to learn Final Cut Pro, Premiere, After Effects and possibly Maya. Does anyone know if the lower end version with the lower end graphics card will work OK with this vs. getting the next model up? 21.5-inch: 2.5GH

  • Persisting text into a BLOB

    Hi, We have a BLOB column that is used to persist binary and text (each row has one or the other). I am not sure about how Oracle behaves whenever a piece of text is persisted as a BLOB. Lets assume we have an application using a character set C1 and

  • ARD fails CS6 package install

    I am having a problem with pushing Adobe Design & Web Premium CS6 (created via AAMEE 3.1) via ARD 3.6.1 to client Macs that meet the system requirements of a CS6 package. After a long period of time attempting to install the package, ARD fails on "in

  • Wlan - subnet size

    I'm wondering if there's a best practice regarding the subnet size of the dynamic interface. Is for example a /16 recommended, knowing broadcast/multicast to the clients are disabled. I've a setup where via aaa override, the users are placed in their

  • Bought av adapter to watch iPad on tv.  Plugged it in iPad and received message not compatible.  Both are apple products.  Unable to view movies on tv from iPad.  I also used hdmi cable

    Bought av adapter to watch iPad on tv.  Plugged it in iPad and received message not compatible.  Both are apple products.  Unable to view movies on tv from iPad.  I also used hdmi cable