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.
Similar Messages
-
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 JINHi,
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. -
How to change material component for a Purchase Order?
How to change material component for a Purchase Order?
I need FM .
PLEASE helpDear ,
Create PO with item category L....There in Item detail you will get tab for material.
There click in component Button, it will take you to the component screen there you can assign and deassign components.
Hope this helps.
Regards
Utsav -
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 -
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 -
"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 -
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?
-
Material Group Link to Purchasing Group
Dears,
The client requirement is that they want to link material group to Purchasing group for materials without material master. Any idea how to do this?
Thanks,Hi,
I dont think it would be possible in SAP MM through std configuration.
May be you have to maitaina z table and use it via exit during PR creation.
FYI.
The same functionality is possible through SAP SRM, where we map the material groups and the purchasing group
in SRM or structure.
Harish -
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'. -
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 -
Free Item in Purchase Order Item
Hello All,
I would like to ask where in table level can I identify Purchase Orders which have "Free Item". Because on the screen field i saw from the technical definition that the "Free Item" is of field MEPO1211-UMSON, but when I go to EKPO I cannot find the corresponding field.
I have this idea but I don't know if it is right or not, in case I uncheck the "Invoice Receipt" in the Purchase Order Item details, the "Free Item" check box appears. So I am thinking is all Purchase Order Items which have "Invoice Receipt" (EKPO-REPOS) uncheck considered as a "Free Item".
Thanks.Hi,
When we are talking about Free Items, in SAP terms, it means that we would not have any conditions/Gross/Net Price.
Also, Invoice Receipt will be unchecked because for free items, there would not be any invoice right?
So we can conclude that, once Invoice Receipt is unchecked + Free items is checked, this particular line item will be received as free goods.
Note that if the material is valuated, it will affect your MAP (moving average price).
Maybe you are looking for
-
EBS12 installation on sparc solaris 10 failing
hi ! Thanks to Hussein's great help I was able to make it work once but then I deinstalled it and now installing again from fresh but I can't get it to work , it keep failing with same error : Note: I am not recreating the staging area from scratch b
-
Default settings for activating warranty subscreen
I have a requirement to activate the warranty subscreen for maintenance equipment. When this subscreen is activated, the "inherit warranty" and "pass on warranty" options are selected by default for equipment that already exists in the system. I wa
-
Illustrator cs6 is freezing at start up
I have adobe illustrator cs6 on a Mac mini. I have been using it everyday for about 3 weeks. All my art is vector based. Today I clicked on the icon in my task bar. The icon did its regular jumping thing, then began to bounce much higher. The start
-
MaxT3MessageSize in Weblogic 5.1
I'm trying to set the maximum size for a T3 message using weblogic 5.1, but am unable to find any reference to this parameter using wls 5.1. Did this parameter exist back then? I need to send large JMS messages to a wls 5.1 server. Thanks
-
Is it possible to specify exactly coordonates where to display a field
Hello all, We use BIP 11.1.1.6 (build 5.12.110) In a rtf template, we've got for-each loop. We don't know exactly how many rows to display. After a for-each group, I need to write a sentence at 15cm from bottom My constraint: For other reasons, I can