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 PM
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.
Similar Messages
-
I need a bapi for material management advance shipping notifications
i need a bapi for material management advance shipping notifications for developing powls which includes below fields and some more fields.
Inbound delivery number
Due date (GR date)
Vendor delivery number
Material
Name of material
Quantity
Vendor
Name of vendor
thanks and regards,
jameer.pHi Jameer,
This is a hard one, my friend. I understand what you are trying to do.. Try BAPI_DELIVERYPROCESSING_EXEC. It is tricky though.
Moreover you might want to use a FM to fill the IDOC data. something like IDOC_INPUT_**. this might be a better option.
cheers,
Hema. -
I need a bapi for service order
i need a bapi for serviceorders the fields which i required in the output should be
GLTRI(Actual finish date),
FTRMP(Planned release date),
RMANR( SD Document Number),
POSNV_RMA(Item number of the SD document),
PM_OBJTY,
ARBPL.Dear Jammer,
This question can be put in ABAP forum. You can also try SD forum. Chances of getting a reply on this query is almost nil in this forum.
Please let me know in case of any query and keep revisiting this forum.
Regards,
Rakesh -
Hi,
I need a BAPI for Tcode 'OX19' so that the comapny codes for that Controlling area gets updated in the database.
Regards,
Deepthi.Hi,
Using the BAPI "BAPI_COAREA_GET_RELATED_CCODES" , I am able to view the company codes for that Controllling area. I need for Creation of Company codes for the controlling area. can you tell me please.
Regards,
deepthi. -
I need serial number for my elements 4.0 disc provided with my Leica camera?
i need serial number for my elements 4.0 disc provided with my Leica camera please?
It is almost impossible to transfer FCE as there are so many essential hidden files that workers in an Apple Store will know nothing about. The app needs to be installed from the original DVD.
Other than buying another copy your only chance (very remote) is to contact the Apple Store and see if they are able to get a replacement number from Apple. -
Need install files for Photoshop Elements/Premier 10.
I lost my install disks and my computer died. How do I get the files for photoshop elements/premier?
If you registered your products on-line you should be able to find the serial numbers which you will need. Then you could download the free-trials and make them permanent with the codes. That’s provided you haven’t already installed them more than once already.
Click the red Adobe logo at the top left of this forum page.
Then click My Adobe >> My Products & Services
Log in to your account using your Adobe ID
Expand your purchase history using the small black triangles to the left of the purchase date.
http://www.adobe.com/cfusion/tdrc/index.cfm?product=photoshop_elements&loc=en_us -
Need of bapi for getting details of material strage locations
hi all,
i need one bapi which gives details of for how many storage locations the material has been extended for particular plant..hi
this is a sample bapi for getdetails.
DATA : P0008 LIKE P0008.
DATA : ONDATE TYPE SY-DATUM.
SELECT SINGLE * FROM PA0008
INTO CORRESPONDING FIELDS OF P0008
WHERE PERNR = ITAB-PERNR
AND BEGDA <= ONDATE
AND ENDDA >= ONDATE.
DATA : WAGETYPES LIKE BAPIP0008P OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'BAPI_BASICPAY_GETDETAIL'
EXPORTING
EMPLOYEENUMBER = PERNR
SUBTYPE = P0008-SUBTY
OBJECTID = P0008-OBJPS
LOCKINDICATOR = P0008-SPRPS
VALIDITYBEGIN = P0008-BEGDA
VALIDITYEND = P0008-ENDDA
RECORDNUMBER = P0008-SEQNR
TABLES
WAGETYPES = WAGETYPES.
regards
sravani yendru -
Need a bapi for change component in CO02
hi!
i need to change mass old material in production order(CO02) .
so i need a bapi or FM to do it but i can't find it!
thank you very much!Hi,
Looks like we might not have the one...and you might need to go with BDC.....Check in Txn BAPI also.
Refer:
http://abaplog.wordpress.com/2007/10/10/navigating-component-screen-of-co02-with-bdc/
http://abaplog.wordpress.com/2007/10/10/navigating-component-screen-of-co02-with-bdc/ -
VB11 - CREATE MATERIAL DETERMINATION. need a BAPI for this
i have to develop an inbound interface program to create VB11 - CREATE MATERIAL DETERMINATION.
Can any one suggest me if there is any BAPI for doing this insted of going to BDC program .
Regards
RaadhaI don't think there will be any BAPI to do the update as material determination is itself dynamic depending upon which determination type you chose from - the key field combination changes accordingly. Just like updating pricing doesn't have any general purpose BAPI.
I think BDC is the only way out here -
Need a BAPI for FD01(customer Master data creation)
Hi Experts,
i want to upload a data from Legacy to sap for FD01 Tcode for Customer master creation, and what is the key points to dev bapi.
can anyone give me the BAPI for FD01.
Thanks,
sudha.Hi,
use bapi 'BAPI_CUSTOMER_CREATE' to create customer and bapi
'BAPI_VENDOR_CREATE' to create vendor.
Regards,
SuryaD. -
Need FM/BAPI for production order
Hi all
Let me know FM / BAPI for get component overview based on production order?hi
check this
BAPI_ALM_ORDER_GET_DETAIL
or check from SPRO>Production>Shop Floor Control-->System Modifications->Enhancement in the Adding and Changing of Components
-ashok -
Need standard BAPI for Block/Unblock Customer
Hi All,
is there Standard BAPI for Customer Block/Unblock .
Thanks in Advance.Hi,
below is a useful link which gives a list of bapi's,
http://www.mysaphelp.com/blog/?p=122
look out for V02D Customer Master: Read/Block
might be of some Help...
Thanks,
Naren -
Help needed in BAPI for uploading data in FB01 - Urgent!!!
Hi,
i need to post a document in FB01.
i am getting the following details from the user in a .CSV file.
Vendor no, vendor name, amount, document date, posting datem reference vendor line item text and Gl account line item text.
i am using BAPI BAPI_ACC_DOCUMENT_POST to post the document.
Now my req is if the amount is in negative then
use posting key 31 against the vendor and 40 for GL account
if its positive amounts
use posting key of 24 against vendor and 50 against the GL account.
Now by default, when the amount is negative the function is working fine.
but when its is positive its posting 21 against vendor and 50 against GL account. but i need 24 against vendor
can any one tel me, where should i pass these value in the BAPI?
or is there any other way of doing it?
Regards,
NiyazHi,
the posting keys 31/21 (01/11 and 40/50) are hard coded and cannot be populated from the interface. This is because a different posting key could have a different posting logic from what is implemented in the BAPI.
So unless you want to do some modifications here, you have to use the fixed PKs. Pls. let me know if you are interested in where exactly the PKs are defined (hardcoded). I have this noticed for myself earlier but my notices are on another PC
Hope that helps, points welcome
Csaba -
Need FM/BAPI for asset acquisitions, disposals and balances...
Hello Experts,
I need to create a report wherein it shows the asset acquisitions(S_ALR_87012050),
disposals/retirements(S_ALR_87012052) and balances(S_ALR_87011964).
Anybody has done this requirement? Please let me know what are the tables and BAPIS that
I need to use.
Hoe you can help me guys. Thank you and take care!Hi,
Pls check this link for Asset balances-
Asset balances
Regards
Lekha -
Hi Experts,
I am in need of a BAPI (not a function module) for performing Credit Check.
I already found a BAPI - BAPI_CREDITCHECK for this purpose, but it is not working properly when invoked from an external system.
I am now searching for any other BAPI available for this purpose.
My requirement is such that I CANNOT USE Function Modules instead of BAPIs.
Seeking your expertise in this regard.
Thanks in advance.
Regards,
KeerthiHi,
check out the following BAPIs.
BAPI_CREDITCARD_CHECK.
BAPI_CREDIT_ACCOUNT_GET_STATUS
hope it helps.
Regards
Rajesh Kumar
Maybe you are looking for
-
My macbook seems to be going crazy. At certain points (and for hours) I get the oh snap page on chrome, safari doesnt work, macbook wont let me create any files or for example upload music to itunes. I restored my mac so im sure its not a malware pro
-
Last night I tried to update to Aperture 3.4 on my MacBook Pro (late 2007 / 3,1 model) and received a message that I needed to install Mountain Lion 10.8.2 first. However, there was no update in my App Store account for 10.8.2. The update for 10.8.
-
Hi, Is there a way to include the UDF in the items master data into the <<Inventory In Warehouse Report (Detailed)>> PLD? I checked the default layout and found out all the column source type is "free text" and the content is #Item, how do I know the
-
Hi I am trying to switch the warning off that appears on Infotype 0105. The warning comes up if you put the same phone number for two employees. I did change the time constraint to "3" but this does not switch the warning off. What else can i do to s
-
HT4623 Trying to install iOS 6 via itunes. Whats the proper procedure to follow?
Trying to install iOS 6 with iTunes, whats the proper procedure to follow?