New line item insertion in delivery via EDI - PI
hi,
the requirement is to insert a new line item in the delivery.
This new line item inserted should be done via an IDOC, which while entering the SAP will insert a new line item in the delivery.
The question if this line item insertion should be done through the inbound FM in SAP or via XI/PI.
How will this be done in PI??
Thanks a lot
Hai,
How you delivery creating or updation working in ECC??
like if you are using PI interface create/update delivery in ECC ,then you cae use PI only to insert new line item for material id.
else if you want do manually you can create in VA02/VA42 TRASACTIONs or using function module also we can do that.
option is yours.
if you dont have much idea then better to talk with ABAP/Functional guys they will easily do this without PI.
Regards,
Raj
Similar Messages
-
Inserting new line item into existing delivery using BAPI
Hi
can you send me the code for inserting new line item into existing delivery either using BAPI or
Function module.
We are using SAP 4.7 versionHi Sreekanth,
Refer to this links
New item for outbound delivery via FM/BAPI?
/message/3976349#3976349 [original link is broken]
BAPI_OUTB_DELIVERY_CHANGE Help - Add new line item
hope it is useful to you.
Regards! -
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 -
Adding a new line item using BAPI_OUTB_DELIVERY_CHANGE
Hi,
I have a requirement to add a new line item to outbound delivery to the existing line items using the FM BAPI_OUTB_DELIVERY_CHANGE.Pls suggest how to do it.
Thanks in advance.
AnandHi,
Did you Check IN SCN like [THIS|Re: BAPI_OUTB_DELIVERY_CHANGE Help - Add new line item].
Regards,
Rahul -
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 -
BOM Change - Delete an item(s) and insert new line items
Hi,
We need to mass update BOMs like for some of the existing BOM's we need to delete some line items and insert new line items. We want to use the BOMMAT04 IDOC in LSMW but I'd like to know couple of things before I go ahead with that approach
For instance, I've a finished good material 12345678 and it has three components
a) Item 0010 Material 30101010 of quantity 10
b) Item 0020 Material 30101011 of quantity 11
C) Item 0030 Material 30101012 of quantity 12
Now, I'd like delete Item 0010 and add a new item 0040 Material 30101013 of quantity 13.
In the segment E1STKOM, there is LOEKZ (Deletion Flag) but I dont want to flag for deletion but instead delete the whole line item and add a new line item.
Is there any way to achieve this using BOMMAT04 IDOC? If not, can you please suggest me a better way to do it
Any help is greatly appreciated
Thanks,
SrinivasDear Srinivas,
1.IF you want to change for an individual BOM,use CS02,select the item which you want to delete,select the entire and click on
delete button and then add new line items and save.
2.For Mass changes of BOM you can use CS20.
3.Check these functional module's also if you want to change using a report,
CS_BI_BOM_CHANGE_BATCH_INPUT Change bill of material via batch input
CSEP_MAT_BOM_SELECT_CHANGE API Bills of Material: Select BOM(s)
CS_CL_P_BOM_MASS_CHANGE
CS_CL_S_BOM_CHANGE_COMPLETE
Check and revert back,.
Regards
Mangalraj.S -
Insert new line item in va01&va02 - urgent
Hi frndz,
At the time of creation standard sales order using va01.
When user enters the sold to party in header and then
material & quantity in line item reocrds. After user enters the details in first line. I have some checks to be executed and on the basis of that customer will get the free material that should come on second line item.
I am getting the details which i will be inserting on new line item but the problem is that in which exit i should write the code for the same.
So frndz could you please let me know, in which userexit I should insert this new line item. There can be more than one free material.
If anyone has done this already, please let me know.
I know one exit i.e.MV45AFZB but in that there are many forms. so exactly which form i should where i will write the code to insert new line item???
Points will be awarded surely.
Regards,
PrashantHI 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 new line item in Sales order
Hi,
We are doing a feasibility check to find out whether a new line item can be successfully inserted into a sales order based on certain pricing conditions that is received through an ORDERS05 inbound idoc.
I tried adding a new segment E1EDP01 to the existing idoc in the user exit EXIT_SAPLVEDA_011 assuming that the VA01 posting program would accept the new line item but that approach is not working.
Looking at various posts in the forum, I gather that the best way is to use the function 'BAPI_SALESORDER_CHANGE'. Can anyone please let me know how exactly a new item can be inserted using this function module?
Any help would be appreciated.
ThanksHi Sneha,
Please use the FM 'BAPI_SALESORDER_CHANGE' to add a new line item as under:
CALL 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = "Pass the Sales order no here"
order_header_inx = "Pass the value of update flag as I as u need to "
"insert a new line item"
TABLES
return = "Will contain the error/success messages"
"after the processing"
ORDER_ITEM_IN = "Here pass the item info tht needs to be added"
Also do a Commit Work after this FM call to reflect the changes in database.
Regards,
Chetan.
PS: Reward points if this is helpful.
Message was edited by:
Chetan H. Dubey -
Hi,
I need to insert new line item into PO if the material entered is BOM material. My requirement is like this, If the user creates the PO with BOM material then i need to insert all the inside components as line item in that PO. Please suggest me any user exits avaiable or any way to achieve this( It's not a subcontracting PO).
Thanks,
Ganga.hi
PCSD0001 Applications development R/3 BOMS
PCSD0002 BOMs: Customer fields in item
PCSD0003 BOMs: Customer fields in header
PCSD0004 BOM comparison
PCSD0005 BOMs: component check for material items
PCSD0006 Mass changes user exit
PCSD0007 Check changes in STKO
PCSD0008 WBS BOM: Customer-specific explosion for creating
PCSD0009 Order/WBS BOM, determine URL page
PCSD0010 Order/WBS BOM, determine explosion date
PCSD0011 Knowledge-based order BOM, parallel update
PCSD0012 Customer - Mat. number/mat. number during material exch
PCSD0013 Customer-specific processing of an explosion for BOM br
**Please reward suitable points***
With Regards
Navin Khedikar -
Add new line item in existing outbound delivery
Hi,
I am trying to add new line item in existing outbound delivery with material number and quantity.
for this i tried BAPI_OUTB_DELIVERY_CHANGE and LE_MOB_DELIVERY_UPDATE.
but both fm doesn't work and this will not add new line in that delivery.
please help me how can i add new line item in delivery.
I hope someone will help me........plz
ThanksThis kind of question is about to become a FAQ, I think....search the forum for similar questions.
-
Idoc Type to add a new line item to existing Inbound delivery
Hi Friends,
we have one requirement.
In the system Inbound delivery is created through Idoc. Once the inbound delivery is created, we need to change that inbound delivery by adding a new line item to that inbound delivery where the line item belongs to another PO. Means, I have an existing inbound delivery number for a PO having one line item. Now I want to add another line item into the inbound delivery for another PO. I have created the inbound delivery through Idoc using the idoc type DESADV. Now I want to change the inbound delivery for adding the line item. Can anybody please tell me which idoc type should I use for this above highlighted requirement?
Thanks & Regards
SatyaHi.
I have one PO 4500000001 for which I have created the inbound delivery 180000001. This inbound delivery has been created through an IDOC. I have another PO 4500000002 having one line item. Now i want to add another line item into the inbound delivery 180000001 for the PO 4500000002 as second line item. To add a second line item to the existing inbound delivery, which IDOC type should I use.
Hope it clarifies the requriement.
Thanks & Regards
Satya -
New line item in the service contract
Hi Gurus,
I have requirement to add the new line item in the service contract. Details are as follows.
as per the requirment, manually we are entering the outbound category via web Ui (service -> service contract).Now I have to develope a badi/method in standard badi exec_methodcall_ppf which will insert a new line item with the same material as of outbout category but with the item category as inboud.
could you please help in how can I maintain the new line time. I know we have to use the crm_order_maintain FM but I'm confused what all parameter we need to pass to maintain this.
can someone please share the code to do that. TIAHi Paul,
It seems there is no option in changing the condition records at the billing plan item level.
Please try the following.. see if it helps. To execute the invoices with new condition record values directly, make the settings at the billing item category level goto -- the billing document frame -- under serivces frame -- pricing type select option Carryout new pricing (Option B). This option updates the billing document at the time of invoicing with new price calculation.
please see if this can help you out.
Have a good day!!!
Nandu -
Adding additional line items to a delivery
Friends,
I need to find a way of inserting a new line item on an existing delivery. The new delivery item will be based on a newly inserted sales order item.
So far what I've found is that I can create a brand new delivery for a new sales order item but I can't insert a new line in an existing delivery. The function modules that I've tried so far are:
WS_DELIVERY_UPDATE_2
WS_DELIVERY_UPDATE_TO_CREATE.
BAPI_OUTB_DELIVERY_CREATE_SLS
BAPI_OUTB_DELIVERY_CHANGE
But none of these seem to work on existing deliveries.
Any hints would be greatly appreciated. Thanks.Yes.. what you are saying is correct. But i need to add this new line item in the existing inbound delivery through the function module WS_DELIVERY_UPDATE. Im not able to add the new item in the Inbound delivery using this function module. Please let me know how should i proceed on the same. Im passing the necessary parameter values for this function module. Is there any flag that needs to be set to add the new line item.
Thanks for ur help.
Thanks
Albina -
General Ledger Accounting (New): Line Items 0FIGL_O14 Performace issue
Dear Forum,
We are facing a performance issue while loading the data to 0FIGL_O14 General Ledger Accounting (New): Line Items from CUBE ZMMPRC01 -> ODSO 0FIGL_O14 DSO.
Please see my requirement below for updating the data to 0FIGL_O14 DSO.
This report is generated to display Dry Dock and Running Repair expenses for the particular Purchase orders with respective G/L's.
1) The G/L DSO will provide us the 0DEBIT_LC and 0DEB_CRE_DC Foreign currency amount with signs (+/-) amounts and.
2) ZMMPRC01 Cube will provide us the 0ORDER_VALUE (Purchse order value)and 0INVCD_AMNT Invoice amount.
While we are loading the data from CUBE ZMMPRC01 -> ODSO 0FIGL_O14 DSO ,we have created nearly 19 InfoObject level routine to derive the below mentioned fields data for MM Purchase Order related records.
0CHRT_ACCTS Chart of accounts
0ITEM_NUM Number of line item within accounting documen
0AC_DOC_NO Accounting document number
0GL_ACCOUNT G/L Account
0COMP_CODE Company code
0COSTCENTER Cost Center
0CO_AREA Controlling area
0COSTELMNT Cost Element
0SEGMENT Segment for Segmental Reporting
0BUS_AREA Business area
0FUNC_AREA Functional area
0AC_DOC_NR Document Number (General Ledger View)
0AC_DOC_TYP Document type
0POST_KEY Posting key
0PSTNG_DATE Posting date in the document
0DOC_CURRCY Document currency
0LOC_CURTP2 Currency Type of Second Local Currency
0CALQUART1 Quarter
0CALYEAR Calendar year
For reference Please see the below logic to derive the data for PO related record.
DATA:
MONITOR_REC TYPE rsmonitor.
$$ begin of routine - insert your code only below this line -
... "insert your code here
types : begin of ty_FIGL,
CHRT_ACCTS type /BI0/OICHRT_ACCTS,
ITEM_NUM type /BI0/OIITEM_NUM,
AC_DOC_NO type /BI0/OIAC_DOC_NO,
GL_ACCOUNT type /BI0/OIGL_ACCOUNT,
end of ty_FIGL.
data :it_figl type STANDARD TABLE OF ty_figl,
wa_figl type ty_figl.
SELECT single CHRT_ACCTS
ITEM_NUM
AC_DOC_NO
GL_ACCOUNT from /BI0/AFIGL_O1400
into wa_figl
where DOC_NUM = SOURCE_FIELDS-DOC_NUM and
DOC_ITEM = SOURCE_FIELDS-DOC_ITEM and
/BIC/Z_PCODE = SOURCE_FIELDS-/BIC/Z_PCODE
and
/BIC/Z_VOY_NO = SOURCE_FIELDS-/BIC/Z_VOY_NO
and
FISCYEAR = SOURCE_FIELDS-FISCYEAR.
if sy-subrc = 0.
RESULT = wa_figl-AC_DOC_NO.
ENDIF.
clear wa_figl.
Please note the same kind of logic is applied for all the above mentioned fields.
Here is my concerns and issue.
For the all above all routines i am referring BI0/AFIGL_O1400
DSO and finally loading to the Same DSO(BI0/AFIGL_O1400
The worried part is my DSO 0FIGL_O1400 is currecnly having nearly 60 Lacks records and MM cube is having nearly 55 requests which are required to update to the Above DSO for PO related PO value and Invoice amount.
The big issue here is while uploading data from MM cube to DSO say for example if the request is having 25,000 records from this nearly 500-600 records will be updated to DSO.
But here it is taking huge time ( nearly 3 days for request ) for updating these records , like this i have to pull 50 more requests from Cube to DSO as per the requirement.
Please note as of now i haven't created any indexes on DSO to improve this loads.
Please note am facing this issue in Production environment and need your help ASAP.
Thanks & Regards,
Srinivas PadugulaHi,
If selecting data from 0FIGL_O14 is taking long time then you can create secondary indexes on DSO.
0FIGL_O14 would be huge as data volume directly corresponds to data volume in BSEG.
But for you requirement, I think what you can do is,
1. create multiprovider on top of DSO and Cube and create Bex report to give you the fields requried from both the infoproviders, you can then use open hub or APD approach to keep the data in the staging table or direct update DSO and then load the data to the DSO
2. Create secondary indexes on DSO so that fetching would be faster.
3. Do the enhancment at R/3 level to fetch fields from MM during load of G/L
Regards,
Pravin Karkhanis. -
How to make a new line item appear in a sales order in VA01 transaction?
Dear All,
I am trying to create a SO with single line item with quantity 100.
Upon hitting the 'Enter' key, if the available quantity is less than the requested quantity (say 20), it takes me to an availabilty control screen which has a push-button 'One-time delivery' on the application tool bar.
Upon clicking on this button, it takes me back to the main screen of VA01 where I currently see only one line item with quantity 100 and confirmed quantity 20.
My requirement here is to make two line items appear, one with quantity 20 and the other with quantity 80, once I navigate back to the main screen of VA01 after clicking on the push-button 'One-time delivery'.
Please provide me your valuable inputs. Any kind of help is highly appreciated.
Useful answers never go unrewarded.
Regards,
Sreekanth Reddy B.Hi Sreekanth ,
creating line items based on the confirmation qty can be done thru config, not thru ABAP,standard SAP will gives you options to create a new line item for unconfirmed qtys.
check with ur functional consultant or try to post in SD /APO forums.
regards
Prabhu
Maybe you are looking for
-
How can I bcc an email address into a link - in Muse?
I have a contact button that I have a primary email address for but would also like to bcc my own email address into it also. How do I do that? In the hyperlinks dropdown, I tried just putting the address I wanted to bcc in after the primary one (sep
-
HP Mini 311-1025NR dead three weeks after purchase
I bought my HP Mini at Ultimate Electronics in Denver on March 24 2010. On April 14, the computer stopped working altogether. Ultimate refused to accept its return because it was outside their 14-day return period. I phoned HP support twice so far
-
Unable to select or edit artwork
I'm new to Illustrator CS5 (but not that new to drawing tools, etc.) and am trying to change the color on an existing logo. I have the logo in an .eps file but when I open it, I can't select the artwork. I've tried "select all on active artboard",
-
Disparity in scores despite same reports?
After reading the forums for a while i've finally decided to sign up and join everyone.I've been subscribed to experian for a while and it shows my score's coming in at a healthy(considering my currently sky high utilization) 632, however I found my
-
Telecharger photoshop elements 12 sur version windows 8?
Bonjour, Depuis 4 heures, je cherche a installer mon nouveau programme photoshop elements 12 sur version windows 8! alors c est bien un dvd que j ai sur mon pc Le programme est telecharger dans ma farde telechargements, mais ne veut pas s ouvrir ou q