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
NAP
Hello 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.-
Similar Messages
-
Changing line item delivery address in shopping cart need to reflect same in all line items
Hi All,
Need help on below,
I have a requirement that when we change the shopping cart line item delivery address same needs to reflect all line items.
Suppose a shopping cart having 3 line items 1, 2 and 3. if i change the delivery address of line item 1, the same needs to reflect the line item 2 and 3 as well.
In my case if we change the 1's delivery address, after processing its genrating the IDOC on line item wise not in the header wise. And same having the different delivery address.
Thanks in advance.
regards:
RameshHello Ramesh,
we can do this changes in BBP_DOC_CHANGE_BADI . Create a Implementation for the above BADI and Inside that Implementation BADI method just call the function module BBP_PD_SC_GETDETAIL for SC item details by passing the Header GUID.
Once you get the Partner table(E_PARTNER) details.. Keeping a loop on SC item(E_ITEM) and change address number(ADDR_NO) in Partner table when Partner function eq X( X is an partner function values which you define in SPRO.).
pseudo logic:
CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
EXPORTING
i_guid = l_guid
TABLES
e_item = lt_item
e_partner = lt_partner.
* Check for all the line items if vendor is assigned
LOOP AT lt_item INTO lwa_item.
READ TABLE lt_partner INTO lwa_partner
WITH KEY partner_fct = '00000019'
del_ind = space
p_guid = lwa_item-guid.
IF sy-subrc eq 0 .
* modification of address number logic here in partner table
ENDIF.
ENDLOOP.
All the best.
Regards,
Sankarbabu -
Sum of all line items and display at the bottom of the page
Hi ABAPers,
I am displaying line items in the main window based on PO number ....and I've a coloumn Total amount.
My requirement is after the line items , the grand total which is the sum of all line items has to be displayed.
Is this possible. If so, can anybosy help me in that.
thanks in advanceHi ,
It is possible.
For that u have to do following
take one variable of same type on which you want to calculate total ... declare in global variable
double click in the table goto the calculation tab in that give the variable on which u want to calculate total
print in the total in the footer of the table ..
Hope you resolve your problem
Let me know any concerns...... -
PO Line item attachments going along with the PO o/p to Vendor!
Hi all,
We are on SRM 5.0 ECS SP 13.
I had one question regarding the attachments in the PO line items.If I attach documents at the PO Line item and sent the PO o/p to vendior through e-mail,then all the attachments at the PO line item also go along with the o/p..Is this is a std behaviour in SRM 5.0?
Also if i need to avoid sending of the PO line item attachments along with the PO o/p to the vendor,then I guess the "Internal" indicator for the documents need to be set rt?Is there any way the documents at the PO line item can be set as "INTERNAL"?
I know this is achived in SRM 6.0 and above and there is an OSS note which mentions that.
Has anybody worked on something similar?Please share your eperiences/suggestions.
Thanks!HI,Rads:
I think you should do the inhancements in this situation. I met this question in my last case .Follow is my suggestions ,maybe helpful .
The BADI NAME:BBP_OUTPUT_CHANGE_SF(Document Output)
YOU should chage the code .If you do 't send the attachment to the vendor ,you should set "Space ",jut like this :
WHEN 'BUS2200'.
CV_SMARTFORM = 'ZBBP_BID_INVITATION'.
CV_SMARTFORM_MAIL = 'ZBBP_OUTPUT_COVER'.
"exclude attachment
CS_PARAMETERS-ATTACH_IND = SPACE.
Then the attachment will not been sent out ,you can try .
Alex !
Bestregards -
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. -
What is Tcode for single delivery for all line items in PO
Hi all,
Sorry if it is a simple question, But I am from SD module. What is Tcode to create a single delivery documents for all line items in PO. I have 3 line items with Different materials having diffent quantities and there are different delivery dates and different delivery schedule dates. I need to create single delivery. Could you please tell me how to do it? What is the Tcode?
Thanks
AnilHi,
Inbound delivery T.code :VL31N,
Regards,
JS -
Tcode to create single delivery document for all line items in PO
Hi all,
Sorry if it is a simple question, But I am from SD module. What is Tcode to create a single delivery documents for all line items in PO. I have 3 line items with Different materials having diffent quantities and there are different delivery dates and different delivery schedule dates. I need to create single delivery. Could you please tell me how to do it? What is the Tcode?
Thanks
AnilHi,
Inbound delivery T.code VL31N.
Regards,
JS -
Can it not possible that i can retrive it for all line items in a single qu
I have to make report for my application in which I am facing a following problem:
In the application there are multiple suppliers and each supplier having multiple line items and each item having multipale events. each evant having three status GREEN,RED and BLUE.
When a user select 'all suppliers' to show the the status time span for a supplier (i.e. for a supplier how many parts and upto how much time parts are in blue, red and green status)
to show the cumulative status time span I have to find out a event for each line item which is having nearest lower entry time from the lower part of the given time span.for this i have write following query
SELECT * FROM parts_events
WHERE vendorid = ? AND partid = ?
AND visible = 'visible' AND active = 1
AND entrytime = (SELECT MAX(entrytime) as
entrytime from parts_events
WHERE vendorid = ?
AND partid = ?
AND entrytime < ?
AND visible = 'visible'
AND active = 1)
the problem is that i have to fire this query for each line item, can it not possible that i can retrive it for all line items in a single query?maybe if you can post some sample data and output will help us analyze more youre requirement.
-
Few line items are not coming at the time of creation of delivery
Dear Experts,
When the user creating the delivery few line items are not picking in the delivery document
the following checks i verified,
Stock is available
shpping condition is differ from sold to party and sales document
Plants are same for all the line items
why the few line items are not coming in the delivery document creation,
please help me to sort out this issue
Thanks and Best Regards,
Muralidharan SHi,
Check below points.
Point 1:
When you create a delivery document, you create it for a Shipping Point.
So whatever the line that came in to one delivery has determined same shipping point that you entered in VL01N screen.
Others got a different shipping point and that's why it didn't come to the same delivery document.
Shipping point determined based on below criteria
- Shipping Condition - From customer master
- Loading Group - Material
- Plant - Delivery Plant of the sales order line item
You assign a proffered shipping point for above combination in configuration.
If that combination is not find, those line items are not going in to the delivery.
You can check the log of the delivery document for more information as well.
Point 2:
Check the line item Requested delivery date and the "Selection Date" you entered in the VL01N screen.
Al Requested delivery dates has to be on or before the "Selection Date" you entered in the VL01N screen.
Those line items which has a date more than that will dropped in the delivery.
Best regards,
Anupa -
Which all tables suffice all line item GL data requirements
Please clarify this requirement for Line Item Data from New GL. my client BMW Inc have configured New GL in ECC 6.0 if i pull all the records to BW from FAGLFLEXA (Line Item Table) is that sufficient to meet the <b>all line item GL data</b> or is there any other tables missing that also shall be combined to bring the Line item GL data. Please help me for this if u can check with any of your friends in FICO.
2. I have seen that BSEG AND BKPF are used earlier in old FI versions so what is there now in New GL ECC 6.0 that will suffice for these BSEG AND BKPF or still i have to pull records by using these tables. for GL Line Item Data.
If you can help me to give the short overview of New GL posting process it would be great.
Thanks
Regards
Soniya KapoorHi Soniya,
FAGLFLEXA & FAGLFLEXT would contain all FI line item
http://help.sap.com/saphelp_erp2005vp/helpdata/en/a8/e26840b151181ce10000000a1550b0/content.htm
Pls assign points as way to say thanks -
Open status of Credit Memo after rejecting all line items
Dear Gurus
I am facing a problem. In my company we are using 2 credit memo types. One is CR and other ZCR (Copy of CR). I have tried both but both have same problem. I have also tried creating credit memos with reference to billing document, sales document and without reference also but the issue is same.
Problem is this we create credit memo with VA01 and post it with VF01. After posting if we cancel its posting with VF11 and reject the line items in VA02 the status of credit memo remain open. Cancellation documents are ok and completed but only credit memo in VA02 remain open even after rejecting all line items.
I have checked incomplete log of sales document type (CR and ZCR) in VOV8 and item types (G2N) in VOV7. All fields which are defined in incompletion log are there in document header and item.
Following is the copy paste data of Header Status tab
Overall status Open
Rejection status Everything rejected
Credit status Not performed
Bill.stat.order-rel. Not invoiced
Overall blkd status Not blocked
Header data Complete Item data All items complete
Header dlv.data Complete Item deliv.data All items complete
Header bill.dat Complete Item bill.data All items complete
please help.dear sir
if you mean to say to check Reason for rejection's settings in OVAG i have checked it and all rejection reasons are being in use in all other sales documents too. They are working fine in all other sales document. Issue is only in these two credit memos types.
Assigned by the System (Internal)
Delivery date too late
Poor quality
Too expensive
Competitor better
Guarantee
Unreasonable request
Cust.to receive replacement
Transaction is being checked
These are reasons and Stat column is empty for all. Other 3 columns have no tick in any reason. -
Hi All,
I'm using BAPI_SALESORDER_CREATEFROMDAT2 to create a sales order where order type is having multiple line items.
All the fields are being updated in SAP correctly . But quantity field is updated only for first line item. For all other items, all fields are being updated except quantity. I checked in Debugging and all the values for all line items are coming correct.
Pls suggest me.
Thanks in advance..
Rudresh
MumbaiHi Rudresh
Please check if you are passing Schedule lines for the same.
Itz better if you pass item number for ORDER_ITEMS_IN. Use the same as reference for ORDER_ITEMS_INX, ORDER_SCHEDULES_IN, ORDER_SCHEDULES_INX, ORDER_CONDITIONS_IN, ORDER_CONDITIONS_INX.
Kind Regards
Eswar -
Restrict system from doing re-confirmation of all line items in SO
Hello SDNs,
When we change the quantity of one line item, system is going for re-confirmation of all line items.
when there are multiple line items, it is having perfomance problem. Now we want to change this to go for re-confirmation of only the changed line item. Please suggest me how to move ahead.
Regards
HariHi,
what you are willing to implement is not a supported functionality in the current Yard management.
If this is not yet the case, I would encourage you to open a SAP Customer message so that your question gets checked and analysed at development support.
BR
Alain -
Payment Term to appear compulsorily in all line items
Hi All,
There is a requirement from the client that payment term should appear compulsorily in all line
items in FBL5N.
To make the above possible one solution proposed is that to make payment term as a required
entry in field status group of customer GL reconciliation account , and make payment term optional in Field status of the following posting keys which is now suppressed
05- Outgoing Payment
07- Other Clearing
15- Incoming payment
17- Other clearing
18- Payment Clearing
Are there any drawback if we go ahead with the above configuration, or is there any better solution. Please get back immediately as its an urgent requirement.
Regards
Milind Nairhello,
Isnt there anyone who can provide a solution.
Regards
Milind Nair -
Copy line item text in all line items
Hi
My requirement is during transaction, if long text entered in one line item the same taxt should copy to all line item by default. if user want to chane the same for particular line item, it should be changable.
Is it possible?. If yes, please revert in detail.
RegardsHi Devi,
If you put a plus sign in the text field, the system copy the previuos line text into the current field.
Of course you can change it if you want.
In addition we did a change in our system so the header text is transfered to the lines text when the line text field is empty.
Regards
Ofer
Maybe you are looking for
-
Cant upgrade to lastest itunes 10.5.1
I have a macbook, 2.4 intel core 2 duo version 10.5.8 Im trying to upgrade my iphone 4 to latest 5.0.1. I plug in my iphone, i tunes opens up, it says "a newer version of the iphone software is available (version 5.0.1) to update yor iphone with the
-
Issue with the sender file interfaces when using UTF-8 files
Hello experts, We are having number of File to SAP interface scenarios in our business process. In the past, we are having the files coming to us in ASCII text format. Recently, because of the business process change(to handle multiple languages
-
When restoring my iphone 4 i get a error message -50
Hi can anyone help me im stuck. My iphone 4 was synced with a mac. my mac died, so I got a windows laptop. I downloaded I tunes and when restoring my iphone it comes up with a error message -50. can anyone tell me how to fix this problem?
-
Faulty touch screen for my Droid Incredible 2
I have a Droid Incredible 2, but I am having a tough time being positive about it. The lower edge of my touch screen has become non-responsive and/or finicky at random times. While on the desktop, I often can't get the "Phone" button to work. It i
-
Difference between smartforms and adobeform
hi all, can you tell me what are the differences between smartforms and adobeform? Thanks,