Help! how to create an outbound delivery from a project using a FM/BAPI?
Hi,
I need help to find a BAPI or FM which can be used to create an outbound delivery from a project similar to tcode CNS0?
The following data will be used in creating the outbound delivery from a project:
Project definition
WBS Element
Network
Shipping Point
Ship_To_Party
Plant
Storage Location
Planned Goods Movement Date
Delivery Type : LP
Sales Organization
Distribution Channel
Division
Item Number
Please help me find the appropriate BAPI or FM to create the delivery from project.
Any help on this would be greatly appreciated.
Thank you.
with regards,
Muthu Ganapathy.
Hi Ferry Lianto,
Thank you for your response. Do you have a sample code to call this FM? Or can you please provide me what all parameters I need to pass to create delivery from project? My input parameters are as given below:
Project definition
WBS Element
Network
Shipping Point
Ship_To_Party
Plant
Storage Location
Planned Goods Movement Date
Delivery Type : LP
Sales Organization
Distribution Channel
Division
Item Number
Please help me on this.
Thank you.
with regards,
Muthu Ganapathy.
Similar Messages
-
How to create an outbound delivery for an repair order (RA)
Hi Guys,
Please let me knoe the steps to outbound delivery. Now, i have created repair order and inbound delivery, request you to explain on further stps.
Thanks in advance.
ShankarHi,
Refer this link:
http://help.sap.com/saphelp_erp2005/helpdata/en/0d/fa0a415e37d349e10000000a1550b0/frameset.htm
Regards,
Gayathri -
BAPI or FM to create outbound delivery from Sales order
Hello All,
My requirement is to create a outbound delivery from sales order. Also i need the batch number and texts to be updated in the delivery.
For this i need a single FM. The catch is that we don't have the batch number and texts in the sales order. That i have to take from some other delivery. I can get all the information .
The problem is that i can not find a FM through which i can create the delivery from the order and update the same.
I should not use two FM.
Could you please tell me some FM which does both in one go?
Thanks and Regards,
Rahul SinhaHi
Hi,
You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC.
Check this sample code..
PARAMETERS: p_vbeln LIKE vbak-vbeln.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng LIKE vbap-kwmeng,
matnr LIKE vbap-matnr,
werks LIKE vbap-werks,
END OF t_vbap.
DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
WITH HEADER LINE.
DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
SELECT vbeln posnr kwmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = p_vbeln.
LOOP AT t_vbap.
t_request-document_numb = t_vbap-vbeln.
t_request-document_item = t_vbap-posnr.
t_request-quantity_sales_uom = t_vbap-kwmeng.
t_request-id = 1.
t_request-document_type = 'A'.
t_request-delivery_date = sy-datum.
t_request-material = t_vbap-matnr.
t_request-plant = t_vbap-werks.
t_request-date = sy-datum.
t_request-goods_issue_date = sy-datum.
t_request-goods_issue_time = sy-uzeit.
APPEND t_request.
ENDLOOP.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = t_request
createditems = t_created
return = t_return
READ TABLE t_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE e208(00) WITH 'Delivery creation error'.
ENDIF.
COMMIT WORK.
READ TABLE t_created INDEX 1.
Write: / 'Delivery ', t_created-document_numb.
Regards,
Sreeram -
Creation of virtual outbound delivery from MIGO.
Hi All,
Scenario - Material, packing material, virtual Goods receipt and virtual outbound delivery and PGI, and final billing.
We have a scenario wherein we have a Sales Scheduling Agreement for a material is created. The requirement will be generated and send to a vendor.
The vendor will send goods with packing material directly to the customer ( as it happens in third party ). Packaging material will be added in MIGO as non order item. Packing material will have unique identifiers numbers which the vendor will send and will be updated in MIGO ( as text ).
At the same time vendor will also send the data to SAP and on that basis MM guys will do a inbound delivery and Goods Receipt ( MIGO ).
This is the place where I need help.
As per requirement, we want to create an Outbound Delivery from the MIGO transaction. As soon as MIGO is saved, a outbound delivery should be created for already existing sales scheduling agreement. Delivery should have the main material and the packing materials and the Text ( to be copied from MIGO ).
I want to know how this can be acheived. Plz sugegst User Exits / BADI's etc.
Regards,
Danny.Thanks for your valuable replies. I need some more help as the requirement is changed a bit.
We will get an ASN with only one line item as main material with packaging material text ( no line item for packaging material ). In MM side they will create n inbound delivery with only one item - main material with text in text field.
We want to create a outbound delivery on Post Goods Receipt save action.
The outbound delivery should have 2 line items, 1st for main material referencing the sales scheduling agreement, and 2nd needs to be programmatically added which will have Packaging material with text saved in text tab.
As suggested by Lakshmipathi Sir, I check include MV50AFZ1, USEREXIT_SAVE_DOCUMENT. But I am bit confused if this can be used for triggering Outbound delivery from PGR.
Request Gurus to suggest the best option for this requirement.
Regards,
Danny. -
How to create A/R Invoice from draft
Hi,
How to create A/R Invoice from documnet draft using DIAPI.
Thanks,
P.Suresh KumarHi Suresh Kumar,
You may check this as a reference: Re: Problems while saving the tax values in a Draft Document to AP Invoice
Thanks,
Gordon -
Create outbound delivery from IDOC
i want to create outboud delivery from incomming idoc..is DELVRY02 idoc type and shpcom message type will do this ..after crating the delivery i aslo need to do PGI..
please tell me this idopc type and message type will do this or not?
Thanks,Hi,
I also have the same issue - I would like to be able to create an outbound delivery via IDOC/BAPI although cannot find the means to accomplish this. Is there a standard process available to generate an outbound delivery without reference (VL01NO)? I would like to avoid writing custom code if possible.
Thanks! -
Create Outbound Delivery from STO/PO
Hi,
I need to create a Outbound Delivery with respect to STO. Did anybody worked on this, Please pass which FM/BAPI used?
Thanks in advance,try BAPI_OUTB_DELIVERY_CREATE_STO.
anya -
Creation of outbound delivery from ASN
We have an issue while developing EDI interface with our subcontractor. The requirement is to create an outbound delivery in R/3 system based on the Advanced Shipping Notification (ASN) received from the subcontractor. In this business scenario subcontractor tells us how much quantity of component is required by them and when (based on their capacity). So we need to create outbound delivery from the ASN to dispatch the components. Kindly suggest how this can be done ?
Hi,
Please check the below links
http://help.sap.com/bp_bblibrary/500/html/W41_EN_DE.htm
http://help.sap.com/bp_cpwsd604/BBLibrary/HTML/298_EN_CO.htm
Kuber -
How to produce different outbound delivery based on different schedule line
Hi,
I want to create different outbound delivery based on different schedule line time,but system automatically create a combining delivery document with a sum number.
For example,
schedule line
date goods issue time qty
2011.08.24 08:00:00 1
2011.08.24 10:00:00 1
when I create the outbound delivery, system create only one document with quantity 2.
But I need two documents with quantity 1 in every document.
How to solve this requirement?
Thanks.Hi,
I viewed the item requirement in VOFM, found that they are status check for the copy control, not the split control.
Could you please give me a example?
In the copy control--header--conditions----order requirement ( or combination requirement )
They are like this :
(001)
bp_subrc = 0.
Check that reference document is an order (if not, issue error)
if cvbak-vbtyp cn vbtyp_auft. "Auftrag?
perform message_handling in program (programmname)
using cvbap-posnr
'003'
'E'
'VL'
cvbak-vbeln
space
space
space.
bp_subrc = 1.
check 1 = 2.
endif.
Check the status of the Fonds-Management
IF CVBUK-FMSTK EQ 'A'.
PERFORM MESSAGE_HANDLING IN PROGRAM (PROGRAMMNAME)
USING CVBAP-POSNR
'889'
'E'
'VL'
CVBAK-VBELN
SPACE
SPACE
SPACE.
BP_SUBRC = 1.
CHECK 1 = 2.
ENDIF.
Check that order is not blocked by the automatic credit check
if cvbuk-cmgst ca 'B' and
cvbuk-abstk ne 'C'.
Credit check is irrelevant for correction deliveries
if v50agl-sofauftrag eq charx and
tvak-lisof eq space and
likp-lfart eq tvak-korli.
else.
perform message_handling in program (programmname)
using cvbap-posnr
'060'
'E'
'VL'
cvbak-vbeln
space
space
space.
bp_subrc = 1.
check 1 = 2.
endif.
endif.
Check the user status from the order header
if not cvbak-objnr eq space.
call function 'SD_STATUS_VBAK_CHECK_INTERN'
exporting
i_objnr = cvbak-objnr
i_vrgng = vrgng_sddn
exceptions
allowed_with_warning = 01
not_allowed = 02
object_not_found = 03
others = 99.
if sy-subrc ne 0.
Fehler nicht bei MODKZ = '2' (Erlaubt mit Warnung)
if sy-subrc gt 1.
bp_subrc = 7.
Else ist nötig, da Routine mit "changing sy-subrc" gerufen wird
elseif sy-subrc eq 1.
bp_subrc = 0.
endif.
Check Global delivery flags
line deleted: "n_911988
perform message_handling in program (programmname)
using cvbap-posnr
sy-msgno
sy-msgty
sy-msgid
sy-msgv1
sy-msgv2
space
space.
Bei Fehler: Bedingung verlassen
check bp_subrc ne 7.
endif.
endif. -
Error in creating In bound delivery from PO
Dear all,
i am creating In bound delivery from PO through VL31N. But, I am getting a error "Error while determining ref.mov.type for WM via Table 156S: 101/X/X/ / /X/ ". why this error coming and what s the solution for this?
Thanks in advance.
regards,
PrashanthThe storage location you use may be assigned to a WH.
Please check in WM/IM interface whether your settings are proper:
SPRO > LE > WM > Interfaces > IM > Define Movement Types(please read realted threads and help for customizing node) -
How to create an XML document from a String.
Can anyone help,
In the Microsoft XML Document DOM there is a load function load(string) which will create an XML document, but now we are switching to Java and I do not know how to create and XML document from a string, this string �xml document� is passed to my program from a webservice and I need to read several xml elements form it in a web server.
This string is a well formatted XML document:
<?xml version="1.0" encoding="UTF-8"?>
<Countries NumberOfRecords="1" LanguageID="en-us">
<Country>
<CountryCode>AU</CountryCode>
<CountryName>AUSTRALIA</CountryName>
</Country>
</Countries>Thanks PC!
I made it work using:
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
factory.setIgnoringComments(true); // We want to ignore comments
// Now use the factory to create a DOM parser
DocumentBuilder parser = factory.newDocumentBuilder();
//TransformThisStringBuffer is a string buffer wich contain the 'XML document (String)'
InputStream in = new ByteArrayInputStream(TransformThisStringBuffer.toString().getBytes());
// Parse the InputStream and build the document
Document document = parser.parse(in);
But which one is faster InputSource or InputStream, were would you put the "new InputSource(new StringReader(yourString))" in the above code? -
How to create a pdf file from multiple images ?
Dear All,
I want to create a SINGLE page pdf file from two or more page size images that are combined to make a single page pdf. Again, this question is on pdfs that are made out of several, atleast two color images and a black-and-white mask for one of them.
I have such pdf files from an unknown source (the producer is edited out) whereby there are three tiff images, obtained using the well known pdfimages extractor.
When I want to make a pdf out of tiff or png or other image formats, I right click and tell Adobe Acrobat to make a pdf.
However, I dont know how I can give a command to select say, three tif images and specify which is the mask for which and then join them in a way that I get the pdf from the composite of the two color images and a mask for one of them.
Please help me out.
I am a little familiar with the pdf structure skeleton and when necessary, fixed xref tables in one of my favorite editors. A few years ago, I also wrote a bunch of javascripts to make some annotations and needed some automation and used some itext type libraries. However, I need your help in this problem as I am now rusty and forgot some of what I studied to solve my earlier problems. This is a new problem for me. Gentle hints from you would be very nice to help me in this problem. Please specify if necessary what manual and pages to read. in the pdfspec.
Best Regards
Disabled Veteran [physically handicapped]Hello Again.
On Fri, May 11, 2012 at 12:20 PM, lrosenth <[email protected]> wrote:
>
> Re: How to create a pdf file from multiple images ?
>
> created by lrosenth in PDF Language and Specifications - View the full
> discussion
> ________________________________
>
> No clue who Irving is…
>
I was hoping to have your first name so its easy for me to address you.
> I have no clue what OS platform, programming language, etc. you use so
> can’t really narrow things down.
I would gladly mention that I am working on windows platform, preferably XP.
I can also work on linux for free products that come with it.
> Also, as this is an Adobe forum, we only
> recommend Adobe products – so there may be other options that even my list
> wouldn’t include.
But adding other products, for the help of an adobe products user,
even if it outside adobe, shall add greater prestige to your company
and give impression of user-centeredness.
> If you read ISO 32000-1:2008 (aka the PDF standard), you will find the
> information about Images and Image Masks well described. I didn’t think I
> needed to repeat any of that information.
Well, just add the few pdf stanzas since you are proficient on it and
I am presently a little rusty as I mentioned. Just asking a little
extra yard, not even to go an extra mile.
> And, if you read that same document, you will see that there is NO SUCH
> THING as a “text only PDF”. All PDF documents are structured binary files.
Well, ascii format or uncompressed format that is human readable. I
know its a binary file, but human readable ascii version of it.
I hope you can give me some stanza and various other approaches
possible so I can select or combine things for myself. I see only a
miniscule number of posts claiming to have written masks in this forum
and then with no details.
Regards
Roger
Message was edited by: dying veteran
because the adobe posting system went crazy and truncated all except the first line ... dunno why -
Create an outbound delivery with reference to a purchase order
Hi folks, would you tell me if I can create an outbound delivery with reference to a purchase order?
I tried to use the transaction VL10B but after I run there is no data is selected. Should I set up anything else for that?
Thanks in advanced.Hi,
Yes, you can create outbound delivery with reference to a PO.
In transaction VL10B, if you are not sure about the shipping point leave it blank. ALso, you can check the shipping point from the shipping data and enter it here.
Leave the field Condition rule to create delivery blank so that it will consider PO with delivery date falling within one year.
In the Purchase order tab, enter the PO number.
Execute. It should fetch you the PO list due for delivery.
Before doing the above, make sure PO is not subjected to release strategy. Check the quantity in the PO due for delivery.
Thanks and Regards,
Maheshwari -
How to create a .DLL file from a .C file ?
Hi everybody
I'm looking for a method how to create a .DLL file from a .C file .That Dll file will be used to perform a board to measure voice quality accoding to the international standard named PESQ (perceptual evaluation of speech qualty) P.862.
Can anyone help to start dealing with Dlls and give some advices to avoid errors ?
thx
Attachments:
source.zip 37 KBHi sinaps,
You mention that you want to create a DLL from a .C file. Just to clarify, are you using C (.c file) or C++ (.cpp) to write your code?
Also, if you are using C++, are you using Visual Studio? (The reason I ask is because this forum is geared towards Measurement Studio, which is an add on to Microsoft Visual Studio).
That being said,
If you are using C: National Instruments provides an ANSI C Application Development Environment called LabWindows/CVI which makes building dlls a snap. It has templates for DLLs and you can build them either as stdcall or cdecl dlls.
Developer Zone Tutorial: Building a DLL with LabWindows/CVI 8.5 for use with LabVIEW 8.5
If you are using Visual C++: Look at the link that Al provided earlier.
MSDN: Walkthrough: Creating and Using a Dynamic Link Library
If you aren't using CVI or Visual Studio, then really the best bet is to do a google search for "Create C DLL" or post or a forum for the appropriate environment that you are using.
Thanks!
Message Edited by Jervin_J on 03-14-2009 02:02 PM
Jervin Justin
NI TestStand Product Manager -
How to create a standby redolog from rac to non rac ??
Hi,
How to create a standby redolog from rac to non rac DR setup..???
in rac we can create with specifying thread number for each instances..... but this will be replicating to standby ....so how this will act/create on single DR??
pls help854393 wrote:
Thanks Shivanandha,
(maximum number of logfiles for each thread + 1) * maximum number of threads
Using this equation reduces the likelihood that the primary instance's log writer (LGWR) process will be blocked because a standby redo log file cannot be allocated on the standby database. For example, if the primary database has 2 log files for each thread and 2 threads, then 6 standby redo log file groups are needed on the standby database.In maximum performance mode you can keep same number of redo logs but having one more redo log member for each thread is recommended and mandtory for other protection modes.
How to create a standby redolog from rac to non rac DR setup..???
in rac we can create with specifying thread number for each instances..... but this will be replicating to standby ....so how this will act/create on single DR??pls help
Yes, even your DR is RAC or non-RAC, you must have both threads, because each instance information exist on own thread, So to perform redo transition from both the instances, you must have both standby redo log threads even though if it is non an RAC DR.
Hope This helps.
Maybe you are looking for
-
Error: Unable to Load "Cross Dissolve"
I'm trying to create a QuickTime of a video project that I'm working on, and every time I try to export I get an error that FCP was unable to load the cross dissolve video transition. This is Final Cut Pro 6.0.3, and the project contains HDV, DV and
-
Make "invoice number" and "description" fields both mandatory on payables
I want my 'invoice number" and "description" fields both manadatory on quick invoice to force users to fill in the fields.
-
How to do planning of mdm implementation
hi we want to install mdm in organization. We have more than 5 company , and for 1 company has HR and sales diffrent server. how to do planning or go for mdm how to implent this
-
Delivery address to be defaulted to that of vendor address in returns PO.
Hi mates, My client is using sap 4.7 . His requirement is that the delivery address in the delivery address tab (item details) during the returns PO should be defaulted with that of the vendor given at the header. At present it is defaulted with the
-
An Email in progress leaves me with 5-8-10 drafts of the same email in my draft folder
Now, when i am working on an email for awhile, and then finally send it, I find 5-8-10 drafts of the email in my draft folder. Previously it saved periodically and once the em was sent, the draft disappeared. Now I have to cintinually clean out the d