Line item needs to be dispalyed for varient values
Hi
The requirement of the customer is to get the varient values as line item in sales order with main item.
Thanks
Rambabu
hello, friend.
are you talking about configurable materials and the requirement is for components to be relevant for pricing?
if so, you can go to www.sap-img.com and look up variant configuration. it is quite comprehensive. also, please check out the past threads on the subject. this has been discussed fully.
regards.
Similar Messages
-
User Exit during Sales Order Creation - New Line Item needed
I have a situation during the process of sales order creation. If a Material in a line item has say 27 EA and the Base Unit is EA. But the Sales Unit is CSE. Then whenever the user enters 27 EA and presses enter he should get two line items.
The first line item needs to convert to maximum number of CSE posible and the rest will be the second line item with the remaining EA. The order isn't important but that is what is needed. Question is how do I approach this problem and code my user exit accordingly and where do I code it.
I was looking at SAPMV45A and saw the program MV45AIZZ which is meant as a user exit for any PAI event handling. If anybody has encountered this kind of requirement can you please share your view on this.
I will definitely reward points for useful answers.
ClarkHello Mahendra
The requirement is as follows :
PART 1:
Sales Order Enter:
1. When a line item is entered on a sales order (VA01 or VA02), at enter, check the sales unit of measure (VBAP-VRKME).
Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP. TANN are free goods that should not be considered for consolidation. TAPS & ZTAP are lower level materials as a result of product selection. They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
Do not check items where VRKME <> EA
2. If VRKME = EA, go to MARM for MATNR.
3. Go to record where alternate unit of measure (MEINH) = CSE, get the value from the numerator field (UMREZ).
4. Divide the order quantity (VBEP-WMENG) by UMREZ.
5. If the result is greater than 1.0, the customer has ordered more than one case and a new line item needs to be added to the sales order for the case quantity.
6. Add a new line to VBAP for the same material with the case quantity. If not a whole value, the remainder of eaches (bottles) should update the qty on the first item on VBAP.
Part 1 is relevant for order types ZCA, ZOR, ZSO, RE, ZSM
PART 2:
Batch Job to run prior to the Delivery Due List:
1. Read VBUK for Delivery Status (LFSTK) = A (delivery not processed). Get all of the document numbers (VBELN).
2. Go to VBEP for those document numbers to get the goods issue date for the order. There will be many records in VBEP for the same sales order. Look at all orders with a goods issue date (WADAT) of next day.
3. Go to VBAK for those document numbers to see if there are multiple sales orders for the same Sold To party (KUNNR).
4. For customers who have more than one order in VBAK, search all line items (for all orders). If there are no duplicate materials across sales orders, do nothing.
Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP. TANN are free goods that should not be considered for consolidation. TAPS & ZTAP are lower level materials as a result of product selection. They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
Do not check line items where reason for rejection (VBAP-ABGRU) is not blank
5. If there are duplicate materials, go through the same logic as in part 1. If the quantity across the sales orders adds up to greater than one case, add the appropriate quantity to a new line item on the first sales order. If there is a remainder qty, update the line item on the first sales order with this qty. In this case, the quantities on the second sales order needs to be closed out with a reason for rejection code of 50, Line Item Consolidation. If there is no remainder, update the qty on this item directly.
Part 2 is relevant for order types ZOR, ZCA, ZSM
This batch job will have to be run manually for Day Pick orders. The end of this program should automatically kick off the delivery due list for Day Pick orders, shipping condition 02.
Business Justification:
The business requires that like order line items be consolidated to one line item prior to the order going to the warehouse for picking. This will aid in picking at the warehouse as well as result in the customer invoice not reflecting more than one line item for the same material. In the case where the customer has truly ordered more than a case, i.e;, 1 case, 2 bottles, the documents in SAP will still reflect 2 lines. -
Hi All,
I have to Get Each line item Create and Approval dates for a SHOPPING CART in SAP SRM. Either a table, or any Function module, Method, please let me know ASAP. Same i can use in my Program.
Thank you Very much.
Regards,
Ramesh J.Hi,
Refer the below wiki link it may help you.
Product catlog configuration for ECC - CRM - SCN Wiki -
I'm doing a scan around a line by sampling data 360 degrees for every value of z(z is the position on the line). So, that mean I have a double for-loop where I collect the data. The problem comes when I try to plot the data. How should I do?
Jonas,
I think what you want is a 3D plot of a cylinder. I have attached an example using a parametric 3D plot.
You will probably want to duplicate the points for the first theta value to close the cylinder. I'm not sure what properties of the graph can be manipulated to make it easier to see.
Bruce
Bruce Ammons
Ammons Engineering
Attachments:
Cylinder_Plot_3D.vi 76 KB -
All Line Items need to send in the PO Change EDI IDoC - ORDCHG
Hi EDI Experts ,
We have ECC 6.04.
We are sending PO Change Message Tyep by using Message Type ORDCHG ( Basic Type ORDERS05)
If PO Changes system trigger IDoc and in Std IDoc it displays only that Line Item who had been changed .
Requierment is that if there is change in any single item, then sytem should send entire/whole PO document ( all Line Items) .
I think we need to write some code in teh routine /requierment ...etc.
Can anyone suggest what I need to do to acehive the above ?
Thanks
NAPHello NAP ,
I have the same problem that you. I ´m using the message type ORDCHG with basic type ORDERS05. when sending change order through Idoc only show me the updete/delete Item in segnment E1EDP01.
What object did you use for the message type ORDCHG ?
What settings should I consider for this?
Thanks in advance,
Luis.- -
FM to get actual line items, budget and actual amounts for a given IO num.
Hello Experts,
I am currently doing a report to show the actual and budget amounts for a given internal
order number. Now, my processing takes a long time so I need to know if there are any
available FM's for this.
I am checking transactions: S_ALR_87013019 and KO03.
Hope you can help me guys.Thank you and take care!Hi Rob,
I am actually modifying my colleague's program and based on my checking, it is taking a very long time to fetch the relevant line items for a given IO(internal order) in tables BSIS and BSAS. Below is the code:
SELECT bukrs
belnr
budat
aufnr
dmbtr
shkzg
INTO TABLE it_pdate1
FROM bsis
WHERE bukrs IN s_bukrs
AND budat IN r_budat_p
AND aufnr IN s_aufnr.
SELECT bukrs
belnr
budat
aufnr
dmbtr
shkzg
APPENDING TABLE it_pdate1
FROM bsas
WHERE bukrs IN s_bukrs
AND budat IN r_budat_p
AND aufnr IN s_aufnr.
SORT it_pdate1 BY aufnr.
DELETE it_pdate1 WHERE aufnr EQ space. -
Different Line Item needs to be displayed in ALV
Hi All,
We have a requirement where in we have to display separate line items corresponding to the separate header in ALv.
we are using the FM REUSE_ALV_HIERSEQ_LIST_DISPLAY, but it is displaying all the line items in all different headers .
For Eg:
Desired Output:
Header Cooresponding to Account Number 1
Coum 1 coum2 colm 3 colm4 " for Acc#$1
Header Cooresponding to Account Number 2
Coum 1 coum2 colm 3 colm4 " for Acc#2
Output getting now:
Header Cooresponding to Account Number 1
Coum 1 coum2 colm 3 colm4 " for Acc#$1
Coum 1 coum2 colm 3 colm4 " for Acc#2
Header Cooresponding to Account Number 2
Coum 1 coum2 colm 3 colm4 " for Acc#$1
Coum 1 coum2 colm 3 colm4 " for Acc#2
Thanks in advance
Regards
Karan AryaHi,
Are you linking correclty the "key" structure?
Say, for example:
gs_key-header01 = 'ACCOUNT'.
gs_key-item01 = 'ACCOUNT'.
This should link your two tables by the "account" field.
and the call to the function
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
it_fieldcat = gt_fieldcat
i_tabname_header = 'GT_HEADER'
i_tabname_item = 'GT_ITEM'
is_keyinfo = gs_key
TABLES
t_outtab_header = gt_header
t_outtab_item = gt_item
EXCEPTIONS
program_error = 1
OTHERS = 2. -
URGENT: Multiple line items in delivery document created for a STO
Hi Gurus,
We ar ecreating deliveries using VL10b for a STO. Teh TSO has 40 - 50 line items. But the delivery is created with one line item only an dit creates a delivery for each line item. How cna we allow the inclusion of multiple line items in delivery?
We are using delivery type NL an ditem categor is NLN.
Geratly appreciate any help in that.
Thanks,
KHANHi Gianpaolo,
Thanks for your suggestion I have 5 shedule line itmes for one material and two shedule line for another material and when i changed the material by selecting one line for each sales document no and creates the delivery it is howing three line itmes for the 1st material and line items for the second and quantities equal to the changed quantity in VL02N. and I have value "1" in field "Split per sched.line" in "user role" view of VL10E.
Kindly help.
Thanks and Regards
Tanweer -
Line item needs to be deleted from a reservation
Hi Guru's,
For a reservation, one of the line items has been created without any material number or
plant. Actually while adding this line item, the material which was selected was discontinued.
The message which popped-up after adding this line item was " This item is discontinued do you want to
continue". Once 'Yes' was pressed, the reservation was completed. Now for this line item both the
material number as well as plant is coming as blank becuase of which I am not able to delete
this item.
Please let me know if we can delete this line item from the reservation or not.
Thanks,
SwatiMark the Check box against Delete option which is beside Final issue in MB22 and try.
Regards,
Ashok -
PR Line Item Number should be Same for PO Line Item Numebr
Hi Gurus,
I have a rare Requiremenet. I will convert Only one PR to PO(So It is one to one) PR Item Number should Be Equal to PO Item Number.. can anybody suggest me is there any way to achive this.
Explanation:
Actually we will create third party Sale order and with A BAPI we create PO in background.
I will change Sales Order qty(Decrease directly or increse with schedule lines) so new PR items will be generated or Existing may be deleted. now i want my PR Item number should be equal to PO Item Number.
In BAPI we have a provision to provide PR number still system is taking in sequential intervel of 10,20,30....
How to overide this...
EX:
PR PO
ItemNO 10 10
ItemNO 30 30
Thanks
PradeepHi Monika,
Thanks a lot my issue got resolved. annd i have another question regarding BAPI_PO_Change.
Actually i am passing Price from PR to PO and i am making no_price_from_po while chenging PO and i am passing PRICE from SO to PO. Below scenario will explain My requirement.
In third party we are creating Automatic PO from SO. we have developed one ZTrasaction for SO Approval in two stages, in second level Approval we are converting PR to PO.
while creating we are able to pass Price value from SO to PO From Condition in the Pricing procedure.
while changing we have 3 scenarios
1.Changing Existing PR Item quantity
2. Adding one more schedule line to the Existing SO so it will create one more PR Item
3. we are adding one more Line Item in the SO in this case also one more PR Item will be generated
we are able to convert each PR Item will be one PO line Item
But while changing we will have PO still we don't want to copy the Price from Previous Document.
we have activated no_price_from_PO in the BAPI but still system is taking from previous Document.
Pl suggest me if there anyway to over come this issue...
Thanks
-Pradeep -
Need a table to be printed at end of line items for each Header level
Hi Friends,
I have to print a table in the smartform at the end of all the line items.
The problem is
For example there are 2 Header Details say A B and header A has 15 line items and B has 8 line items.
Now I am printing header A line items first. Suppose each page can have 5 line items. At the end of line items for header A I need to print a table at the end of line items for each header
Page1
A1
A2
A3
A4
A5
Page2
A6
A7
A8
A9
A10
Page3
A11
A12
A13
A14
A15
Table1 has to be printed on this page
Page4
B1
B2
B3
B4
B5
Page5
B6
B7
B8
Table2 has to be printed on this page.
Does any one had this kind of situation?
Waiting for your replies.
Thanks,
Chaithanya
Edited by: chaithanya k on Mar 20, 2008 5:08 PMHi,
Thanks for your reply and sorry for the late response.
I have 2 tables one is the Header table and the other is Item table. After printing all the item details and then it should print the Header level details at the end of the items details.
Hope you understand. Please see my question where I have given an example.
Thanks,
Chaithanya. -
Value contract - Need restrcition of amount in PO for contract line item
Hello Guru,
I want to create a single value contract (WK) for multiple years .. say 3 years with target value as 450K USD with three line items for each year of value 150K USD. I would like that when buyers create a PO system should not allow them to create release purchase order for each line item more than 150 K for the year. Can somebody tell me how to configure that?
Here is my current config example :
Contract #ABC - Target value 450 with validity date 1/1/11 until 12/31/13
Line item 1 - 150 K
Line item 2 - 150 K
Line item 3 - 150 K
Now when I create PO with respect to contract#ABC line item 1 - system allows me to create PO with more than 150 K but gives me error message only if I exceed more than 450 K (because message 06/042 is error in config).
The requirement is to create a single contract for the vendor. Can somebody help me to figure out the way to restrict PO amount by each year limit by standard or custom configuration?
Thanks, Sachin
Edited by: sachindubey on Feb 29, 2012 10:15 PMHi,
As far as I remember it was simple logic!
Something like
Goto EKPO select KONNR ;
If KONNR != blank (Not equal to blank)
Do not allow to change condition type u201CPB00u201D
Also incorporate addition date check for your need -
To Set Goods Receipt Indicator For Particular Line Items In SRM
Hi All,
i am working on BBP_DOC_CHANGE_BADI in SRM. i am trying to set the goods receipt indicator for particular line items based upon certain conditions. The values are being set in the badi. But when the Purchase Order is created in the backend R/3 i coudn't able to find the goods receipt indiactor being set..
i used this field to set the GR indicator
GR_IND = 'X'. " Goods Receipt Indicator
Can anyone help me in this?
helpfull answers will be rewarded....
Thanks,
MuraliTo Murali and Christophe,
I have set the GR and GR non val indicator in CREATE_PO BADI but I face the following situation :
problem -
In case of multiple account assignment in the shopping cart, the R/3 transaction ME21N sets these flags.
The flag status determined as per EBP conditions is lost.
I need to retain the flag status as per EBP conditions even in this multiple account assignment scenario.
proposed solution -
- CREATE PO badi is already implemented in EBP and customised logic for GR and GR non valflag is in place.
- I create user exit in R/3 backend system in ME21N transaction
- I make RFC call in this user exit to EBP and check the table BBP_PDPSET for the shopping cart.
This is how I get the flag status as per EBP conditions and copy the same to R/3 thereby overriding the multiple account assignment check of the R/3 system.
issue -
When I tried to verify that I can check the BBP_PDPSET table from R/3, I found that this table is not having entries for all the records in CRMD_ORDERADM_I table.
For which shopping carts will the BBP_PDPSET table not be populated ?
thank you in advance,
Bhakti. -
Sales bom line item in billing for information
Dear All,
I have the scenario of Header pricing and line item stock reduction.
Now the client needs in the billing the line item of header should appear for only information purposes.
Please suggest how can we do this
how do we do this?HI,
please go to the item category TAE, there u wl find a field statistical value , enter X there.
i think ur problem wl b solved.
rewards welcome.
cheers -
KOB1 - Display Actual cost line items for Orders
Hi All
A production order has been settled. When the actual cost line items are displayed for the said production order in KOB1, there are multiple line items related to the production order that gets displayed.
The issue we are facing is, in one of the line item, the accounting document has one credit (Consumption a/c) and two debits (one debit is to inventory a/c and another debit is to price difference a/c). However in the report, in the offsetting GL column only one GL code (price difference gl account a/c) but appears with the entire amount.
Ideally two separate line items needs to be displayed with respective line items. Is this a flaw in SAP.
Can anybody throw some light on this and help me.
Regards
Prasannathis is may be config issue.
can you explain with accounting entries for said line items and offsetting GL for each line?
regards.
ashok
Maybe you are looking for
-
Scheduling a background job depending on the output lenght.
Hi every one, I have a small requirement. My client want me to run a program in a foreground if the output is small and should the program in background if the output is large.This has to be achieved through coding. The program downloads the netprice
-
Cannot open itunes after installing Lion. Says trying to restore windows and then quits
-
Hallo, in my VI a SubVI is called. It works in the background, but I want it to appear. After pressing OK or Cancel (= two of the buttons in the menu) it should disappear again. Howe can I mange that? Arno
-
Changing Cost Estimation ( ML activated)
Hi All, We have ML activated and we have Price Control as "S" for all ROH, HALB & FERT Materials. The intention was to have one Cost Estimation per year and difference to be posted to variance. The Material Valuation Strategy is 1. Valuation Price
-
Help - Can't open Adobe files, after expiration of Adobe pro free trial
I had a 30-day free trial of Acrobat 11 Pro, since the free trial expired a few days ago I can't open Adobe files. When I try to open them a pop-up box appears telling me to buy Acrobat 11 Pro...when I decline, it automatically closes Adobe I want to