Create Delveries(Partial) for one order using BAPI_OUTB_DELIVERY_CREATE_SLS
Hi All,
In ECC Transaction VL10A, for example for one order having 5 QTY, user can process 2 QTY and create delivery, remaining
with 3 QTY another delivery is possible.
Same way i am trying to create deliverys using BAPI_OUTB_DELIVERY_CREATE_SLS.
For Processing delivery ( giving Partial QTY ) i am using another application and that is working. But when i am trying to create
delivery for same order (which is Parial delivered), it is not allowing to create delivery. giving error.
No Instance of object type Outbound delivery has been created external reference.
No Schedule lines due for delivery upto the selected date.
Is there any other BAPI is there for like this scenario or how can i process this using this BAPI??
Please give me any help?
This is code i am using to process BAPI...
if sy-subrc is INITIAL.
LOOP AT IT_VBAP INTO WA_VBAP.
WA_TAB-REF_DOC = WA_VBAP-VBELN.
WA_TAB-REF_ITEM = WA_VBAP-POSNR.
WA_TAB-DLV_QTY = WA_VBAP-KWMENG.
WA_TAB-SALES_UNIT = WA_VBAP-VRKME.
append WA_TAB to DEL_TAB.
ENDLOOP.
ENDIF.
* Calling BAPI_OUTB_DELIVERY_CREATE_SLS
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CREATE_SLS'
EXPORTING
SHIP_POINT = lv_ship_point
DUE_DATE = lv_ledat
IMPORTING
DELIVERY = del
TABLES
SALES_ORDER_ITEMS = del_tab
RETURN = bapi_return.
Thanks,
Venkat.
Hi Venkat,
If you check the Function Module Documentation, there is a note which mentions:
Order (SALES_ORDER_ITEMS-REF_DOC)
Unless specified otherwise, the entire order is delivered. This means that it is not necessary to list all the order items. It is sufficient to specify the order number.
Please try this.
Regards,
Pranav.
Similar Messages
-
Create Planned HUs for Sales Order using transaction MFP12
Hi,
I am using MFP12 for creating the Handling units based on Sales Order. I can able to create the Handling units based on Sales Ord. But the problem here is I am not getting how the Sales Order creating the Handling units with out taking the reference from Outbound Delivery.
Kindly let me know the functional flow and the corresponding tables that should update the handling units based on Sales order.
Regards,
Muraliresolved
-
Project Report for One Project Using Excel
Hi,
Is is possible to create a report for one project using excel?
I want to create a pdp with an Excel Viewer web part and have the following tabs with data specific to the one project.
1. Cover
2. Issues
3. Risks
4. Deliverables
I tried passing the ProjUid to an Excel doc via the Excel Query Filter Web Part and was able to filter the Issues lists only but don't know if its possible to filter out the other tabs by using the same paramater. Is this possible?
I have not looked at Odata but was wondering if it was possible to pass a paramater to the odata query and still have the spreadsheet work in a web view in SharePoint?Hi,
I'd say that as far as you promote the Proj UID field as a filter in all sheets of your Excel workbook, using the Excel
Query Filter Web Part should work fine. But testing it should be easy, since you already did half of the work.
See excellent article from Andrew on this topic:
http://azlav.umtblog.com/2012/12/05/filtering-excel-webparts-in-office-365-part-2/
http://azlav.umtblog.com/2012/07/03/creating-a-project-resource-list-in-a-pdp/
Hope this helps,
Guillaume Rouyre, MBA, MCP, MCTS | -
BAPI For Create Goods Issue for Sales order with picked quantity
Hi friends,
Is there any BAPI available to create Goods issue For sales order with picked quantity...............?
we hv used BAPI_OUTB_DELIVERY_CREATE_SLS
with sales order .......its creating delivery order but not doing goods issue with piked quantity........pls,reply its argent
-
How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0
How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?
Hi,
First go thourh the FM import export parameters list.
Try to create an internal table of type INRI-NRRANGENR for number ranges.
We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
Try to create the ncessary ones using this FM.
In the Exit, EXIT_SAPMM06E_001,
the Export parameters are-
EKKO-EBELN- the PO ios created with in that specified range
Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
Try to code this in the Include provded and keep Breakpint and check the PO number generated.
Reply if u need more help on this.
Reward if helpful.
Best Wishes,
Chandralekha -
Urgent: Creating ALE IDOC for SALES ORDER
hi
please tell me <b>step by step procedure to create ALE IDOC for SALES ORDER?</b>
reward for sure
regards
ravishHi,
ALE IDOC
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
Regards -
How to create Billing Plan in sales order using Function module /BAPI
hi,
How to create Billing Plan in sales order using Function module /BAPI
i hv check few FM such
BILLING_SCHEDULE_READ
BILLING_SCHEDULE_GET_NUMBER
BILLING_SCHEDULE_SAVE
But unable to create billing plan for a sales order.....any other method to create???Hi,
Use this link.
Create sales order with billing plan via LSMW and BAPI BUS2032
BAPI or Function to update Billing Plan in Sales Order Items
Hope this will help you.
Regards,
Vijay -
Down Payment processing for Sales orders using Milestone Billing Plan
Hi,
The business scenario is as follows.
The delivery for the sales orders are to be created only after the pre payment( a percentage of the total sales order value) is made by the customer.
Hence the sales orders while creation are blocked for delivery creation using credit block by means of a userexit.
The credit manager checks the blocked sales orders using VKM1 transaction and verify if there are any payments made by the customer to cover this pre payment to be made.
If it is enough to cover then he releases the sales order manually for delivery creation.This is a complex process since there are too many sales orders and the payments made by the customer may not match the amount to be paid(it can be greater or lesser).The customer just pays a huge amount which is to be distributed among the sales orders for pre payments.
Later, when the invoice is created, the customer account is cleared manually using F-32 transaction for the oldest open invoices.
Here again there is a huge manual effort involved since he need to distribute the amount against the invoices using oldest open item principle.
As a solution we are planning to implement "Down Payment processing for Sales orders using Milestone Billing Plan".
Is this the right solution?
Can you please give the steps in detail to implement this functionality for above scenario?
We are using SAP 4.7 version without Project Systems.
Thanks in advance.
Regards,
RageshHi Ragesh
Check the links where you will get the entire down-payment configuration
[https://forums.sdn.sap.com/post!replydownpayments ]
Regards
Srinath -
Hi,
I am doing a Mass Conversion Program for One Orders in CRM. I am creating Service Orders based on incoming .CSV File. Which Function Module is better for Upload of Mass data Performance wise. 'CRMXIF_ORDER_SAVE' Function Module or 'BAPI_BUSPROCESSND_CREATEMULTI' Function Module for Creation of One Orders in CRM.Get in touch with support (by web chat on weekends). Maybe there is an issue with processing your payment.
Mylenium -
Creating Intermediate Document for purchase order
Hi gurus i am working With ALE Concepts ,could any one tell me how to Create Intermediate Document for purchase order
regards,
Peachimuthu.hii...
See to create idoc for purchase order
u hve to create
1. Idoc Type
(here u will create segment and segment type)
2. Now create message type
3. Link idoc type to the message type
4.Check Login System number if not assigned than assign it (generally basis ppl do dis job)
5. Create RF destination and ports also (according to demand)
6. Now finally create partner profile and linked with the system to u wnt to send an idoc..
Regard
Arpan Maheshwari -
Steps For Goods Receipt For Work Order Using Handling Units
Hello MM gurus,
I'm new to HU Management. Can you please share with me the steps for executing a "Goods Receipt For Work Order" using Handling Units?
I created a HU (1000000026), and then using transaction COWBHUWE I tried using that HU to create a goods receipt, but I keep getting the message below:
Handling unit 1000000026 is not provided for goods receipt
Message no. VHURM046
Do you have to assign/plan HUs to Process Orders first? I think the problem is that I'm not understanding the process or the requirements for a goods receipt for work order using HU.Hello Manish Kumar,
I've been doing Handling Units testing in our sandbox environment and I've been trying to Pack a Finished Product for a Process Order using
1-Transaction code HU02 to create the Handling Unit
2-Transaction COWBHUE after creating the HU to enter the production order number and the HU number and propose it, but the it doesn't work. When I propose it, nothing happens.
3.-I also tried COWBPACK, but for some reason, when I go into COWBPACK, key in the Process Order, and then press enter, I get the following message:
You do not have authorization to create handling units for plant BP08
Message no. VHUPD500
Do you know how to solve this issue? -
How to create two respone for one request
Hi
is there any way for us to create two response for one request
the scenario is as below
1. user click on update button for particular record in the datatable (
after its get updated and status get updated = 'UPDATED' it will remove the object from ObjectListDataProvider and clear the tablePhaseListener ).
2. After it gets updated successfuly , i want to prompt the user with generateExcel function which using response.getOutputStream() using Apache POI.
How can we combine 1 and 2 together
Here what i have tried and didnt work
1. i tried to put the generateExcel function in destroy() method after page is rendered but it gives me Exception
2. i tried to put the generateExcel function in prerender() method
but the page will only execute the generateExcel function
- the data still get updated to the database but it doesnt refresh the page ( i meant the removing object and tablephaseListener.clear() doesnt work )
3 . i tried to put generateExcel Function after it process the data
public String updateData()
//update data
if(success){
// prompt user to save excell sheet
return null;
}This one also doesnt work and gives the same behaviour as number 2
The Prompt to save excel sheet still gets popped up
but the page just doesnt get refreshed
Thanks
is anybody know the workaround?yea i did set some alert message and clear the table by calling
provider.removeRow and commitChanges
it just doesnt reflected in the page that we see
by actually is already removing the row from the provider
Thanks -
FM:create a delivery for sales order in the background.
Hi experts
I want Function Module to create a delivery for sales order in the background for both inbound and outbound.
tcode : VL10A.
Thanks in advance.
kiran jHi Kiran,
Welcome to SDN Forums
Please use the correct or most appropriate forum.
The ABAP Objects Forum should be used for: ABAP Object definition and implementation including encapsulation, interfaces and inheritance in ABAP Objects.
This thread will be moved from to .
The forum is dedicated to: Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
Also read this thread Welcome and Rules of Engagement.
Greetings,
Marcelo Ramos -
Can we create two Filters for one cube
Hi all,
I created two filters for one cube (in 11v), I assigned this filters to one user in shared services , so which filter work,
I think ,We have to assign only one filter for one user , please i need clarification....
Thanks
Edited by: user98631 on 12 mars 2010 05:13You can create many filters for one cube. I usually associate one group per filter and a user can have one or more groups assigned to them. Can't remember what happens when a user has access to conflicting filters (i.e. the order of preference). It is in the DBAG I am sure though.
-
Bins problem while creating goods receipt for production order.
Hi All,
I am facing a problem with selection of bins while creating goods receipt for production order in transaction MB31 and MBBE.
The order of filling bins is with respect to storage Unit not by document no, Please suggest something.
The scene is like that.
The bins are not filled in the proper sequence, the system checks for the empty bins and filled those later on.
like this,.
Typ StorageBin SC SS Stock Avail.st BUn GR Date DocumentNo Storage Unit Time
SLoc Batch Re IA PutawayS Pick qty Cert. No.
VN1 106A088 0 0 CS 01/25/2010 4739297 1005721391 10:00:59
100 0001020069 60 0
VN1 107B076 0 0 CS 01/25/2010 4739298 1005721392 10:01:01
100 0001020069 60 0
VN1 108B076 0 0 CS 01/25/2010 4739299 1005721393 10:01:04
100 0001020069 60 0
VN1 109A077 0 0 CS 01/25/2010 4739300 1005721394 10:01:06
100 0001020069 60 0
VN1 110B079 0 0 CS 01/25/2010 4739301 1005721395 10:01:08
100 0001020069 60 0
VN1 106B088 0 0 CS 01/25/2010 4739302 1005721403 10:01:11
100 0001020069 60 0
VN1 123B158 0 0 CS 01/25/2010 4739303 1005721389 10:01:13
100 0001020069 60 0
VN1 124A160 0 0 CS 01/25/2010 4739304 1005721390 10:01:15
100 0001020069 60 0
VN1 118A133 0 0 CS 01/25/2010 4739305 1005721396 10:01:17
100 0001020069 60 0
VN1 119A128 0 0 CS 01/25/2010 4739306 1005721397 10:01:20
100 0001020069 60 0
VN1 120B162 0 0 CS 01/25/2010 4739307 1005721398 10:01:22
100 0001020069 60 0
VN1 121B159 0 0 CS 01/25/2010 4739308 1005721399 10:01:24
100 0001020069 60 0
VN1 122B159 0 0 CS 01/25/2010 4739309 1005721400 10:01:26
100 0001020069 60 0
VN1 123B159 0 0 CS 01/25/2010 4739310 1005721401 10:01:29
100 0001020069 60 0
VN1 124B160 0 0 CS 01/25/2010 4739311 1005721402 10:01:31
100 0001020069 60 0
Thnks you,
Anmol.
Edited by: anmol112 on Jan 25, 2010 10:34 PMno replay, clossing threat.
Maybe you are looking for
-
After my iMac has been asleep for sometime and I wake it up there is a grey screen with a load bar running at the bottom, but I can see the sign in page in the background. It eventually goes to the sign in page but it still takes a minute or so befor
-
I got an iPhone five but my apps don't fit to my screen how do you do it?
my apps don't fit to the screen of my iPhone five how do you do it?
-
Spatial index - mapviewer demo
Hi, I tried the mapclient.jsp demo of the maviewer demo and it only returns a blue image. I check the log file and found this: [oracle.sdovis.JDBCDataSource4PT, Thu May 18 10:21:36 CST 2006, ERROR] *** SQL Exception while querying theme: THEME_DEMO_C
-
WL vs. WL-express and JSP vs. javascript/SQL
folks- i am trying to convince a certain party to disband a web-based job tracking system being written in ASP, javascript, html, css and SQL. it will be hosted on MS webserver running NT. i am trying to convince them to use JSP and WL express. i hav
-
Is it able to create a local dict. structure from abap-ddic information?
hi, i try to import an abap-ddic structure to my local java dictionary. How is this possible? Or is it only possible to create an structure via an rfc-import? how can i create a structure automatically as it is in abap without using a corresponding r