Insertion of extra line item in delivery creation
Hi,
I have a requirement like after the creation of delivery from sale order, if we insert new line item in sale order , created delivery should be overwrite with newly added line item in sale order.
Im using RV_DELIVERY_CREATE for creation of delivery and BAPI_OUTB DELIVERYCHANGE for change of delivery. But for the above mentioned requirement is not getting by these Function Modules.
Let me know which parameters should i pass for insertion .
Code will be more sufficient.
Thanks in Advance
Try with this FM WS_DELIVERY_UPDATE where u can modify the created delivery
Similar Messages
-
Insert new line items in Delivery
Hello All,
Is there any BAPI or FM in which i can add new line item in SD delivery vl01n? The new line item will not be there in SO , but i want it in delivery. Manually i can insert new line item using VL01n , but i need FM to do the same.
ThanksHello,
I need a Bapi or FM through which i can add new line item in delivery , maybe while creation of delivery or changing the delivery i.e. via VL01n or Vl02n. The new item will not be there in SO. It is a non valuated material.
Helpful answers will be rewarded.
Thank you -
Problem while inserting extra line item in XVBAP
Hi Experts,
I have to add extra line item in the Sale order through user exit.
So i added new line item in the internal table XVBAK of the subroutine USEREXIT_SAVE_DOCUMENT_PREPARE (MV45AFZZ). Its working fine with the sales order. But when I create delivery of the same new iserted line item is not going to the delivery.
Please give me solution...
Thanks
SameerHi Sameer,
i think, you have added the line in XVBAP - not in XVBAK.
And what's about VBEP - without an entry in VBEP, there will be no delivery note. There are also several indexes for the delivery.
I hav'n dared to put an extra Line into the oder while Save_prepare.
Perhaps try the bapi for order changing.
You can get the new order-number while userexit Save. Save the need of change in an extra teble and change is via bapi with a background - job.
Hans -
Not able to add extra line item in sales order - va01
Hi friends,
At the time of creation of sales order via va01.
I am appending the my extra line item in xvbap. But on screen I am not able to view that extra line item.
Could you please help me out with this problem.
My code is given below.
I am writting this code in MV45AFZB &
in that FORM USEREXIT_CHECK_VBAP USING US_DIALOG.
it_free_goods is the table in which i am having data which needs to be uploaded in xvbap.
IF it_free_goods[] IS NOT INITIAL.
LOOP AT it_free_goods INTO wa_free_goods.
wa_xvbap-matnr = wa_free_goods-matnr.
RV45A-MABNR = wa_free_goods-matnr.
VBAP-POSNR = vbap-posnr + 10.
wa_xvbap-kwmeng = wa_free_goods-menge.
wa_xvbap-meins = wa_free_goods-meins.
wa_xvbap-pstyv = co_pstyv.
wa_xvbap-posnr = vbap-posnr + 10.
wa_XVBAP-UPDKZ = 'I'.
MOVE-CORRESPONDING wa_xvbap TO xvbap.
APPEND xvbap.
ENDLOOP.
ENDIF.
Please let me know if somethings needs to be changed.
It will be very helpful for me,
Thanks,
Best Regards,
PrashantHi Prashanth,
I believe the use of
USEREXIT_CHECK_VBAP
This user exit can be used to carry out additional checks (e.g. for completion) at item level
Please check the following link which has a similar requirement
Re: VA01/VA02 screen exit
Regards
Byju -
Extra Line Items Appearing in Invoice
Dear Experts,
For certain Invoices extra line items are appearing which is not part of our product.
Example I have created an invoice for OPCBULK
but in invoice it is appearing as
OPCBULK -
OPC (BULK)H.2
OPC (BULK)H2
OPC (BULK)H
What can be the issue here. Please help. Thanks.Hi,
I think you are creating invoice with reference to delivery document and in delivery document you have maintain batch split so batch split items are appearing in invoice.
Check delivery
Kapil -
Schedule Line Item 100001 delivery date is missing
Hello Sirs,
After created a sales order in ECC and transferred to TM via XI, the queue remains with STOP status. Entering in transaction /SAPPO/PPO2 I’m facing the error “Schedule Line Item 100001 delivery date is missing”. The delivery date is filled in ECC side.
Is there something that I need to check in TM regarding delivery date?
Thanks.Please try to edit the PO[Change date] and process it again. This issue happens when we use a conversion program to create PO instead of creating it from UI.
-
How to insert a new line item in VA01/VA02 by using ABAP code?
Hi Gurus
i have a very tough requirement. the customer wants to insert a free goods after an item has been populated in VA01/VA02 automatically according to some certain rules. the input material may be a main material of a sales BOM.
for example. let's suppose there is a material A who has two sub-material B and C which is maintained in a sales BOM via CS01/CS02. when the material A has been input in the line item in VA01/VA02, its quantity input and after the ENTER key has been clicked, another material D may be displayed in a new line as a gift if the condition met. the condition relates to customer/material/quanity and these information are stored in a Z-table.
on the other hand, if the material A is only a single material(not a BOM), the gift(material D) will also be filled automatically if the condition met.
i have already enhance the FM cs_bom_explosion to filfill the requirment for BOM materials. whereas it is very hard to find the enhanment point for the single material.
so my question is where is the correct place for me to insert the ABAP code, which decides whether the gift should be given or not and furthermore inserts the new line item into XVBAP. i tried to use MV45AFZZ, whereas the data is always inconsistant if a new line has been inserted. it is very strange that there is no temperary internal table storing line item data input in the table controal of VA01/VA02. system reads the line item data , line by line, via a system kernal function call.
any hints are welcome. thanksHI Stephen,
I have the same prolem. I modified the 5 global tables, but I don't see the new line in the screen.
Can you help me with some details?
Thx!
Mihaela -
Inserting/ deleting a line item in MIGO Transaction ( Goods Issue )?
Hi,
Can anyone help me with the logic for Inserting / deleting a line item in MIGO Transaction?
Thanks,
csHi
The following user exits and badis for migo:
Check the mb_migo_badi and check the method 'LINE_MODIFY' for u r purpose.
For undestanding see the documentation of the badi and see the example implementation
class: CL_EXM_IM_MB_MIGO_BADI
Enhancement/ Business Add-in Description
Enhancement
MB_CF001 Customer Function Exit in the Case of Updating a Art. Doc.
MBCF0011 Read from RESB and RKPF for print list in MB26
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0009 Filling the storage location field
MBCF0007 Customer function exit: Updating a reservation
MBCF0006 Customer function for WBS element
MBCF0005 Article document item for goods receipt/issue slip
MBCF0002 Customer function exit: Segment text in article doc. item
Business Add-in
MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data
MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check
MB_PHYSINV_INTERNAL Connection: Core Inventory and Retail AddOn
MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data
MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens
MB_DOC_BADI_INTERNAL BAdIs when Creating an Article Document (SAP Internal)
MB_DOCUMENT_UPDATE BADI when updating article document: MSEG and MKPF
MB_DOCUMENT_BADI BAdIs when Creating an Article Document
MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR
MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7
MB_CIN_LMBMBU04 posting of gr
MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blocking Tables
ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL
ARC_MM_MATBEL_CHECK Check Add-On-Specific Criteria for MM_MATBEL
If it is helpfu rewards points
Regards
Pratap.M -
Addition of new line line items in delivery while creating
HI All,
i have the requirement of adding a new line item in delivery items while creating it referencing a sales order.
i have to add new line item based on the existing line items. i have done coding in badi save_doc_prepare.
now new line items are getting added but we are not getting values in all the fields which are determined by SAP.
because after badi save_doc_prepare sap does not determine the values for newly added fields.
can anybody suggest some good solution.
thanks
Rajpal Sehrawattry this BAPI BAPI_PO_CREATE
-
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 -
SKB1 is displaying unrelated/extra line items.
Hi,
I am encountering one problem which is related to KSB1 transaction. It's displaying extra line items which are not related to actual line items . Here is the scenario
Actual Assessment Cycle contains one segment :
Segment1 : Sender Cost Center group CG(C1,C2,C3,C4)1---All these cost centers are associated with functional area FA
Cost element : 942XXXX
Receiver Cost Center C5,C6,C7,C8----All these cost centers are associated with functional area FA.
Amount $10
After executing the assessment cycle when go to KSB1 it's displaying the following line items
Doc No Celement Val in currency Cost center partner cost center Ref Doc No f unctional area Posting date
76942 942XXXX $10 C1 C5 76939 FA 09/22/09
76939 942XXXX -$10 C1 C5 FA 09/22/09
76939 942XXXX $0 C1 C5 FA1 09/22/09
76942 942XXXX $0 C1 C5 76939 FA1 09/22/09
I don't know why it's showing the line items which are realted to FA1 and these cost centers ARE assigned to functional area FA not to FA1.Does any one know from where it's pulling this information?Does any one know how it derives the functional area here. I don't know which table has this information(COEP,COEA,CCSS...?) How to fix this?
I really appreciate your thoughts and input
Thanks
BrHi Shekhar,
What is happening in the system is standard SAP behaviour.. In case you do not want Down Payments to be updated in the system, please follow the steps below:-
1. Create a new Field status group as a copy of G067 and make it say Z067(Assets field suppressed here) and assign it to Vendor related recon accounts(Spl GL A)
2. After this, when you create a down payment request in F-47, you will receive an error message F5 378
3. Go to transaction OBA5, enter work area as F5 and chnage the message no 378 to Warning (W)
This setting will not generate additional line items.
Regards,
Kavita -
Automatic Payment Run - Generate Extra line items
Hi All,
We need to create extra line items when automatic payment (F110) is run because we need sub-fund entries.
For example:
Automatic payment will create:
Vendor a/c Dr.
Unpresented Cheque a/c Cr.
We need:
Vendor a/c Dr.
Sub-Fund a/c Dr.
Unpresented Cheque a/c Cr.
Sub-Fund a/c Cr.
This is a requirement specific to our organisation. We need to add these extra line items while F110 is running and before document is posted. We have checked all the user-exits for transaction F110 and didn't find anything to add this.
Any suggestions/ideas is highly appreciated.
Regards,
Sougata.Hi Sougata.
Need to create Substitution rules (transaction OBBH) and within those rules you can define user exits (ZGGBS000 for e.g.). In those user exits, you can split the lines based on Document type (ZP, ZV) for automatic payment clearing.
This is a customization + ABAP intensive approach, but is a approach that is supported by SAP and I have used it in the past to split document lines at any stage in their processing. It has been a while though and I don't have any examples to give you.
Hope that helps!
Rishi -
System is generated extra line item of G/L while clearing throgh F-44
Dear Experts ,
When we processing clearing through F-44 , system is generating one extra line item of G/L , due to this system is not allowing for clearing as the message " Posting is only possible with zero balance ; correct document " is served by system.
Actually while clearing , i am including TDS clearing document (posted via F-54) also .
please suggest.
Thanks & Regards
ShaileshHi
1. First of all i have given advance to vendor with deducting TDS (@10%) via F-48
2. after that i have raised one invoice for same vendor with deducting TDS via FB60
3. vendor TDS clearing via F-54
4. now when i going for vendor clearing via F-44 with taking reference from above F-54 document
i got below error : -
Getting Error when deleting line item of delivery
Hi,
I have cancelled the billing document and set the delivery pick quantity as zero for line item of a delivery and when i am trying to delete that particular line item of delivery, i am getting error message as 'Billing is already exist'. Please suggest how to delete the delete the delivery line item.Hi Krish,
1) U can delete the SC at header level , only if it has not yet approved.
2)Once the SC is approved you can delete the SC at Item level under following conditions:
You cannot delete items that have already been approved and for which follow-on
documents already exist in the backend system, if:
A purchase requisition was created and the completed indicator is set for it,
or the quantity received for the purchase order is equal to or greater than the
quantity requested.
A reservation was created and the final issue indicator is set for it or the
quantity withdrawn equal to or greater than the quantity requested.
A purchase order was created and the delivery completed indicator is set for
it, or a goods receipt has already been entered.
You cannot delete service items that already exist in the backend system.
Hope this will help u.
Award points for suitable anwser ! -
Packging material as a line item in delivery
Hi SAP experts,
Can anyone tell me " How the packaging matrial come as a line item in delivery?"
For eg:
item Description Quantity
10 ABC123(main material) 20
90001 Corrugated plastic 10
90002 Box 1
How to bring packging matrial (starting with -9.....) as a line item in delivery as shown above?hi,
check the packing material type settings in SPRO --> Logistics.
Check for the delivery type / Delivery item category..... you can see the packing with item generation setting.
Prase
Maybe you are looking for
-
Desktop.open() Problem
I recently put together an application that relied heavily on the Desktop.open( ) method and several other methods from the Desktop class. However, all of a sudden the Desktop.open() does not work. I believe I read some where that this was due to the
-
Need help setting up a Mail filter to mark gmail Spam as read
I'm using gmail with Mail and have set up a Smart Folder that catchs all my unread mail. What I'm trying to accomplish is to mark all Spam as read, so it doesn't show up in this Smart Folder. I have a rule: Gmail seems to do a pretty good job catchin
-
Change S/C Currency, at Header Level Not Item Level
Hello, We have a requirement for a requisitioner to be able to purchase for two different companies with different currencies. However, when the requisitioner creates a shopping cart, the shopping cart header defaults to the default currency and cann
-
Maintain two libraries with external harddrive
I just got a netbook for christmas and an external harddrive to backup my itunes and transfer it back and forth between the netbook and the home computer. I copied all of my itunes music via the method suggested in tech support to copy my files to my
-
Is JSF a good candidate for Login pages?
Hi all, In a JSF-based web app, should the login page be JSF-based at all? It seems any JSF page assumes we have a live session, with the component tree and all that stuff. But before a user is logged in, there may not be a session. If a JSF login pa