BAPI for AFS Delivery creation
Hi all,
Does anyone know which BAPI can be used for creating Delivery for AFS items with ref to Sales Order ?
I tried BAPIs like BAPI_OUTB_DELIVERY_CREATE_SLS but there's no field to input schedule line number. So all content I input is not to SL-level but only to Sales order item level.
Thanks!
Edited by: George Sung on May 27, 2010 12:16 PM
Dear Kumar/All
Is it possible to create AFS PO using bapi_po_create1 with delivery schedules
if you done that , kindly let me know it will be of great help.
thanks
Prabhu Shanmugham
Similar Messages
-
BAPI for Outbound Delivery Creation with reference to Sales Order
Dear all,
I'm on R/3 4.6B platform and to develop an RFC for outbound Delivery creation instead of using the standard VL01N transaction.
I've review BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N thread which suggest BAPI_DELIVERYPROCESSING_EXEC .
However, in 4.6B, that function module doesn't exist. Appreciate any suggestion and or workaround.
Thanks.
Steven
Edited by: Steven Khoo on Mar 25, 2010 7:13 AM
Edited by: Steven Khoo on Mar 25, 2010 7:14 AMNot required anymore
-
BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N
Hi Everybody,
We are in ECC 5.0 version.
I want to create a enhancement for Outbound Delivery Creation with reference to a Sales Order.
Is any BAPI available for this ?
Any input on this will be very much helpfull.
Please suggest any BAPI available for this, or should I go for BDC using VL01N or VL04 ?
Thanks in advance.
regards,
Nagarajan.JHi Nagarajan,
The BAPI BAPI_DELIVERYPROCESSING_EXEC meets your requirement. You can create delivery with reference to sales order.
The below is the sample code...
data:lt_request like bapideliciousrequest
occurs 0 with header line,
lt_createditems like bapideliciouscreateditems
occurs 0 with header line,
lt_return like bapiret2
occurs 0 with header line.
lt_request-document_type = 'A'.
lt_request-document_numb = vbeln.
lt_request-document_item = posnr.
lt_request-material = matnr.
lt_request-plant = werks.
lt_request-stge_loc = lgort.
lt_request-quantity_base__uom = base_uom_qty.
lt_request-delivery_date = sy-datum.
append lt_request.
call function 'BAPI_DELIVERYPROCESSING_EXEC'
EXPORTING
DELIVERY_EXTEND =
TECHN_CONTROL =
tables
request = lt_request
createditems = lt_createditems
return = lt_return.
loop at lt_return where type = 'A'
or type = 'E'.
exit.
endloop.
if sy-subrc <> 0.
Use the BAPI for Commit
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'H'.
endif.
Thanks
Ramakrishna -
BAPI for AFS BOM Creation through Cost Sheet
Hello Experts,
Is there any way to create the AFS BOM through BAPI.
Client requirement is to create the automatic AFS BOM through Cost Sheet (KKE1), I already developed custom Cost Sheet as per the requirement .
When we create the Cost Sheet Using KKE1 / ZKKE1, automatically AFS BOM should be create in the system with all grid values of component.
I'm not getting how should I create the AFS BOM using all the components in the Cost Sheet with Grid values.
There is no issue in creation of simple BOM using Bapi but for AFS BOM I'm facing problem.
Please suggest and also tell the possibility.
Thanks & Regards
Prajyot.DHi! Thanks for your help. I used CS_BI_BOM_CREATE_BATCH_INPUT1 and was able to create the BOMs successfully. My problem now is on the change. I tried using CS_BI_BOM_CHANGE_BATCH_INPUT but I kept running into various errors. I think it has something to do with the fields that I am populating in the structures and tables that are being passed to the BAPI. I tried researching for CS_BI_BOM_CHANGE_BATCH_INPUT but could not find any match. The function module documentation is not available as well. If you have used this FM in the past, will appreciate if you could share some inputs on how you were able to make this work. Thanks a lot!
-
BAPI for inbound delivery creation
Hi,
I have to create and modify inbound deliveries from a code, so I'm wondering if exists any BAPI (or function module) to create or modify inbound delivery.
Thanks in advanceThis is an example of BAPI_INB_DELIVERY_CHANGE. It is in the documentation of the function
I hope it helps you...
Example
If you want to change the quantity for a distributed quantity, then following entries are required for the transfer to the connected system:
In the header data of inbound delivery parameter (HEADER_DATA)
The delivery number (DELIV_NUMB)
In parameter item data of inbound delivery (ITEM_DATA)
The delivery number (DELIV_NUMB)
The delivery item (DELIV_ITEM)
The delivery quantity in sales unit (DLV_QTY)
The actual delivery quantity in base UoM (DLV_QTY_IMUNIT)
The sales unit (SALES_UNIT)
The ISO code for the sales unit (SALES_UNIT_ISO)
The base unit of measure (BASE_UOM)
The ISO code for the base unit of measure (BASE_UOM_ISO)
In the control of the inbound delivery at item level parameter (ITEM_CONTROL)
The delivery number (DELIV_NUMB)
The delivery item (DELIV_ITEM)
The Change Delivery Quantity indicator(CHG_DELQTY) -
IDoc or BAPI for inbound delivery creation with reference to PO.
Hi
I have requirement to create a inbound delivery, I will get a ASN from external system with PO, Vendor Material number & batch. I want to know is there any BAPI or IDoc that can be used to create inbound delivery in R/3. I used BBP_INB_DELIVERY_CREATE to create inbound delivery and I was successful but problem is that inbound delivery was not updated with Vendor Material number & Batch. Can some one suggest me any other BAPI or IDoc ?
Thanks in advance
Nagendra P Boggarapu
Edited by: Nagendra P Boggarapu on May 6, 2010 4:06 PMUse Delvry0* IDOC.
Reddy -
Dear all,
Trying to create AFS PO by using BAPI_PO_CREATE1
Passing grid size in field SCH_SIZE (J_3ASIZE) in AFS_POSCHEDULE and after commiting transaction the purchase order is getting created with all info except grid size,
Where we need to pass the grid size inorder to update the same in delivery schedule tab of PO (EKET table)
Anyone, please throw a light on this issue and help us.
Thanks in advance,
KumarDear Kumar/All
Is it possible to create AFS PO using bapi_po_create1 with delivery schedules
if you done that , kindly let me know it will be of great help.
thanks
Prabhu Shanmugham -
BAPI For Inbound Delivery using Purchase Order Number
Hi All,
Is there any BAPI for posting Inbound Delivery (VL31N) using Purchase Order as reference.
thanks
bobbyNot sure what it has to do with enhancements and modifications, but there is no such BAPI:
http://tech.groups.yahoo.com/group/ABAP/message/38307
http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/bapi-for-inbound-delivery-creation-and-update-vl31n-1201265
FYI all BAPIs may be viewed in BAPI transaction. -
IDOC/BAPI for Production order creation from Legacy system
Hi all
We are using an interface to create Production orders from legacy to SAP. Would you recommend an IDOC or a BAPI to create Production orders. If IDOC or BAPI then could you please mention which one?
thanks a bunchHi John,
For your purposes, please use BAPI for production order creation from legacy system. There is no standard inbound IDoc available to use. SAP has an IDoc for outbound interface only (message type LOIPRO).
If there is an inbound IDoc available, I would recommend to use an IDoc.
IDoc technology has excellent error handling and will allow you to reprocess an error (if any).
BAPI is also good approach to use and fast in term of processing.
For BAPI approach, you can use BAPI BAPI_PRODORD_CREATE.
Hope this will help.
Regards,
Ferry Lianto -
Can u tell me any predefined BAPI for change and creation of Material
Hi,
Can anybody tell me predefined BAPI for change and creation of Materialmasterand Pricing?
Thanks & regards,
Gopianne.you can use the BAPI to BAPI_MATERIAL_SAVEDATA create as well as to change material master.
When changing material master data, you need enter only the material
number.
In the header data, you must select at least one view for which data is
to be created. Depending on the view selected, you must maintain other
required parameters. If you do not enter values for all of the required
parameters, the method is ended with an error message.
The corresponding fields in the tables (such as CLIENTDATA) must first
be supplied with data by the calling program. An indicator must also be
set for each of these fields so that the data is written to the database
by the method. This requires the calling program to supply the
corresponding field with the indicator in a checkbox table (for example,
CLIENTDATAX). Checkbox tables exist for tables that do not contain any
language-dependent texts (MAKT, MLTX), International Article Numbers
(MEAN), or tax classifications (MLAN). Several data records for a
material can be created in these tables.
regards
vivek
reward points if it helps -
BAPI for Service order creation
Hi ,
Please tell me if any Bapi for service order creation , T-code : IW31
regards,
PrakashHi Prakash,
Have a look on the following BAPIs:
BAPI_ISUSMORDER_CREATEMULTIPLE - Create Service Orders
BAPI_ALM_CONF_CREATE - Create confirmation for maintenance/service order
WTY04_CREATE_SERVICE_ORDER - Create Service order via function module.
Hope this will help.
Regards,
Nitin. -
Function Module / BAPI for Inbound Delivery from Purchase Order
Hi,
I need to create an inbound delivery from Purchase Order items and am looking out for some Function Module or BAPI for the same.
The requirement is that i should be able to specify selected line items from PO for delivery.
I tried the BDC method for VL31N , but the particular item selection is problem, since by default it shows all the items of PO and i want only selected items.
Do reply.
Thanks in advance.check these and their documentations.
BAPI_INB_DELIVERY_CHANGE Change inbound delivery
BAPI_INB_DELIVERY_CONFIRM_DEC BAPI for inbound delivery verification from a decentralized system
BAPI_INB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Inbound Deliveries
Regards
Prabhu -
Is there any Bapi for Physical Sample creation
Hi Folks,
Is there any Bapi for physical sample creation. My scenario is like this I have the data in the table (material, plant, batch, type,vendor, vendorbatch ). For each material i have to create a physical sample......
Any ideas or suggestions would be appreciated..
thanks
chaithanya.HI Chaitanya,
You can use : BAPI_BATCH_CREATE
it has import paramaters like Material, Plant , batch , Batch Attributes ( Vendor No, Vendor Batch etc)... I guess this is what you are looking for.
Regards,
-Venkat. -
Please Tell me the Standard Bapi for Purchase Order Creation
Hi,
Please tell me the standard BApi for the PO creation. How to excute the standard Bapi. Please help me.
Regrads
MohanHi Mohan,
Use this BAPI BAPI_PO_CREATE1.
Check this post, you have program aswell
https://forums.sdn.sap.com/click.jspa?searchID=7294168&messageID=1172796
Regards,
Satish -
Bapi for return delivery of rejected goods
Hi experts,
can you tell me is there is any bapi for return delivery of rejected goods at transaction QA11?
thanksHi,
You need to use FM BAPI_PO_CREATE to create the return delivery.you have to manually the rejected goods.....
CALL FUNCTION 'BAPI_PO_CREATE'
EXPORTING
po_header = pohead
po_header_add_data = po_header_add_data
header_add_data_relevant = header_add_data_relevant
skip_items_with_error = 'X'
IMPORTING
purchaseorder = purchaseorder
TABLES
po_items = po_items
po_item_schedules = sched
return = return
po_business_partner = businesspartner.
Reward points if helpful,
regards,
jinesh.
Maybe you are looking for
-
How do I open a .pub file sent via email
I received an email attachment with a .pub file extension, but my MAC can't open it. I saw that some users had success with ZamZar or Adobe sites, but I can't access them since the file won't download. Any ideas?
-
Aironet 2702i Autonomous - Web-Authentication with Radius Window 2008
Hi Guys, I have a problems with case, i have diagrams sample like then : AD(Win2008) - Radius(Win2008) - Aironet 2702i => Use methods Web-Auth for EndUser This is my Configure file on Aironet 2702i Aironet2702i#show run Building configuration... Cu
-
Hi Experts, We have an Issue. where and Error messages comes in the Shopping Cart where that error messages is not coming from "Check" Badi. I've checked the ET_MESSAGES of the Signature of BADI there this error messages does not exist but once the
-
Hi, Does anyone know how to insert checkpoints/perform checkpointing in the OpenSPARC T1? I want to perform some error injection simulations and have a check point at a specific time so I can inject errors at the same time each time. Is there a way t
-
HOW TO BRING MY CATALOGUE BACKUP OF PHOTOSHOP ELEMENTS 8 TO ELEMENTS 12?
I GOT WINDOWS 8 AND DIDN´T REALIZE WAS NOT COMPATIBLE WITH MY PHOTOSHOP ELEMENTS 8. KIND OF WORKS, IT´S NOT STABLE. I THINK I´M GOING TO BUY PHOTOSHOP ELEMENTS 12 OR UPGRADE IT. I DON´T KNOW WHAT I HAVE TO DO. IS THERE SOMEONE WITH EXPIRIENCE IN T