Add an extra :Tab" on the Purchase Order's ITEM DETAIL level.
Hi:
Can anyone please tell me how I go about to add an additional "TAB" on the Item Detail level of a Purchase Order...??
Thanks.
W.
It is not possible to add extra tab by configuration .you have to use user exit/BADI to get this .
user exit :MM06E005
BADI : ME_PROCESS_PO_CUST
consult with your abaper for developemnt
Similar Messages
-
"Material Invoice Cycle- field" in the Invoice tab of the Purchase Order?
Hi,
Does somebody has a clue on the field "Material Invoice Cycle- field" in the Invoice tab of the Purchase Order?
What are the functions, dependencies and the scenarion one can use this field.
RegardsHi
Here in Is-oil we have invoice cyles. Provisional invoice, Final invoice, interested invoice, settlement invoice etc..
So in sales at first provisional invoice has been created than the final invoice based on the Provisional invoice.. and further invoices like interest invoice & settlement invoice ..
So here we are using 4 invoice cycle.. hence you have to define in the Spro-->industry solution -->oil & gas > cross component application>maintain the invoice cycle numbers... 4
And this data has to be used in Condition type
Spro--> industry solution -->oil & gas > cross component application> MM split invoice -->Enter the data in additional invoice .
These is the function of Material invoice cycle field...
Thanks and regards
Raja -
Creating inbound delivery for the purchase order line items
Hi Experts,
Please let me know how can I create inbound delivery for the purchase order line items? Say, I have a purchase order with 5 line items in it. I wanted to create an inbound delivery for only 2 line items at this point of time. Which SAP Standard transaction I have to use and what all data I need to populate? I would appreciate any help on this and will reward the right answer. Please let me know.
Thank you in advance.
with regards,
Muthu Ganapathy.Hi,
While creating the inbound delivery (VL31N), intially all the items will be shown, see the advance shipping notfication - from the vendor for which he has send confirmation & rest items you can delete simply & save. & next time when the vendor sends rest advance shipping notifcation (confirmation), you can receive them.
Hope this answers your query.
Regards
Irfan. -
Need to add one extra field in to Purchase Order XSL-FO Template
Hi All,
I am working on Purchase order XSL-FO template. I need to Customize it. I want to add few more fields in XSL-FO template which are getting the values from database. May be these columns are not present in XML data file , which the printing purchase order concurrent program is using.
Suggest me, what should i do?
regards
RaviHi Paul,
I need to customise the standard PO XSL-FO template but my problem is, this xsl-fo template has to be used by the seeded Oracle rdf report for display purpose.
As far as i know, the xsl-fo template for PO is called by a java conc program
and the Printed PO report(portrait) program uses the normal rdf layout.
I think the xml data structure/tags produced by the rdf is not similar to the one produced by the java conc program.So, the XSL-FO template can't use the rdf report for displaying.
If you have any info on this please let me know.
Thanks,
Satrajit -
Want to restrict the Purchase order release at lower level...
Dear Friends,
The Problem i am facing is that the release strategy defined in Purchase order is such that it will be released by four authorities,
& When 4th One, The Highest authority releases the order it should not get unreleased by lower level authorities.I want to configure this.
Partially it is completed, as if Tcode me29n is used for cancel release then it is restricted by Going into
SPRO-MM-Purchasing-Purchase Order-Release Procedure for Purchase Order- Define Release Procedure for Purchase Order
& suggesting it there.into Release Indicator
But still it can get unreleased by Tcode me28.
Kindly Suggest,
Gaurav ChopraHi,
This is the standard like release srtetegy will not have the restriction only the release do the release . He can also should de release the document.
this can't control.
SAM -
Blanket Purchase Order or Contract Purchase Order by item Category level
Hi
I have a requirement that Strategic buyers will fill agreement with supplier by item Category level
Agreement will be on Price level and will have expiration date
The category level will contain list of items Part numbers which are the same item from technically :
Our business is on the electronics contract manufacturing and we are producing for Customers from the High Tech industry .In order to keep each customer process and unique
environment we are coding the item Part # per customer since of that the same electronic component having different part # per customer
Each night we running MRP run (ASCP) and the Planner release Planned order to request ion
The requirement is that the purchase requisition will derive the price from the agreement based on assigned Category level and will automatically convert to Purchase order
Looking for your advise how can this be implemented ?
ThanksWhen you release the Planned Order for the these buy items the cost coming up in the table PO_REQUISITIONS_INTERFACE_ALL will be the list price for the item from Org level.
But when you have a BPO created for this item and Sourcing rule is created to have automatic release the releases will have the unit price coming from the BPO.
Correct me if I understood your question wrongly.
Karthik.
Edited by: Karthik Gopaluni on May 21, 2010 11:54 AM -
BAPI to get the Sales order line item details
Hi,
My program gets Sale sorder and item as the input and I need to fetch all the item (Given item) details for this Sales Order from VBAP. Is there any BAPI to get the item details?Hi,
This is a sample code of BAPI.Try to map it to your requirement.This is not related to vendor.This is related to sales order.
Constants
CONSTANTS: c_contract LIKE vbak-vbeln VALUE '0020000720',
c_item LIKE vbap-posnr VALUE '000010'.
Structures
Structure to hold BAPI Header
DATA: st_bapisdhd1 LIKE bapisdhd1.
Internal Tables
Sales Order Create BAPI Return Messages
DATA: tbl_return TYPE STANDARD TABLE OF bapiret2
WITH HEADER LINE.
Sales Order BAPI Line Item
DATA: tbl_bapisditm TYPE STANDARD TABLE OF bapisditm
WITH HEADER LINE.
Sales Order BAPI Line Item
DATA: tbl_bapisditmx TYPE STANDARD TABLE OF bapisditmx
WITH HEADER LINE.
Sales Order BAPI Pricing Conditions
DATA: tbl_bapicond TYPE STANDARD TABLE OF bapicond
WITH HEADER LINE.
Sales Order BAPI Partner Functions
DATA: tbl_bapiparnr TYPE STANDARD TABLE OF bapiparnr
WITH HEADER LINE.
Sales Order BAPI Schedule Lines
DATA: tbl_bapischdl TYPE STANDARD TABLE OF bapischdl
WITH HEADER LINE.
Sales Order BAPI Schedule Lines
DATA: tbl_bapischdlx TYPE STANDARD TABLE OF bapischdlx
WITH HEADER LINE.
Sales Order BAPI Pricing Conditions
DATA: tbl_bapicondx TYPE STANDARD TABLE OF bapicondx
WITH HEADER LINE.
Customer Enhancement for VBAK, VBAP, VBEP
DATA: tbl_bapiparex TYPE STANDARD TABLE OF bapiparex
WITH HEADER LINE.
Table to hold BAPI Detail Conditions
DATA: tbl_bapisdcond TYPE STANDARD TABLE OF bapisdcond
WITH HEADER LINE.
Table to hold Return Messages from Sales Order Change BAPI
DATA: tbl_return_chg TYPE STANDARD TABLE OF bapiret2
WITH HEADER LINE.
Variables
DATA: g_vbeln_created LIKE vbak-vbeln,
g_valid_contract TYPE c,
g_cont_price_date TYPE d.
Start of Selection
START-OF-SELECTION.
PERFORM validate_contract.
PERFORM create_sales_ord.
PERFORM update_sales_ord.
End of Selection
END-OF-SELECTION.
PERFORM write_output_report.
Subroutines
*& Form create_sales_ord
Create the Sales Order
FORM create_sales_ord .
PERFORM populate_bapi_tables.
PERFORM call_create_sales_ord_bapi.
ENDFORM. " create_sales_ord
*& Form populate_bapi_tables
Fill up the BAPI Tables
FORM populate_bapi_tables .
PERFORM populate_bapi_header.
PERFORM build_bapi_partners.
PERFORM build_bapi_items.
PERFORM build_bapi_sched_lines.
ENDFORM. " populate_bapi_tables
*& Form populate_bapi_header
Build BAPI Header Details
FORM populate_bapi_header .
CLEAR st_bapisdhd1.
st_bapisdhd1-doc_type = 'ZOC'. "Order type
st_bapisdhd1-sales_org = '026'. "Sales Org
st_bapisdhd1-distr_chan = '00'. "Dist Channel
st_bapisdhd1-division = '00'. "Division
st_bapisdhd1-purch_no_c = 'Cust Po No'. "Cust PO No
st_bapisdhd1-name = 'Orderer'. "Name of Orderer
st_bapisdhd1-ord_reason = ''. "Order Reason
st_bapisdhd1-sales_off = '3001'. "Sales Office
st_bapisdhd1-sales_grp = '301'. "Market Area
IF g_valid_contract = 'X'.
st_bapisdhd1-price_date = g_cont_price_date.
ENDIF.
ENDFORM. " populate_bapi_header
*& Form build_bapi_partners
Build BAPI Partner Functions
FORM build_bapi_partners .
CLEAR tbl_bapiparnr.
tbl_bapiparnr-partn_role = 'AG'.
tbl_bapiparnr-partn_numb = '0000100750'.
APPEND tbl_bapiparnr.
CLEAR tbl_bapiparnr.
tbl_bapiparnr-partn_role = 'WE'.
tbl_bapiparnr-partn_numb = '0000504472'.
APPEND tbl_bapiparnr.
ENDFORM. " build_bapi_partners
*& Form build_bapi_items
Build The BAPI Line Items
FORM build_bapi_items .
DATA: l_matnr LIKE mara-matnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = '10000072'
IMPORTING
output = l_matnr.
CLEAR tbl_bapisditm.
tbl_bapisditm-itm_number = c_item.
IF g_valid_contract = 'X'.
tbl_bapisditm-ref_doc = c_contract.
tbl_bapisditm-ref_doc_it = c_item.
tbl_bapisditm-ref_doc_ca = 'G'. "Contract
ENDIF.
tbl_bapisditm-material = l_matnr.
tbl_bapisditm-plant = '3012'.
tbl_bapisditm-target_qty = '5.000'.
tbl_bapisditm-target_qu = 'M3'.
tbl_bapisditm-item_categ = 'ZZOC'.
tbl_bapisditm-sales_dist = '301'.
tbl_bapisditm-dlv_prio = '02'.
tbl_bapisditm-prc_group5 = '080'.
tbl_bapisditm-cust_mat35 = 'kdmat'.
tbl_bapisditm-route = 'TESYS'.
tbl_bapisditm-usage_ind = 'CIV'.
APPEND tbl_bapisditm.
CLEAR tbl_bapisditmx.
tbl_bapisditmx-itm_number = c_item.
tbl_bapisditmx-ref_doc = 'X'.
tbl_bapisditmx-ref_doc_it = 'X'.
tbl_bapisditmx-ref_doc_ca = 'X'.
tbl_bapisditmx-material = 'X'.
tbl_bapisditmx-updateflag = 'I'.
tbl_bapisditmx-plant = 'X'.
tbl_bapisditmx-target_qty = 'X'.
tbl_bapisditmx-target_qu = 'X'.
tbl_bapisditmx-item_categ = 'X'.
tbl_bapisditmx-sales_dist = 'X'.
tbl_bapisditmx-dlv_prio = 'X'.
tbl_bapisditmx-prc_group5 = 'X'.
tbl_bapisditmx-cust_mat35 = 'X'.
tbl_bapisditmx-usage_ind = 'X'.
tbl_bapisditmx-route = 'X'.
APPEND tbl_bapisditmx.
ENDFORM. " build_bapi_items
*& Form build_bapi_sched_lines
Build the BAPI Schedule Lines
FORM build_bapi_sched_lines .
CLEAR tbl_bapischdl.
tbl_bapischdl-itm_number = c_item.
tbl_bapischdl-req_qty = '1'.
tbl_bapischdl-req_date = sy-datum.
APPEND tbl_bapischdl.
ENDFORM. " build_bapi_sched_lines
*& Form build_bapi_conditions
Pull the BAPI Pricing Conditions from the Contract
FORM build_bapi_conditions .
LOOP AT tbl_bapisdcond.
CLEAR tbl_bapicond.
MOVE-CORRESPONDING tbl_bapisdcond TO tbl_bapicond.
APPEND tbl_bapicond.
CLEAR tbl_bapicondx.
tbl_bapicondx-itm_number = tbl_bapicond-itm_number.
tbl_bapicondx-cond_st_no = tbl_bapicond-cond_st_no.
tbl_bapicondx-cond_count = tbl_bapicond-cond_count.
tbl_bapicondx-cond_type = tbl_bapicond-cond_type.
tbl_bapicondx-updateflag = 'I'.
tbl_bapicondx-cond_value = 'X'.
tbl_bapicondx-currency = 'X'.
tbl_bapicondx-cond_unit = 'X'.
tbl_bapicondx-cond_p_unt = 'X'.
tbl_bapicondx-varcond = tbl_bapicond-varcond.
APPEND tbl_bapicondx.
ENDLOOP.
ENDFORM. " build_bapi_conditions
*& Form call_create_sales_ord_bapi
Call the Sales Order Create BAPI
FORM call_create_sales_ord_bapi .
CLEAR g_vbeln_created.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = st_bapisdhd1
IMPORTING
salesdocument = g_vbeln_created
TABLES
return = tbl_return
order_items_in = tbl_bapisditm
order_items_inx = tbl_bapisditmx
order_partners = tbl_bapiparnr
order_schedules_in = tbl_bapischdl.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ENDFORM. " call_create_sales_ord_bapi
*& Form update_sales_ord
Update the newly created Sales Order with the Pricing Conditions
from the Contract
FORM update_sales_ord .
CHECK g_valid_contract EQ 'X'.
PERFORM get_contract_details.
PERFORM build_bapi_conditions.
PERFORM call_change_sales_ord_bapi.
ENDFORM. " update_sales_ord
*& Form get_contract_details
Get Contract Details
FORM get_contract_details .
Need to manually get the relevant Pricing Conditions as the BAPI
BAPISDORDER_GETDETAILEDLIST causes problems when we call the BAPI
BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_SALESORDER_CHANGE (I think
this is due to the fact that these BAPIs belong to the same Function
Group and there must be some common structures that are not cleared
causing us all sorts of grief when we try and call the next BAPI)
DATA: tbl_konv TYPE STANDARD TABLE OF konv WITH HEADER LINE.
DATA: tbl_komv TYPE STANDARD TABLE OF komv WITH HEADER LINE.
DATA: tbl_vbak TYPE STANDARD TABLE OF vbak WITH HEADER LINE.
Pricing Condition Master
DATA: BEGIN OF tbl_t685a OCCURS 0,
kschl LIKE t685a-kschl,
kaend_wrt LIKE t685a-kaend_wrt,
END OF tbl_t685a.
SELECT *
INTO TABLE tbl_vbak
FROM vbak
WHERE vbeln = c_contract.
READ TABLE tbl_vbak INDEX 1.
SELECT *
INTO TABLE tbl_konv
FROM konv
WHERE knumv = tbl_vbak-knumv AND
kposn = c_item.
CHECK sy-subrc EQ 0.
We now need to make sure we only bring across the Condition Types that
are EDITABLE. If we bring across non editable conditions (such as
'ZPR1') the Change Sales Order BAPI will fail
SELECT kschl kaend_wrt
INTO TABLE tbl_t685a
FROM t685a
FOR ALL ENTRIES IN tbl_konv
WHERE kappl EQ 'V' AND "Sales
kschl EQ tbl_konv-kschl AND
kaend_wrt EQ 'X' AND "Value is Editable
kmanu NE 'D'. "Process manually
Prepare for Binary Search
SORT tbl_t685a BY kschl.
LOOP AT tbl_konv.
READ TABLE tbl_t685a WITH KEY kschl = tbl_konv-kschl BINARY SEARCH.
IF sy-subrc EQ 0.
MOVE-CORRESPONDING tbl_konv TO tbl_komv.
APPEND tbl_komv.
ENDIF.
ENDLOOP.
CHECK NOT tbl_komv[] IS INITIAL.
Map KOMV into the more BAPI friendly BAPISDCOND structure
CALL FUNCTION 'MAP_INT_TO_EXT_STRUCTURE'
TABLES
fxvbak = tbl_vbak
fxkomv = tbl_komv
fxbapikomv = tbl_bapisdcond
EXCEPTIONS
entry_missing = 1
OTHERS = 2.
ENDFORM. " get_contract_details
*& Form call_change_sales_ord_bapi
Call the Change Sales Order BAPI
FORM call_change_sales_ord_bapi .
DATA: st_head_chg LIKE bapisdh1x,
st_logic_switch TYPE bapisdls.
CHECK NOT g_vbeln_created IS INITIAL.
CHECK g_valid_contract EQ 'X'.
st_head_chg-updateflag = 'U'.
st_logic_switch-cond_handl = 'X'.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = g_vbeln_created
order_header_inx = st_head_chg
logic_switch = st_logic_switch
TABLES
return = tbl_return_chg
conditions_in = tbl_bapicond
conditions_inx = tbl_bapicondx.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ENDFORM. " call_change_sales_ord_bapi
*& Form write_output_report
Produce Output Report
FORM write_output_report .
IF NOT g_vbeln_created IS INITIAL.
WRITE:/ 'Success! Sales Order', g_vbeln_created, 'was created!'.
ELSE.
WRITE:/ 'Failure! Sales Order was not created!'.
ENDIF.
SKIP.
WRITE:/ 'Sales Order Create Log'.
LOOP AT tbl_return.
WRITE:/ tbl_return-type, tbl_return-id, tbl_return-number,
tbl_return-message.
ENDLOOP.
SKIP.
WRITE:/ 'Sales Order Change Log'.
LOOP AT tbl_return_chg.
WRITE:/ tbl_return_chg-type, tbl_return_chg-id,
tbl_return_chg-number, tbl_return_chg-message.
ENDLOOP.
ENDFORM. " write_output_report
*& Form validate_contract
Make sure that the Contract is Valid
FORM validate_contract .
DATA: l_gueen LIKE vbak-gueen,
l_prsdt LIKE vbkd-prsdt.
SELECT SINGLE vbakgueen vbkdprsdt
INTO (l_gueen, l_prsdt)
FROM vbak
INNER JOIN vbkd
ON vbakvbeln = vbkdvbeln
WHERE vbak~vbeln = c_contract AND
vbkd~posnr = '000000'.
IF sy-datum LE l_gueen.
Contract is valid! Set Order Price Date
g_valid_contract = 'X'.
g_cont_price_date = l_prsdt.
ENDIF.
ENDFORM. " validate_contract
Regards
Rajesh Kumar -
New Tab in PO (Purchase Order)
Dear all.
I need to create a new Tab in the Purchase Order to put a new field. At the moment i have implemented 2 BADIS
ZME_PROCESS_PO_CUST and ZME_GUI_PO_CUST. At this moment i have 2 main problens:
1 - a can only saw this new tab when using the transaction ME23N.
2 - This new tab, and the field in this tab don't have any data.
Best Regards
Thanks in advanced.
PMRHi ,
Please find these two BADi's which will be useful to you.
<b>ME_GUI_PO_CUST</b> and <b>MEGUI_LAYOUT</b>.
<i>Hope This Info Helps YOU.</i>
Regards,
Raghav -
How to create an inspection lot for each line item of the Purchase order?
Hi,
How to create an inspection lot for each line item of the Purchase order ?
In detail if possible.Hi
please check this
[thread|Create Inspection Lot; -
QC51:No certificate is required for the purchase order item
Dear all.
I want to create an certificate Receipt In the T-CODE QC51.After input the purchase order and item and press return,the SAP show an error message:
No certificate is required for the purchase order item.
Message no. QC508
My question was where to control the purchase order item to require certificate or not?
Regard
YodaHi
For this you have to maintain Certificate req in Material master.
MM01>Enter your material->Quality view-->Tick on QM procurement->Certificate require-Mension kind of certificate req.
like
E21 Cert. of conformity "2.1" EN 10204
E22 Test certif. "2.2" EN 10204
E23 Works test certif. "2.3" EN 10204
E31A Insp. certificate "3.1.A" EN 10204
E31B Insp. certificate "3.1.B" EN 10204
E31C Insp. certificate "3.1.C" EN 10204
E32 Inspection report "3.2" EN 10204
Q001 Conformance Report
Q002 Plating Certificate
Q003 Test Report
Q004 Certificate through Web
Q005 Chemical / Physical Test report + QC
etc.....
Customizing for this can be done in
SPRO->Quality Management->QM in Logistics--->Define Keys for Certificate Processing.
This will ask you during MIGO or during UD/confirmation possible thro' QC21
Regards
Sujit S Gujar -
Purchase order text(item text)
hi,
where does the purchase order text (item text) is stored for standard transaction ME21N.
thanks & regards
PrajwalaPurchase order item text is stored as long text in STXH.
use read_text FM to see the text.
Paramters:
Text Name "Concatenate PO number + item number " Key of EKPO.
Language ES
Text ID F03 Material PO text
Text Object EKPO Purchasing doc. item te -
Adopt BOM item in purchase order line item
Hello Friends,
I have a requirement in which i need to show a material bom components in the purchase order line item(its not an subcontracting PO).
Please help me in this, any user exit or enhancement, badi available to do this?
Thanks,
SunnyHi,
Please see the below link
http://scn.sap.com/thread/3181359 -
Reg purchase order line item numbering
Hi All ,
Is there any customization setting or possibility of cahanging the Purchase order line item number when the PO is created from the Purchase requisation , normally if the PO is created directly I am able to change the line item number as desired but if is created from a PR this is not allowed , please let me know any possibility of changing this .
Thanks and Regards,
Mallikharjun.Hi Mallikharjun,
You can modify the Line Item numbering at IMG>MM>Purchasing>Purchase Requisition>Define Document Types.
Here you can change the column ItmInt. which determines the line item number intervals.
Hope it helps.
Cheers
Keshav -
Restrict purchase order line item selection in MEMASSPO
How to restrict in authorizations of role which purchase order line item can be selected by user in the memasspo.
I have a scenario where Business wants that no user should be allowed to select all the Purchase Order line items rather should be displayed sub set of the entire purchase Order line items while attempting to do mass change in the PO created.
Thanks & Regards,
AbhimanuThe mass transaction is meant to change many POs and their items at one time.
The user can not change anything with mass which he cannot do in ME22N.
if he can do it in ME22N, why should he not be able to do it in MEMASSPO?
Based on what criteria should a item be restricted from a change in your special case, how do you define your subset? -
Shipping tab is getting poplated in the Purchase order (STO Process)
HI Friends,
In Stock transfer order processs the shipping tab is getting poplated in the purchase order
I am using the docuemnt type UB Stock transfer order .
Error message: Not possible to determine shipping data for material "460000295"
Thanks,
PhaniRefer following SDN threads for reference/understanding for your requirement:
- STO - Not possible to Determine Shipping Data for Material.
- STO-Not possible to determine shipping data for material 1A0135J00VB-00M
- ERROR"Not possible to determine shipping data for material XXX"
- Not possible to determine shipping data for material
Regards
JP
Maybe you are looking for
-
I cannot send from one specific BT Mail account but can access folders using IMAP.
Thunderbird 31.3.0 on WIndows 8.1 64 bit. I have two email accounts configured into Thunderbird. Both are BT accounts and have identical configurations. IMAP is used for reading mail, SMTP for sending mail. On one I can read folders, delete emails fr
-
Use the NetWeaver 7.1 CE Developer Studio at NW 7.0 PORTAL
Hi NW Experts, I have a SAP NETWEAVER 7.0 portal running and need to develop a Web Dynpro Java application. Is it therefore possible to use the new SAPNWCE71TrialSP1Preview_DevStudio? Or do I have to stay on the old developer studio- NW_DS_700SP14; I
-
Pls help me on how to compile servlet
pls i need the help of some kind one to assist me on how to compile and deploy servlet .I'm new to javaEE & am using the javaEE tutorial from sun site.In the first example servlet in d book, after compiling and deploying the greetingServlet and respo
-
Script for validating Text fields or numeric fields
I'm looking for a simple script that will check the entered data in a specific field.If i enter numbers in the name/last name field i should get a pop up message that entering numbers in this field are not allowed. (And vice versa regarding numeric f
-
Cannot import a photo into Lightroom 5.2
See the Lamp and Chopper video at http://www.smugmug.com/gallery/21425173_dGgs24