Alternative items on Purchase Order
Hi Experts:
I have a question regarding the alternative items on Purchase order. If alternative item A2 is setup for item A1 from Vendor XYZ, and if we place a PO with XYZ for item A1 but they ship item A2: can we receive A2 in stock on the initial PO for A1? Dose SAP have these kind of solutions?
Thanks and best regards
Xincheng JIN
Hi,
there is one good solution for this sort of requirement...However, the limitations are there; may be suitable for example, we order for envelopes from vendor. You may order for one type of envelope and vendor may send other type...size may be the same, one envelope with window for address and other type may not have a window....similar such situations can be easily address using the standard SAP's below example: (I implemented this already in 2 projects previously)
http://help.sap.com/saphelp_47x200/helpdata/en/9f/fb79385feddf6ae10000009b38f8cf/frameset.htm
Example: Configurable Materials in Purchasing
You are responsible for procuring office supplies for your company, including envelopes. A printing firm supplies you with envelopes featuring your company logo in various sizes, with or without an address window.
In order not to have to create separate material master records for every possible combination (e.g. C5 with window, C6 without window), you wish to use a configurable material.
You must carry out the following activities for a configurable material:
Create characteristics
Create class
Create material
Create configuration profile
Create Characteristics
You define the criteria you use to differentiate between the variants of a material (in this case, the size of the envelope and the address window) by means of characteristics. You must create a characteristic for each criterion under Logistics ® Central Functions ® Classification System ® Master Data ® Characteristics Management.
Characteristic: Size of envelope
Enter size_of_envelope in the field Characteristic.
Choose Create.
Enter the following data on the tab page Basic Data:
· Description: Size of envelopes
· Data type: Character format
· Number of characters: 20
This indicates how many characters a characteristic value may comprise.
· Select the Single value indicator in the area Value assignment.
If you set the Single value indicator, one value only may be assigned to the characteristic. For example, only one size may be chosen when you specify the dimensions of the envelopes that are to be ordered in a PO.
Enter the following data on the tab page Values:
· Enter possible values for the characteristic:
Characteristic value
Description
DIN C4
229 mm x 324 mm
DIN C5
229 mm x 162 mm
DIN "Langhülle"
218 mm x 114 mm
DIN C6
162 mm x 114 mm
· Select the Additional values indicator.
If this indicator is selected, you may also specify values that you have not yet defined here when assigning values to the characteristic.
Choose the class type 300 (variants) on the tab page Restrictions.
Choose Save.
Characteristic: Address window in envelope
Enter window_in_envelope in the field Characteristic.
Choose Create.
Enter the following data on the tab page Basic Data:
· Description: Address window in envelopes
· Data type: Character format
· Number of characters: 4
· Select the Single value indicator in the area Value assignment.
Enter the following data on the tab page Values:
· Values of characteristic: yes , no
· Do not select the Additional values indicator.
Choose the class type 300 (variants) on the tab page Restrictions.
Choose Save.
Create Class
You group several characteristics to form a class. The class is then assigned to a material.
Choose Logistics ® Central functions ® Classification system ® Master data ® Class management.
Enter the following data on the initial screen:
· Class : Envelope
· Class type: 300 (variants)
Choose Create.
Enter a short description of the class in the Description field on the tab page Basic data: Envelopes with company logo.
On the tab page Characteristics, enter the characteristics you created previously: size_of_envelope, window_in_envelope .
Choose Save.
Create Material
Choose Logistics ® Materials management ® Material master ® Create material ® Create (general) ® Immediately.
Enter the following data:
· Material: Envelope
· Industry sector: Office supplies
· Material type: Configurable material
Choose Enter.
Choose the views Basic Data 1, Basic Data 2, Purchasing, and Accounting 1.
Enter plant 0001.
Enter the following data on the tab page Basic Data 1:
· Short description of the material: Envelopes with company logo
· Base unit of measure: KI (box)
· Material group: Office supplies
On the tab page Basic Data 2, check whether the Material is configurable is selected.
On the tab page Purchasing, select the Subject to batch management indicator.
On the tab page Accounting 1, enter the following data:
· Valuation class:
· Price control: V
· Moving average price: 99.95
Choose Save.
Create Configuration Profile
In the configuration profile, you assign characteristics to the material via a class.
Choose Logistics ® Central functions ® Variant configuration ® Configuration profile ® Create.
Select Material and choose Enter .
Enter envelope in the field Material.
Choose Goto ® Profile overview.
Enter the following data:
· Priority: 01
· Profile name: Envelopes
· Class type: 300 (variants)
Choose Goto ® Class assignment and enter envelope in the Class field.
Choose Save.
Use in Purchasing
You can now create, change and display this configurable material in all purchasing documents.
Display
If a configuration already exists for the material, you can display it in the purchasing document.
Change
If the configuration of the material was adopted from a sales order or from the material master record, you can change it in the purchasing document. This may be necessary if a material with the selected characteristic value cannot be supplied (is not available) and has to be changed to the material in the quotation.
If you change the configuration of a material in the purchasing document:
A new price determination process is carried out
You do not change the original configuration in the sales order or in the material master record as a result
Subsequent changes to the sales order or the material master record do not affect the configuration in the purchasing document
Create
If no configuration yet exists for a configurable material, you can create one in the purchasing document. This may be necessary, for example, if a configurable material is to be ordered without reference to a sales order.
Subcontracting items and the archiving of the characteristic values are not supported.
For more information on configurable materials, refer to the section LO Variant Configuration.
Similar Messages
-
"All items from purchase order cannot be invoiced"
Hello,<br />
<br />
I'm on a SRM 7.0 SP 5 system (ext-classic scenario). Here i try to create an invoice with reference to a Purchase Order, but none of my Purchase Orders can be used for reference. I get the following warning message 'All items from purchase order cannot be invoiced'.<br />
<br />
- Created via POWL (create with reference -> invoice/credit memo) i always get the warning message 'All items from purchase order cannot be invoiced'. And no items are converted / can be used for invoicing. Additionally when i use the search option 'find purchase order' within the create invoice transaction i can not find any purchase order to use, it shows 'There is no search result' while there are plenty purchase orders marked with 'invoice expected'.<br />
<br />
I am able to create invoices without reference.<br />
<br />
I tried vendors set up only for 'invoice expected' and 'GR', 'invoice expected' / 'GR' / 'GR-based-IV' and 'invoice expected' only none of them works, indicators set on vendor master are correctly used on the created purchase order. Outputting PO doesn't make any difference neither.<br />
<p />
I have not set up the following (do i need to?):<br />
- Deactivated the 'CRME' transaction type, no Credit Memo transaction type has been configured/is active.<br />
- I have not defined the 'INV' transaction type as a follow-on document for my ECPO transaction type within the define transaction type transaction.<br />
- Tollerances<br />
<br />
<b>edit</b> -> i've already searched thorougly for SAP notes but no note seems to cover this particular problem.<br />
<br />
Help is very much appreciatedSolved! Added SYS attribute for back-end system in organisational scheme.
-
Not to include item from purchase order to the delivery order
Hi,
i need some guidance on above topic. The user requested to have the functionality not to include the item from purchase order to delivery order when the item having order balance quantity more than the available stock.
In other words, if a PO contains several items, those order balance quantity which is more than the available stock will not be included in the DO.
is the above scenario possible?
please advise.
Thanks.Hi Yue ,
u can do it , but in this case u have to make use of user exit or BADI.
option 1 .
by using user exit , u can delete/change picking/confirm qty .
option2:
while doing the PGI , do can cross check stock avail with PO qty and raise error messages.
LE_SHP_GOODSMOVEMENT --> see its documentations in se18.
Regards
Peram -
How to restrict the user to enter the item in purchase order?
I want to restrict user to enter the item in purchase order.
How can i do this?
Please help
AbhishekHi,
You may create a transaction variant for ME21N in SHD0 transaction. Make the item field as output only as shown below:
Result:
You may check the doc: Learning SHD0 with Example
Regards,
AKPT -
Retrieve Material group item in Purchase Order.
Hi all,
I would need to retrieve the material group from item in Purchase order to compare in Step condition in workflow.
I have a copy of WS14000075. The container from this WF hasn't this field, at least that I know.
How can to retrieve this value from purchase order?
Some idea for it?
Many Thanks,
Regards,
David.Hi Nishant,
I will obtain the material group, but I need pass to workflow the value for each item and compare it with another values obtained from Z table (this part is implemented).
I would need something similar to BO BUS2121 attribute "MaterialGroup".
Many Thanks.
Regards,
David. -
Delete item from Purchase Order
Dear All,
I want to cancel line item from Purchase Order.
But i am unable to do it as i have already made advance payment against PO/Item.
Actually advance payment was against another Item of PO but by mistake selected wrong item while f-47.
Now i want to delete item for which made avance payment and transfer advance payment with another PO item.
How to do it.
Regards
SwatiHi,
Your Issue
Lets say, you have created two items in a PO, and made adv payment against item 10 instead of 20.
Now you want to delete the item 10---
Solution
I hope you have not done any GRN to both items (10 & 20) of your PO.
Then make your item 10 as same as your item 20. (Do change the material code, order qty, price etc)
Then delete the item 20.
So with this, you have made your errorised PO item as actual item, and deleting yout actual PO item as errorised item.
This is as good as swaping the items from one item to another item in the same PO.
This will resolve your issue.
Thanks,
Srinu -
Delete the perticuler Line Items of PURCHASE ORDERS.
Hi Friends,
i want delete the perticuler Line Items of PURCHASE ORDERS.
EXAMPLE :
I HAVE ONE PO : 2000010.
IT HAVING 10 LINE ITEMS. LIKE 1 , 2 , 3 , 4 ,5 ,6 ,7 ,8 ,9 , 10.
FOR THIS PO , I WANT DELETE THE 5TH LINE ITEM.
MEAN FOR PERTICULAR PO I WANT DELETE ITS SPECIFIC LINE ITEM NO.
ANYBODY EXPLIAN..
THANKSAre you looking to do this from an ABAP program or from the PO Screens? EKPO does have a field for the Deletion Indicator. Is there a reason why you would choose to do this from an ABAP program rather than the ME22n?
-
Creating Commitment Items In Purchase Order Level
Hi Friend,
I need some information on How to create commitment items at Purchase Order item level. Any BADI's, please suggest me.
Thanks in Advanced
Shiv'.Hi dude ,
Here i am not suppose to create any new tab at item level , could you little bit clear............,
Thanks .
Shiv'. -
User Exit to add line item in Purchase Order
Hi SAP Gurus,
Can any body tell me which user exit is used to add the line items in Purchase Order. I want to link the Packaging material (material type - VERP) to the header material (Material type - FERT) in PO for order type NB or UB. Because our requirement is what, when we enter the finished material in PO then packaging material linked with that finished material should automatically comes into PO as a line item.
Please help me for the same.
Thanks in Advance.
Regards,
SujayHi,
You can use Function Module for this requirement.
BAPI_PO_GETDETAIL1
Bye,
Muralidhara -
New on POO : get items from purchase order
Hi,
i'm new in OO, i must implement the BADI IF_EX_ME_PROCESS_PO_CUST~CHECK. In this method i would like to get items of my current purchase order, how can i do that ?
Thanks a lot.
CheersHello
Please note that if you have understood this BAdI then you have understood the basics of ALL BAdIs dealing with business objects that have a header and one or more items.
Example: BAdI ME_PROCESS_REQ_CUST (purchase requisition)
METHOD if_ex_me_process_REQ_cust~check.
* define local data
DATA:
lt_items TYPE mmpur_requisition_items,
* ls_item LIKE LINE OF lt_items, " alternatively
ls_item TYPE mmpur_requisition_item,
ls_header TYPE mereq_header.
" Change data types of local variables (compared to if_ex_me_process_PO_cust~check)
" but use the very same coding to retrieve the items.
* (1) Get the order items
* CALL METHOD im_header->get_items
* receiving
* re_items = lt_items.
* Short version:
lt_items = im_header->get_items( ).
LOOP AT lt_items INTO ls_item.
ls_detail = ls_item-item->get_data( ).
* do something ...
ENDLOOP.
* (2) Get header data
* CALL METHOD im_header->get_data
* receiving
* re_data = ls_header.
* Short version:
ls_header = im_header->get_data( ).
ENDMETHOD.
Regards
Uwe -
Restriction for items from Purchase Order based on Sale Order
Hi !
We create PO directly from Sale Order ( by ticking Option under Logistic tab, 'Purchase Order') for customer C01 (for eg).
From the PO created, we post GRPO.
Now our need is,
Assume if 10 Qty is been ordered in such a way and been received (GRPO posted). it 'll add on to the stock account i.e will increase stock qty at our whse.
is it possible to restrict these 10 qty of item from being sold to any other Customer other than whom hav ordered i.e if we create sale order for C02 the SBO should not take the items received from PO created based on Sales Order created for C01?
Meera.Meera,
Which version of SBO are you using 2005 or 2007?
I don't think Serial numbers can help in this scenario. There is no hard allocation or blocking possible using Serial numbers.
This is the Work around I am thinking about.
Set the items to be Batch Managed - On Every Transaction
When performing Goods Receipt, enter the Sales Order Number as the Batch Number
When creating the delivery, using SBO_SP_TransactionNotification we can easily check the Batch of the Item being selected and verify it with the BaseRef of Delivery lines to match with Sales Order number.
If the numbers don't match we can warn user with message, "The items batch reserved for Sales Order xyz"
Even if you make a mistake when entering the batch number same as Sales Order number when doing a goods receipt. It can still be traced and blocked during delivery.
Hint: The Batch table records the Goods Receipt transaction along with the BaseDocument number, Base Ref, etc
If you decide to go this route, I could help you further.
Let me know
Suda -
Open items for purchase order its very urgent
hi
my requirement is to write extract program for purchase order(me21) to extract only open items.
please provide sample code its very urgent.
thanks in advance.
points will be rewarded.
thanks
hari prasad reddycheck the below report :
REPORT ZMM_OPEN_PO_REPORT no standard page heading
line-size 255
message-id zwave.
======================================================================
Program Name : ZMM_OPEN_PO_REPORT *
Description : This report displays all Open PO Items and output *
would be PO Number,Material number and so on *
Author : Seshu *
Date : 01/24/2007 *
MODIFICATION HISTORY *
DATE | AUTHOR | CHANGE # | DESCRIPTION OF MODIFICATION *
--|||--
01/24/07| Seshu | DEVK921979 | Initial *
D A T A D E C L A R A T I O N P A R T ***
type-pools
type-pools : slis.
Tables
tables : ekko, " Purchase order Header
ekpo, " Purchase order Item
marc. " Material with Plant data
Internal table for output.
data : begin of i_output occurs 0,
ebeln like ekko-ebeln,
matnr like ekpo-matnr,
end of i_output.
ALV Data declaration.
data : v_repid like sy-repid.
ALV Function Module Variables
DATA: gs_layout type slis_layout_alv,
g_exit_caused_by_caller,
gs_exit_caused_by_user type slis_exit_by_user.
DATA: gt_fieldcat type slis_t_fieldcat_alv,
gs_print type slis_print_alv,
gt_events type slis_t_event,
gt_list_top_of_page type slis_t_listheader,
g_status_set type slis_formname value 'PF_STATUS_SET',
g_user_command type slis_formname value 'USER_COMMAND',
g_top_of_page type slis_formname value 'TOP_OF_PAGE',
g_top_of_list type slis_formname value 'TOP_OF_LIST',
g_end_of_list type slis_formname value 'END_OF_LIST',
g_variant LIKE disvariant,
g_save(1) TYPE c,
g_tabname_header TYPE slis_tabname,
g_tabname_item TYPE slis_tabname,
g_exit(1) TYPE c,
gx_variant LIKE disvariant.
data : gr_layout_bck type slis_layout_alv.
Ranges
ranges r_eindt for eket-eindt.
initialization.
v_repid = sy-repid.
start-of-selection.
Get the data from EKKO ,EKPO and MARC Table
perform get_data_tables.
end-of-selection.
display the data in the form of ALV
perform display_data.
*& Form get_data_tables
Get the data from EKKO,EKPO and MARC Table
FORM get_data_tables.
clear : i_output.
refresh : i_output.
fill the dates in ranges
r_eindt-low = sy-datum - 7.
r_eindt-high = sy-datum + 14.
r_eindt-option = 'BT'.
r_eindt-sign = 'I'.
append r_eindt.
Get the data from EKKO,EKPO and EKET Tables
select aebeln bmatnr into table i_output
from ekko as a inner join
ekpo as b on aebeln = bebeln
inner join marc as c on cmatnr = bmatnr
inner join mara as d on dmatnr = bmatnr
inner join eket as e on eebeln = aebeln
and eebelp = bebelp
where c~beskz = 'E'
and c~werks = '1000'
and d~mtart = 'FERT'
and b~loekz = space
and b~elikz = space
and e~eindt in r_eindt.
if sy-subrc ne 0.
message e000(zwave) with 'No open purchase order found'.
endif.
ENDFORM. " get_data_tables
*& Form display_data
text
FORM display_data.
Fill the Fiedlcat
PERFORM fieldcat_init using gt_fieldcat[].
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = g_user_command
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT = gr_layout_bck
IT_FIELDCAT = gt_fieldcat[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = g_save
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IT_ALV_GRAPHICS =
IT_ADD_FIELDCAT =
IT_HYPERLINK =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IT_EXCEPT_QINFO =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = i_output
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " display_data
*& Form fieldcat_init
text
-->P_GT_FIELDCAT[] text
FORM fieldcat_init USING e01_lt_fieldcat type slis_t_fieldcat_alv.
DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
Purchase order number
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'EBELN'.
LS_FIELDCAT-ref_fieldname = 'EBELN'.
LS_FIELDCAT-ref_tabname = 'EKKO'.
LS_FIELDCAT-TABNAME = 'I_OUTPUT'.
ls_fieldcat-seltext_L = 'Purchase Order'.
ls_fieldcat-seltext_M = 'Purchase Order'.
ls_fieldcat-seltext_S = 'Purchase Order'.
APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
Material #
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'MATNR'.
LS_FIELDCAT-ref_fieldname = 'MATNR'.
LS_FIELDCAT-ref_tabname = 'EKPO'.
LS_FIELDCAT-TABNAME = 'I_OUTPUT'.
ls_fieldcat-seltext_L = 'Material'.
ls_fieldcat-seltext_M = 'Material'.
ls_fieldcat-seltext_S = 'Material'.
APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
ENDFORM. " fieldcat_init -
Error: Automatic tick in free Item in purchase order on line for specific vendor
Hello All,
Sales order is created then running mrp through MD01,requisitions are created.while creating purchase order for a particular vendor it is automatically ticking on free item indicator and giving error as material is not maintained in the plant (XXX) Free trade. while PR is not created for plant(XXX).
i have checked they are not doing any transaction in plant (xxx).
Please do needful in above issue.Hi all ;
Can you share screen-shoots for your sales document ?
1-What is your sales document type ? Go to VOV8 find it and share.
2-What is your item category for this sales order? Go to VOV7 find it and share us.
3-What is your schedule line ? Go to VOV6 find it and share us.
Regards.
M.Ozgur Unal -
Inter-company with 'Free Item in Purchase Order'
Dear Expert,
In case inter-company, how to create billing document wiht including u2018free item purchase orderu2019. ?
My case is
1) Company A issue purchase order (both normal and free item)
2) Company B issue the delivery order by referring to PO (both normal and free item)
3) However, when company B issue the billing document, only normal goods is copy to billing document. Free item are completed status after good issues is completed and they do not come in inter-company billing.
Thank for any sharingBoth delivery type and item type are the same as normal items.
The messages from system.
8500000020 000000 The document is not relevant for billing
echnical data
Tech. data details
Client 800
Group Number
Sales Document Number 8500000020
Item Number of the SD Document 000000
Schedule Line Number 0016
Counter in Control Tables 00
Message Identification VF
System Message Number 016
Output Type I
Message Variable 01
Message Variable 02
Message Variable 03
Message Variable 04
Group Type F -
Hi,
We have a scenario where in certain line items in a Purchase Order, first a net value was entered and then they were made free items by checking the free item indicator.
The purchase order was then saved.
However the value that was reduced when the items became free items wasn't getting updated in the Net value that appeared in the Header Level conditions. This resulted in the Net value of the Purchase order appearing higher than it was.
When we went to ME22N and unchecked the free item indicator for all the free items and re-checked them, the value was updated correctly.
Any idea why the value was not updated correctly the first time?
Thanks,
NanditaPlease check if you can replicate this behaviour. If this does not happen, then it is a one-off case and better to leave it at that. If you are able to replicate this consistently, the likely reason is that the values are transferred to the header conditions before you make the item free. The conditions are not refreshed while saving the PO (which should actually be done). In such a case, your best bet is to ask SAP to look into this.
Lakshman
Maybe you are looking for
-
Hi although I not new to Dreamweaver I am new to PHP files. How do you edit PHP files within Dreamweaver. For example, in an existing PHP file where I want to insert a picture/graphic it puts it elsewhere and then I have to move it? Thanks! D
-
Hi All, I am unable to power on my 2 week old Nokia E63. When i press and hold the Power on button (Call end button) the dull white light apears on the center navigation button, but apart from this nothing else appears. I tried connecting it to my la
-
Diptanshu & All, As our admins did not like to put starup class in weblogic (Need server reboot, if you make a change), So I tried converting this thing to web application, so that you can bind the Factory & Queue to the JNDI. I h
-
[SOLVED] windows7 host, virtual box vm, archlinux guest, startx fails
Hello I am trying to get startx to work with a archlinux guest. I have installed vbox guest and utils packages with pacman. I have installed libxcomposite with pacman. I have the modules loaded vboxvideo, vboxsf, vboxguest. When I startx, I get EE /d
-
Dispatch alert to Sales employee
Hi, I have sales employee who have their B One login. I want to send alert to this employee whenever delivery is added. Details to be displayed in alert must be delivery number, customer name, delivery date, Item number, name and quantity. Any one gu