Is there any function module for purchase order change
Hi Experts,
Is there any function module for purchase order change or i need to do new recording in me22n.
Thanks,
Senthil
Hi
Function module <b>BAPI_PO_CHANGE</b> enables you to change purchase orders. The Change method uses the technology behind transaction ME22N.
Regards,
Viven
Similar Messages
-
Is there any function module for getting distribution list name
Hi all,
Is there any function module for getting distribution list name when there is same description for two distribution list name.
or
help me how to fetch the correct distribution name when there is same description.
In order to send mails.
Tell me ASAP.
thanks
sagar.http://www.sapbrainsonline.com/REFERENCES/FunctionModules/SAP_function_modules_list.html
list of Fms -
Hi is there any function module for radix conversion
Hi,
I need to convert number of base 36 to decimal number. Is there any function module for that.
i.e) z to 35
10 to 36
11 t0 37Hai,
This program perfectly converts a number from one number system to another number system.
REPORT Z_RADIX_CONVERSION.
PARAMETERS:
P_S_RAD(2) TYPE N, " Source Radix
P_D_RAD(2) TYPE N, " Destination Radix
P_S_NUM(5) TYPE C. " Source Number
*" Data declarations...................................................
Work variables *
DATA:
W_LEN TYPE I,
W_FACT TYPE I,
W_D_NUM(5) TYPE N,
W_T_LEN TYPE I,
W_NUM TYPE C,
W_NUM1 TYPE I,
W_REM TYPE I,
W_INDEX TYPE I VALUE 20,
W_T_NUM(30) TYPE C,
W_T_NUMBER(5) TYPE N.
IF P_S_RAD GE 1 AND
P_S_RAD LE 16 AND
P_D_RAD GE 1 AND
P_D_RAD LE 16.
IF P_S_RAD EQ 01 AND P_S_NUM CO '0 ' OR
P_S_RAD EQ 02 AND P_S_NUM CO '01 ' OR
P_S_RAD EQ 03 AND P_S_NUM CO '012 ' OR
P_S_RAD EQ 04 AND P_S_NUM CO '0123 ' OR
P_S_RAD EQ 05 AND P_S_NUM CO '01234 ' OR
P_S_RAD EQ 06 AND P_S_NUM CO '012345 ' OR
P_S_RAD EQ 07 AND P_S_NUM CO '0123456 ' OR
P_S_RAD EQ 08 AND P_S_NUM CO '01234567 ' OR
P_S_RAD EQ 09 AND P_S_NUM CO '012345678 ' OR
P_S_RAD EQ 10 AND P_S_NUM CO '0123456789 ' OR
P_S_RAD EQ 11 AND P_S_NUM CO '0123456789A ' OR
P_S_RAD EQ 12 AND P_S_NUM CO '0123456789AB ' OR
P_S_RAD EQ 13 AND P_S_NUM CO '0123456789ABC ' OR
P_S_RAD EQ 14 AND P_S_NUM CO '0123456789ABCD ' OR
P_S_RAD EQ 15 AND P_S_NUM CO '0123456789ABCDE ' OR
P_S_RAD EQ 16 AND P_S_NUM CO '00123456789ABCDEF ' .
W_LEN = STRLEN( P_S_NUM ).
W_T_LEN = W_LEN - 1.
DO W_LEN TIMES.
W_NUM = P_S_NUM+W_T_LEN(1).
CASE W_NUM.
WHEN 'A'.
W_NUM1 = 10.
WHEN 'B'.
W_NUM1 = 11.
WHEN 'C'.
W_NUM1 = 12.
WHEN 'D'.
W_NUM1 = 13.
WHEN 'E'.
W_NUM1 = 14.
WHEN 'F'.
W_NUM1 = 15.
WHEN OTHERS.
W_NUM1 = W_NUM.
ENDCASE.
W_D_NUM = W_D_NUM + W_NUM1 * ( P_S_RAD ** W_FACT ).
ADD 1 TO W_FACT.
SUBTRACT 1 FROM W_T_LEN.
ENDDO.
ELSE.
WRITE'Invalid Number'(003).
ENDIF.
ELSE.
WRITE'Enter radix between 1 and 16 '(002).
ENDIF.
W_T_NUMBER = W_D_NUM.
IF P_D_RAD = 1.
DO W_D_NUM TIMES.
WRITE'O'.
ENDDO.
ELSE.
WHILE W_T_NUMBER NE 0.
W_REM = W_T_NUMBER MOD P_D_RAD.
CASE W_REM.
WHEN 10.
W_T_NUM+W_INDEX(1) = 'A'.
WHEN 11.
W_T_NUM+W_INDEX(1) = 'B'.
WHEN 12.
W_T_NUM+W_INDEX(1) = 'C'.
WHEN 13.
W_T_NUM+W_INDEX(1) = 'D'.
WHEN 14.
W_T_NUM+W_INDEX(1) = 'E'.
WHEN 15.
W_T_NUM+W_INDEX(1) = 'F'.
WHEN OTHERS.
W_T_NUM+W_INDEX(1) = W_REM.
ENDCASE. " CASE W_REM.
SUBTRACT 1 FROM W_INDEX.
W_T_NUMBER = W_T_NUMBER DIV P_D_RAD.
ENDWHILE.
ENDIF.
WRITE:
/10 'The Equivallent number in Base'(001),
P_D_RAD,
'is',
W_T_NUM.
<b>Reward points if helpful .</b>
regards,
rama pammi -
Is there any function module for converting text to hyperlink?
Hello all,
I am designing an application in BSP wherein the user can enter hypertext values for some
of the data enteries in the database table. Is there any function module available for converting
text into hypertext. Eg. if the user enters 'www.mypersonalwp.com' then it should convert this
text value into a hyperlink.
Thanks in advance.
Gurmahima.Hi,
Refer the given below link
http://help.sap.com/saphelp_erp2004/helpdata/EN/85/ce25c2d7ae11d3b56d006094192fe3/content.htm
Hope it helps you
Thanks
Arun Kayal -
Hi, is there any function module for se16 transaction?
Hi help me out, can refer function module RS_TABLE_LIST_CREATE....found it
The below are the list of Function Modules for se16 ...
<b>
1.ATT_GET_TABLE_ENTRIES
2.R_GET_VALUES_FROM_TABLES
3.S_DATABROWSE_FIELDSELECT
4.S_INTERNAL_TABLE_VIEW
5.S_TABLE_CONTROL_GENERATE
6.S_TABLE_REPORT_GENERATE
7.S_TABLE_VIEW
8.S_TABLE_VIEW_DDIC</b>
you can use 6th or 7th function module for displaying the table data .
reward points if it is usefull ...
Girish -
Function Module for PM Order Change?
Hello Everyone,
I want to change a plant maintenance Order's Header Data, operations list and object list.
Is there any existing function module for this.
R/3 version which I am using is 4.6c.
I have found a function module 'ALM_ME_ORDER_CHANGE' but unable to change any of the order's data using this.
Thanks & Regards,
SwatiHi,
Here is the Function Module : BAPI_ALM_ORDER_MAINTAIN
Reward Points if it is usefull..
Girish -
Any Function module for Date conversion
Hi,
In my output the date is coming like 80999898 but the actual date is 01.01.1900.
Could you please tell me is there any Function module for that.
Regards,
TusharUse the conv. exit CONVERSION_EXIT_INVDT_OUTPUT for this purpose.
BR,
Suhas -
Function module for sales order VC characteristics
Hi All,
Is there any function module for fetching sales oder VC characteristics.
RegardsPlease use FM: VC_I_GET_CONFIGURATION.
Please pass "VBAP-CUOBJ" in the exporting parameter INSTANCE and it should return you configuration in the Table parameter 'CONFIGURATION'.
Let me know if this works.
Thanks,
Neeraj -
Is there any Function module available for GR IR for purchase order
Hi
Is there any function module available in SAP to get the list of Goods Received and Invoice Reciept for a purchase order.
One way to create a custom fuction to fetch the details from MSEG and BKPF.
Can somebody suggest a better solution.
Thanks in advance.
Ruhi HiraWhich table in BAPI_PO_GETDETAILS exactly has these information ?
PO_HEADER_TEXTS
PO_ITEMS
PO_ITEM_ACCOUNT_ASSIGNMENT
PO_ITEM_SCHEDULES
PO_ITEM_CONFIRMATIONS
PO_ITEM_TEXTS
PO_ITEM_HISTORY
PO_ITEM_HISTORY_TOTALS
PO_ITEM_LIMITS
PO_ITEM_CONTRACT_LIMITS
PO_ITEM_SERVICES
PO_ITEM_SRV_ACCASS_VALUES
RETURN
PO_SERVICES_TEXTS
EXTENSIONOUT
NFMETALLITMS
Regards
Ruhi Hira -
Is there any function module which will upload storage locations for a mat
Hi gurus,
Is there any function module or BAPI to extend the storage locations of material which is done through <b>MMSC</b> transaction. I need to write a program to upload new storage locations for some materials.Please advise.
Thanks ,
Sam.You can do this using the BAPI_MATERIAL_SAVEDATA
Regards,
Rich Heilman -
Function Module for Production order configuration
Hi,
I have variant configuration scenario.
I have to run the transaction CO01 in the background.
Is there any Function module, by which i can configure the production order in the back ground.
As of now, when i am doing it manually but not able to find any BAPI for that.
any help will be highly appreciated !!
Thnx in Advance
AshishHi,
try BDC
Pls refer below link
http://www.sap-img.com/bdc.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/309cb157-738d-2910-7691-b74c4ddba3c7
Regards,
Sankaran -
Functional module for production order operation standard values
Hi,
Is there any functional module/BAPI available where I can get the 'Standard Valuse' (Setup/Machine/Labor) from production order operations directly?
Regards,Hi Caetano,
Thank you for your reply.
I checked suggested BAPI BAPI_PRODORD_GET_DETAIL, it gives me the operation details like control key, Activity name (like KMCH, KMOD) but not its standard values (values for: Setup/Machine/Labor).
Could you please check and confirm?
The FM: PM_ORDER_DATA_READ gives me all details but as name start with PM, I am not sure if its only related to 'Plant maintenance' orders and if its ok to use this FM for PP production orders.
Please suggest.
Regards, -
Is there any function modules or BAPI's
Is there any function modules or BAPI's that would delete the original partner and then add a new partner.Iam using BAP
bapi_alm_notif_data_modify
But iam not able to change partner in notification header
Please give your input for sovling itDear Rama,
In the bapi_alm_notif_data_modify, there are 2 structure
NOTIFPARTNR STRUCTURE BAPI2080_NOTPARTNRI OPTIONAL
NOTIFPARTNR_X STRUCTURE BAPI2080_NOTPARTNRI_X OPTIONAL
Pass yr partner value in NOTIFPARTNR, and against the value make it "X" in the NOTIFPARTNR_X , then u can change the partner value.
Give point if helpfull
Thanks -
Is there any function module to give absolute value of a number?
Hi,
Is there any function module to give absolute value of a number?
That has similar functionality to the Built in Function ABS.
Please let me know.
Thanks,
cshi,
why are you looking for any function module.
You can easily get it by mathematical function ABS .
Syntax : <Turget Variable> = ABS <Source Variable>
\[removed by moderator\]
Anirban Bhattacharjee
Edited by: Jan Stallkamp on Jun 27, 2008 4:19 PM -
Is there any function module to convert the date format
Dear ABAPers,
Is there any function module to convert the date format from dd.mm.yyyy to dd-mmm-yyyy.
I want to convert the date format from dd.mm.yyy to dd.mmm.yyy Eg.from 10.03.2008 to 10-mar-2009.
Thanks & Regards,
Ashok.hi,
create custom function module or copy the below code in the report ..and use it
the out put for below is :----Convert a DATE field into a full format date eg. March 23, 2000
FUNCTION Z_CONVERT_DATE_INTO_FULL_DATE.
""Local interface:
*" IMPORTING
*" VALUE(DATE) LIKE SY-DATUM
*" EXPORTING
*" VALUE(FORMATTED_DATE)
*" EXCEPTIONS
*" INVALID_DATE
TABLES: TTDTG.
DATA: BEGIN OF T_DATE,
YYYY(4) TYPE C,
MM(2) TYPE C,
DD(2) TYPE C,
END OF T_DATE.
DATA: DAY(3) TYPE N.
DATA: VARNAME LIKE TTDTG-VARNAME.
IF DATE IS INITIAL.
CLEAR FORMATTED_DATE.
EXIT.
ENDIF.
check document date format
CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
EXPORTING
DATE = DATE
EXCEPTIONS
PLAUSIBILITY_CHECK_FAILED = 1.
IF SY-SUBRC NE 0.
RAISE INVALID_DATE.
ENDIF.
MOVE DATE TO T_DATE.
CONCATENATE '%%SAPSCRIPT_MMM_' T_DATE-MM INTO VARNAME.
SELECT SINGLE * FROM TTDTG WHERE SPRAS = 'EN' AND VARNAME = VARNAME.
WRITE T_DATE-DD TO DAY.
CONCATENATE DAY ',' INTO DAY.
CONCATENATE TTDTG-VARVALUE DAY T_DATE-YYYY INTO FORMATTED_DATE
SEPARATED BY SPACE.
ENDFUNCTION.
the output is :--Convert a DATE field into a full format date eg. March 23, 2000
Regards,
Prabhudas
Maybe you are looking for
-
My MacBook has been suffering for the last 2 and a half years or so, and finally called it quits today. There were many things wrong with it, but the most debilitating issue was with the battery; if the computer wasn't plugged into a wall, it would i
-
ITunes crashes about 50% of the time I try to sync
Hello, Since the most recent update iTunes crashes about half the time when I try to sync my iPod Touch. I had the problems updating, but I eventually got through the error related to mobile devices. When the sync works, everything is fine. Apps up
-
Sort order notes iOS 6.0
Since it is finally possible to sort my Notes with MacOS 10.8.2 I am desperately seeking for the same possibility on my iPhone and iPad (iOS 6.0). It does neither use the sort-order (alphabetically!!!) from my desktop Mac nor am I able to change the
-
Painless migration of 2 partitions to 1?
How can I do a pain-free migration of 2 partitions (one contains the system, the other non-Apple apps/utilities) to 1 large one? Is it as simple as a Finder-copy and a Repair Permissions session? I'm dimly aware that apps won't launch if this is done
-
Hi, When i try to create a sales order for my customer, i leave the initial sales area blank....on the create customer: initial screen. I then enter the sold-to-party in the sales order overview screen and then it prompts me to enter my sales area