Assigning values to the charecterstics in a purchase order
Hello,
I have to create the configuration object and assign the values to it in a purchase order.
I am able to generate the temporary CUOBJ using FM CUXM_SET_CONFIGURATION but not able to save it to the database.
I am using FM CUCB_CONFIGURATION_TO_DB to save the cuobj to the DB but getting a short dump.
MESSAGE_TYPE_X
Technical information about the message:
Message class...... "CUIB1"
Number.............. 699
And hence not able to run the FM 'CUCB_CONFIGURATION_TO_DB' properly.
Can anyone help me how do I create the cuobj, assign values to it and then save it to the purchase order...
Any help will surely be rubarbed...
Thanks in advance.
Husain
Thank you for your respond, but I have few questions:
myText = myText.replace(/\bred\b/gi, "<font color='#ff0000'><a href='event:redClick'>$&</a></font>");
-myText.replace: how this finction works?
-what is this?
/\bred\b/gi
-it's not a link , I need a hover listener to this spesific word.
-where do you assign the word you want to highlight? And can I assign more than one word without writing the same code over again?
-this looks like html and I don't use any in my project, can you write this line without html?
<font color='#ff0000'><a href='event:redClick'>$&</a></font>
I don't understand the functionality of these line:
var pattern:RegExp = new RegExp("\(\?\<\=\\s)" + string + "(?=[\\s|\,])", "ig");
var result:Object = pattern.exec(text);
while (result) {
textField.setTextFormat(highLightFormat, result.index, result.index + string.length);
result = pattern.exec(text);
what is
RegExp?
result?
pattern.exec?
Sorry if these are alot of questions, I just want to understand.
Similar Messages
-
Restrict display of Condition Value in the Conditions tab in Purchase Order
Dear All,
We have a requirement that in the Conditions tab the condition value column should be displayed as blank to users other than those related to Purchasing and Costing.
I have checked that there are no standard authorization objects to restrict these.
Any inputs on how to achieve this?
Thanks!
TejasavHi,
you can influence fields using BADI ME_PROCESS_PO_CUST. I don't think that you can disable just your field but you should be able to hide whole tab "Conditions". So you can perform your own authorization check in implementation of this BADI and then display or hide tab.
Cheers -
How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0
How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?
Hi,
First go thourh the FM import export parameters list.
Try to create an internal table of type INRI-NRRANGENR for number ranges.
We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
Try to create the ncessary ones using this FM.
In the Exit, EXIT_SAPMM06E_001,
the Export parameters are-
EKKO-EBELN- the PO ios created with in that specified range
Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
Try to code this in the Include provded and keep Breakpint and check the PO number generated.
Reply if u need more help on this.
Reward if helpful.
Best Wishes,
Chandralekha -
How can i assign value to the certain field in dynmic table ?
i have created a dynmic table .now i want to assign value to the certain field,how can i do that?
for eg,
<dyn_table> contains fields of name age ,now i want assign 'jack' to this internal talbe's field name ,Hi,
try this:
FIELD-SYMBOLS: <GT_ITAB> TYPE TABLE,
<GS_ITAB>,
<FS>, <FS1>.
DATA: GT_DATA TYPE REF TO DATA.
DATA: GS_DATA TYPE REF TO DATA.
START-OF-SELECTION.
CREATE DATA GT_DATA TYPE TABLE OF PA0002.
ASSIGN GT_DATA->* TO <GT_ITAB>.
CREATE DATA GS_DATA LIKE LINE OF <GT_ITAB>.
ASSIGN GS_DATA->* TO <GS_ITAB>.
ASSIGN COMPONENT 'NACHN' OF STRUCTURE <GS_ITAB> TO <FS>.
<FS> = 'Smith'.
ASSIGN COMPONENT 'VORNA' OF STRUCTURE <GS_ITAB> TO <FS>.
<FS> = 'Paul'.
APPEND <GS_ITAB> TO <GT_ITAB>.
ASSIGN COMPONENT 'NACHN' OF STRUCTURE <GS_ITAB> TO <FS>.
<FS> = 'Jones'.
ASSIGN COMPONENT 'VORNA' OF STRUCTURE <GS_ITAB> TO <FS>.
<FS> = 'Martin'.
APPEND <GS_ITAB> TO <GT_ITAB>.
LOOP AT <GT_ITAB> INTO <GS_ITAB>.
ASSIGN COMPONENT 'NACHN' OF STRUCTURE <GS_ITAB> TO <FS>.
ASSIGN COMPONENT 'VORNA' OF STRUCTURE <GS_ITAB> TO <FS1>.
WRITE: / <FS>, <FS1>.
ENDLOOP.
Regards, Dieter -
How can i dynamically assign values to the tld file
How can i dynamically assign values to the tld file
In the tld you write for the tag handler mention the following sub tags in the attribute
<attribute>
<name>xyz</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
import the packagejavax.servlet.jsp.tagext.DynammicAttributes;
add the method
public void setDynamicAttribute(String rui, String localname, Object value) throws JspException
<Your Required task>
Its better if you SimpleTagSupport class to be extended. -
What is the BADI while SAVING purchase order using me22n?
what is the BADI while SAVING purchase order using me22n?
while i will save purchase order through me22n, badi should be fire what is badi for that?
regards,
dushyant.Dushyant,
Hopefully you know how to implement the BADI ME_PROCESS_PO_CUST now.
The following are the codes that you can put in the method "Post".
DATA: LW_HEADER TYPE MEPOHEADER,
LW_POSTED_HEADER TYPE MEPOHEADER,
LW_VALID TYPE MMPUR_BOOL,
ITAB_ITEM TYPE PURCHASE_ORDER_ITEMS,
LW_ITEM TYPE MEPOITEM,
ITEM_INTERFACE TYPE PURCHASE_ORDER_ITEM,
ITAB_ACCT TYPE PURCHASE_ORDER_ACCOUNTINGS,
ACCT_INTERFACE TYPE PURCHASE_ORDER_ACCOUNTING,
LW_ACCT TYPE MEPOACCOUNTING,
LW_POSTED_ACCT TYPE MEPOACCOUNTING,
W_ACCT_CHANGED TYPE C,
W_GRANT_AMT TYPE EKPO-NETWR,
W_FINANCE_AMT TYPE EKPO-NETWR,
W_FLAG TYPE C.
Check if PO header data is valid
CLEAR LW_VALID.
CALL METHOD IM_HEADER->IS_VALID
RECEIVING
RE_VALID = LW_VALID.
CHECK LW_VALID = 'X'.
PO header data is valid
Get the newly updated PO header data
CLEAR LW_HEADER.
CALL METHOD IM_HEADER->GET_DATA
RECEIVING
RE_DATA = LW_HEADER.
Get the posted PO header data
CLEAR LW_POSTED_HEADER.
CALL METHOD IM_HEADER->GET_PERSISTENT_DATA
IMPORTING
EX_DATA = LW_POSTED_HEADER
EXCEPTIONS
NO_DATA = 1.
IF SY-SUBRC <> 0.
CLEAR LW_POSTED_HEADER.
ENDIF.
Get PO line items
REFRESH ITAB_ITEM.
CALL METHOD IM_HEADER->GET_ITEMS
RECEIVING
RE_ITEMS = ITAB_ITEM.
LOOP AT ITAB_ITEM INTO ITEM_INTERFACE.
Check if PO line item is valid
CLEAR LW_VALID.
CALL METHOD ITEM_INTERFACE-ITEM->IS_VALID
RECEIVING
RE_VALID = LW_VALID.
IF LW_VALID <> 'X'.
This PO line item is not valid
CLEAR W_ACCT_CHANGED.
EXIT.
ENDIF.
CLEAR LW_ITEM.
CALL METHOD ITEM_INTERFACE-ITEM->GET_DATA
RECEIVING
RE_DATA = LW_ITEM.
Get the account interface
REFRESH ITAB_ACCT.
CALL METHOD ITEM_INTERFACE-ITEM->GET_ACCOUNTINGS
RECEIVING
RE_ACCOUNTINGS = ITAB_ACCT.
LOOP AT ITAB_ACCT INTO ACCT_INTERFACE.
CLEAR LW_ACCT.
Get the newly updated PO item data
CALL METHOD ACCT_INTERFACE-ACCOUNTING->GET_DATA
RECEIVING
RE_DATA = LW_ACCT.
CLEAR LW_POSTED_ACCT.
Get the posted PO item data
CALL METHOD ACCT_INTERFACE-ACCOUNTING->GET_PERSISTENT_DATA
IMPORTING
EX_DATA = LW_POSTED_ACCT
EXCEPTIONS
NO_DATA = 1.
IF SY-SUBRC > 0.
CLEAR LW_POSTED_ACCT.
ENDIF.
IF LW_ACCT-LOEKZ <> LW_POSTED_ACCT-LOEKZ OR
LW_ACCT-KOSTL <> LW_POSTED_ACCT-KOSTL OR
LW_ACCT-PRCTR <> LW_POSTED_ACCT-PRCTR OR
LW_ACCT-PS_PSP_PNR <> LW_POSTED_ACCT-PS_PSP_PNR.
Account assignment was changed
We will force this PO to go through workflow
W_ACCT_CHANGED = 'Y'.
ENDIF.
ENDLOOP.
ENDLOOP. -
The long text for purchase order text field in mm03
Hi,
Please provide me long text for purchase order field.in mm03 the view purchase order text having the long text for purchase order.this is enter when ever your creating the material.but we have table and field name for that and also how to handle this long text.please provide me urgently.
Thanks & Regards,
Radhakrishna.Hi,
A sample code for ur requirement.
TABLES : ekko, "Purchasing Document Header
ekpo, "Purchasing Document Item
thead. "SAPscript: Text Header
DATA: t_theads LIKE stxh OCCURS 0 WITH HEADER LINE.
DATA: t_tlines LIKE tline OCCURS 0 WITH HEADER LINE.
DATA: v_ebeln_ebelp(15) TYPE c.
TYPES: BEGIN OF t_download,
ebeln LIKE ekko-ebeln,
ebelp LIKE ekpo-ebelp,
tdobject LIKE stxh-tdobject,
tdid LIKE stxh-tdid,
tdspras LIKE stxh-tdspras,
count(4) TYPE c,
tdformat LIKE tline-tdformat,
tdline LIKE tline-tdline,
END OF t_download.
TYPES: BEGIN OF t_header,
line1(20) TYPE c,
line2(20) TYPE c,
line3(20) TYPE c,
line4(10) TYPE c,
line5(10) TYPE c,
line6(10) TYPE c,
line7(10) TYPE c,
line8(10) TYPE c,
END OF t_header.
DATA: g_filename TYPE string.
DATA: gt_header TYPE STANDARD TABLE OF t_header.
DATA: gs_header TYPE t_header.
DATA: gt_download TYPE STANDARD TABLE OF t_download.
DATA: gs_download TYPE t_download,
gt_tlines LIKE tline OCCURS 0 WITH HEADER LINE.
DATA: v_subrc TYPE subrc.
DATA: v_nb_lines TYPE i.
DATA: v_ok TYPE i.
DATA: v_ko TYPE i.
DATA: v_ow TYPE i.
DATA: p_fname TYPE string.
DATA: g_append.
SELECTION SCREEN *
SELECT-OPTIONS : s_ebeln FOR ekko-ebeln.
PARAMETERS:
p_filedn(132) TYPE c OBLIGATORY,
p_file(132) TYPE c OBLIGATORY.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_filedn.
PERFORM file_f4_get CHANGING p_filedn.
START-OF-SELECTION.
*Select all the purchase order corresponding to select criteria
CLEAR t_theads. REFRESH t_theads.
SELECT *
FROM ekko
WHERE ebeln IN s_ebeln.
*Select all the text for P.O. header
SELECT * FROM stxh
APPENDING TABLE t_theads
WHERE tdobject = 'EKKO'
AND tdname = ekko-ebeln.
*Select Item of each P.O.
SELECT *
FROM ekpo
WHERE ebeln = ekko-ebeln.
CONCATENATE ekpo-ebeln ekpo-ebelp
INTO v_ebeln_ebelp.
*Select the text for P.O. item.
SELECT * FROM stxh
APPENDING TABLE t_theads
WHERE tdobject = 'EKPO'
AND tdname = v_ebeln_ebelp.
ENDSELECT. "select ekpo
ENDSELECT. "select ekko
DESCRIBE TABLE t_theads LINES v_nb_lines.
LOOP AT t_theads.
Read the text from pool
CLEAR thead.
REFRESH t_tlines.
CALL FUNCTION 'READ_TEXT' "#EC *
EXPORTING
id = t_theads-tdid
language = t_theads-tdspras
name = t_theads-tdname
object = t_theads-tdobject
IMPORTING
header = thead
TABLES
lines = t_tlines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
MOVE-CORRESPONDING thead TO gs_download.
gs_download-ebeln = thead-tdname+0(10).
IF thead-tdobject = 'EKPO'.
gs_download-ebelp = thead-tdname+10(5).
ENDIF.
gs_download-count = 0.
LOOP AT gt_tlines.
gs_download-tdformat = gt_tlines-tdformat.
gs_download-tdline = gt_tlines-tdline.
gs_download-count = gs_download-count + 1.
APPEND gs_download TO gt_download.
ENDLOOP.
CLEAR gs_download.
ENDLOOP.
END-OF-SELECTION.
Hope this helps.
please reward points if useful.
Regards
rose -
How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?
Dear Friends,
I am absolutely agree with your answer .
But my question is,
Lets say.....
One customer sending X number of purchase orders in a day , so how many IDocs generated on that specific day for that specific customer .
So, Question is , How can we find the no of sales orders(IDocs) generated for the customers on the specific day ?
Hope you all understood my requirement .
Thanks & Regards,
Aditya -
Conditions not appearing in the display mode of Purchase order
Hi,
We are facing an issue where in the display mode of Purchase order,if I click on the conditions tab in the item details, Iam getting a blank screen. But if I trigger the pricing procedure in the change mode for eg. by changing the quantity or price, the conditions are appearing.
I want to know why the conditions are not being shown in the display mode. All the PO's are using the standard pricing proceduresRM0000.
Also when I trigger the pricing in the change mode for some POs the condition types like PB00, NVAS etc are appearing twice, in some POs the condition types are appearing thrice and in some all the condition types are appearing four times.
I have checked out some OSS notes like 798449, 456690 and 772035 but could not find the solution.
Any pointers to this will be eagerly awaited and highly appreciated.Hi Ramachandra,
The problem on not being able to see details in condition tab is due to lack of authorizations
prasanna -
How to enter a specific vendor for the delivery costs in purchasing order?
Now I want to create a purchasing order including planned deliver costs such as Freight, Coustoms ect, as the vendor of such planned deliver costs is different from the goods supplier, then How to enter a specific vendor for the delivery costs in purchasing order? That means the partner for invoice partner will be two vendors at least in one purchasing order. thanks very much.
<i>
<b>No one would like to answer this question?</b></i>
Message was edited by:
King Qihi,
You can have vendor at each condition record level.
try it out.
cheers
Rav -
How to include email address of the consignee in ORDERS05 purchase orders?
Helllo,
how can the email address of the consignee be included to the address data in purchase orders of the type ORDERS05?
The email address should fit somewhere in here:
< E1EDKA1 >
< PARVW > WE </ PARVW >
< LIFNR > 1234</ LIFNR >
< NAME1 > COMPANYNAME </ NAME1 >
< NAME2 > A.NONYMUS </ NAME2 >
< STRAS > 1 Highstreet </ STRAS >
< STRS2 > 1.C.110 </ STRS2 >
< ORT01 > Ratingen </ ORT01 >
< PSTLZ > 40882</ PSTLZ >
< TELF1 > +49 2102 123456 </ TELF1 >
The email address is part of the ADDRESS DETAILS of the purchase order.
The dynpro field is: SZA1_D0100-SMTP_ADDR
Is it possible to send this address only to a specific vendor?
Your help is very much appreciated!
KarstenHello there,
Following is the URL for the widget.
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=3072025
Thanks,
Vish -
How to see the ouput of a purchase order on screen??
Hi all , how to see the output of a purchase order (ME23) on screen?
Points will be awarded!!!!
Thanks & Regards
JohnHi,
If any output tye is associated to PO and it is been triggered then User ME9F tocde to view the output.
To check thise first Use: ME23 and click on Messages, if any outputs are triggered and they are in Yellow status then Use ME9f. Once you execute you will get Outputs in the screen, then choose the output and click on Display Message button. Your output will be displayed on the screen.
Regards,
Ashok -
I am a teacher that uses the iPad in the classroom. I have an itunes account setup for my classroom without a credit card listed. Is there anyway for me to purchase apps to use in the classroom with a Purchase Order?
(Being sarcastic - its because only the US is big or important enough to warrant volume licensing....)
At this time, until Apple decides to release volume licensing structures outside of the US the only solution would be to use your purchase orders with a company that sells the iTunes Vouchers and redeem those.
However - even then its hard to stay on the right side of the EULA when the terms are all couched in reference to "Personal Use"
I have spoken to some developers in the past about educational discounts, or even support for proxies, and wasn't really impressed with their answers. But hey - even Adobe has trouble with proxies and consistent approaches - we can't expect independent developers to be able to match the same capabilities... -
WHATS THE FLOW OF A PURCHASE ORDER WITH REGARS TO MATERIAL MANAGEMENT ?
WHATS THE FLOW OF A PURCHASE ORDER WITH REGARDS TO MATERIAL MANAGEMENT ?
Hi
see the MM flow with related Transaction codes
MM Cycle:
Purchase Requisition-> Staff in an orgn places Pur requisition for want of some goods/products - ME51
Request for Quotation(RFQ)-> The Purchase dept in the orgn calls/requests for the quotation for the products against which PR was raised. - ME41
Vendor Evaluation->After receving the RFQ's, after comparison a Vendor is finalised based on the terms and conditions.
Purchase Order(PO)-> Pur order was issued to that vendor asking him to supply the goods/products -ME21N
Goods Receipt Note(GRN)->Vendor supplies the material/Products to the orgn-
MB01
Goods Issue (GI) -> People receives their respective itesm for which they have placed the Requisitions
Invoice Verification-> ALong with the Material Vendor submits a Invoice for which the Company Pays the amount - .MIRO
Data to FI -> data will be posted to FI as per the vendor invoices
you better go through all these links u will get all the info what ever u need
for mm
http://www.sapgenie.com/abap/tables_mm.htm
http://www.sap-img.com/sap-download/sap-tables.zip
http://www.allsaplinks.com/material_management.html
http://www.training-classes.com/course_hierarchy/courses/2614_SAP_R_3_MM_Invoice_Verification_-_Rel_4_x.php
http://www.sapfriends.com/sapstuff.html
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSMAT/PSMAT.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCMM/CAARCMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOMDMM/LOMDMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMIVMVAL/MMIVMVAL.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMWMLVS/MMWMLVS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMISVE/MMISVE.pdf
Reward points if useful
regards
Anji -
Selection of a price list based on the delivery date of purchase orders
Description of requirement:
One of our customers would like to have the price list selected on the basis of the delivery date of purchase orders rather than on the posting date.
The customer wants to have this feature available by the date scheduled for their go-live, that is January 2nd 2008.
Best regards,
Emmanuel RuellanDear development team,
Is it possible to have the above functionality in a future version?
Best regards,
Emmanuel Ruellan
Maybe you are looking for
-
Map Webitem is not working in WAD
Hello Experts, We are trying to implement MAP functionalities in BI. We can able to view the MAP in Bex MAP, but not in WAD. We added a MAP web item in WAD and made changes on all the required properties based on previous threads and SAP How-to-docum
-
Hi everyone: We have implemented SAP NetWeaver 7.0, and we defined "ABAP System" as Data Source. We've come across a strange error while selecting some particular users (clicking on user) in Netweaver under User Management -> Identity Management > Se
-
Is there a way to use or restore an earlier version of firefox so I can complete the FAFSA form that is mandatory for me to complete?
-
Calling Web Service - XML Parse Error
Hello, I have created Client proxy to call a Web Service. This service requires WS Header. This is my code to create the header: concatenate '<soap:Header>' ' <wsse:Security mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis
-
At first error code 205, Error code 1 when using new user profile
Hi, I'm using Windows Professional 8.1 with CS6 installed. I now decided for CC, but as many other users I'm not even able to install it! On my admin account I get the error code 205 when trying to launch CreativeCloudSet-Up.exe. I read lots of simil