Hot Search: OWB Exceptions Table OSB fileadapter perfomans tuning NTILE( 20 ) OVER Message no. AC551 amazon mp3 downloader problems errors Sp Metal mail Directory mail ADAPTERS mail
Home >Default > I need a bapi  for workdownstructure elements

I need a bapi  for workdownstructure elements

-0001-11-30 | Default
Advertisement
i need a bapi  for workdownstructure elements 
•     WBS number
•     WBS descriptions
•     WBS start date
•     WBS end date
•     Status
thanks and regards,
jameer.p
Edited by: Jameer P on Jan 30, 2008 12:59 PM

Latest answer

Advertisement
Hai.
It may help you.
can use WS_DOWNLOAD like this:
L_T_HEADERS TYPE TABLE OF TEXT40.
IF SP_LOCAL = 'X'.
Headings: TEXT-U01 ... TEXT-U28
    DO 28 TIMES.
      CLEAR: L_F_INDEX,L_F_NAME,L_F_HEADERS.
      L_F_INDEX = SY-INDEX.
      CONCATENATE 'TEXT-U' L_F_INDEX INTO L_F_NAME.
      ASSIGN (L_F_NAME) TO <FS_HEADER>.
      L_F_HEADERS = <FS_HEADER>.
      APPEND L_F_HEADERS TO L_T_HEADERS.
    ENDDO.
    CALL FUNCTION 'WS_DOWNLOAD'
         EXPORTING
              FILENAME                = SP_FILE
              FILETYPE                = 'DAT'
         TABLES
              DATA_TAB                = L_T_OUT
              FIELDNAMES              = L_T_HEADERS
         EXCEPTIONS
              FILE_OPEN_ERROR         = 1
              FILE_WRITE_ERROR        = 2
              INVALID_FILESIZE        = 3
              INVALID_TYPE            = 4
              NO_BATCH                = 5
              UNKNOWN_ERROR           = 6
              INVALID_TABLE_WIDTH     = 7
              GUI_REFUSE_FILETRANSFER = 8
              CUSTOMER_ERROR          = 9
              OTHERS                  = 10.
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE 'I' NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      LEAVE PROGRAM.
    ELSE.
      DESCRIBE TABLE L_T_OUT LINES L_F_COUNT.
      MESSAGE I145 WITH L_F_COUNT SP_FILE.
    ENDIF.
Regards.
Sowjanya.b.

Related recommended

I need a bapi  for workdownstructure elements

i need a bapi  for workdownstructure elements  •     WBS number •     WBS descriptions •     WBS start date •     WBS end date •     Status thanks and regards, jameer.p Edited by: Jameer P on Jan 30, 2008 12:59 PMHai. It may help you. can use WS_DOWN [More]

-0001-11-30 Default

BAPI return empty element.

Guys, I have created one scenario SOAP -> BAPI (sync). BAPI ZMMF_GET_COMPANY My BAPI have 10 elements and 9 return with values. But i have 1 element with name "text1" and one return empty value always. When i execute the BAPI using tcode se37 [More]

-0001-11-30 Default

Is there any BAPI for Upload Documents of WBS elements?

Hi Guys,              Can anbody tell me is there any BAPI for Uploading Documents  of WBS elements ? Thanks, Gopi.hi check these BAPI Change WBS Elements Using BAPI                                                                                BAPI_ [More]

-0001-11-30 Default

Getting error in calling two different Bapi

Hi ALL , I want to create web-dynpro application Requirement : Main View contain one tabstrip 'T' which will display data from all the values. I am using one search Button 'B'and passing one number 777 For example :for search number 777 record should [More]

-0001-11-30 Default

Can i Bind more than one Model object to the Custom controller or not

Hi All, I trying to bind more than one model object to the custom controller, Both the model objects contains same attribute name called ( output). Both model objects created on to top of the BAPI. So when i bind first model object to the custom cont [More]

2015-10-11 Default

Dynamic entry list in Dropdown List Box

Hi All, I need to create a dropdown box in a form whose input is connected to the output of a bapi/query. I want the values of a field in the bapi to the elements of the entry list. Can anyone tell me how to create the entry list dynamically? Thanks, [More]

-0001-11-30 Default

Optional import parameter in abap webservice

I am using ECC 6.40. I have generated a webservice for a function module. In this function module i have an import parameter refering to a structure defined in data dictionary (SE11). The import parameter is optional. I see this in the virtual interf [More]

-0001-11-30 Default

BAPI_BUS2054_CREATE_MULTI Mandatory I/P values?

Hi Guys,              can anybodytell me what are the mandatory I/P  paramters to be populated for Creation of WBS elements for the BAPI BAPI_BUS2054_CREATE_MULTI? Thanks, Gopi.Hi Ravi, I have an problem with the BAPI. I want to create a WBS Element [More]

-0001-11-30 Default

BDC for Transaction 'CJ20N'

Hi, I want to create project in Tcode 'CJ20N' automatically through BDC program. I am going into subscreen 'Find next number' to get the next available number and create project with that number. Can u please tell me what r the steps for running subs [More]

-0001-11-30 Default

Webservice generated from ABAP

I am using ECC 6.40. I have generated a webservice for a function module. In this function module i have an import parameter refering to a structure defined in data dictionary (SE11). The import parameter is optional. I see this in the virtual interf [More]

-0001-11-30 Default

Click Ranking

  • BDC transaction "The function is not possible"

    Dear Experts, I have made a BDC transaction program according to recording from SHDB in order to have batch transaction for FB50. However, when I run the program. It shows an error "The function is not possible". But when I press the "Save&

  • Problem while creating Data connection In ABAP......

    Hi Experts,     I am tryning to create a adobe form in which i need to create a data connection using a WSDL file. But i am coing across the problem as cannot find the path of th url. i tried to create the WSDL in 2 ways and i came across the same er

  • USB to HDMI adapter for external display in clamshell mode?

    Hello. Does anyone know of a USB to HDMI (or DVI) adapter so that I can connect an external display (with an HDMI or DVI cable) to a USB port on my Macbook air?  I need to run it in clamshell mode, mirroring the Air display. The Monoprice  USB to HDM

  • JList with multiple lines of text

    Hello everyone, I have a JList where I want to put in every cell of the JList a text of 5 lines. Does anyone know how to do that? Thank youhttp://java.sun.com/products/jfc/tsc/tech_topics/jlist_1/jlist.html The JList component implements Swing's modi

  • JSP, c:forEach, and import / include(s)

    To any, I'm having a bit of a problem. I'm currently working on a webapp which basically translates information in an XML file to a neat webpage, using Spring MVC / JSP / JSTL / the works. There's several items in the XML file that are of the same fo

  • How do I set a reminder for every 20 minutes?

    A Windows-to-Mac migrant wants to set a reminder on her MacBook Pro/Mavericks to appear every 20 minutes. In Windows, I used Task Scheduler to launch a text file "Stand up and stretch!" every 20 minutes. It would appear, and after stretching, I'

  • IDOC Status message

    HI I have to pick IDOC status message in my report program.  For this I am referring the table EDIDS. My doubt is some times the IDOC status message is storing in the field ‘STATXT’ and some times the idoc status message is storing in the fields STAP

  • How do I change the spellcheck dictionary in OS Mavericks?

    The spellcheck works well and I don't want to disable it. However it is extremely anoying for those of us living in Oklahoma as it constantly tries to change OK (as in Oklahoma) to Okay. I tried to edit the dictionary as instructed for previous versi

  • Windows 7/CS3 Portions not showing up in Start but in x86

    As I've installed CS3 Design Premium on my new Windows 7 system, Photoshop and InDesign do not show up on the start menu, however, they can be found in the Program Files (x86) folder with the rest of the program. Photoshop can be started from there,

  • Using Apple compact keyboard with pre-10.5.6 OS version?

    Hello, I was considering to purchase one of those new compact keyboards (the wired one), but was a bit put off to see it requires 10.5.6 or newer?! I presume that's either a documentation glitch, or if not, just how many keys are there with a functio