Packing a Delivery via function modules or BAPI's
Does anyone know the correct function modules to call in order to pack an outbound delivery. The HU is already been entered into the delivery. I just need to pack all the items into this HU and PGI the delivery. I've tried the following function modules:
SD_DELIVERY_UPDATE_PACKING
V51P_FIND_HEADER
V51P_NEUE_HU_PRO
I'm not sure what I'm doing wrong but the delivery doesn't get packed. Anyone have a clue?
Thank you,
The problem resides in external unique number assignement for handling units:
in SPRO:
> Logistics - General
> Handling Unit Management
> External Identification
> Set Unique Number Assignment for HU Identification
Simply flag the checkbox and Save!
Without this flag BAPI's raise this info message (HUDIALOG 038). Even if it is an info message and the number is returned at the end the handling unit won't be created!
Just flag it!
Similar Messages
-
Function Module or BAPI to update Delivery Date (LIKP-lfdat)
Hello friends,
I have a requirement to update Delivery Date (LIKP-lfdat) , is there any Function Module or BAPI to do that? any sample codes are appreciated.
Thanks a lot!
Edited by: Qiwei Yin on Dec 11, 2008 8:50 AMhi
try this
BAPI_SALESORDER_CHANGE
hope this helps
regards
Aakash Banga -
Function Module or BAPI to update Sales Order (delivery Block)
Hi,
Is there a Function Module or BAPI available that can update the Delivery Block for a looping Sales Order?
Thanks,
JohnHi,
check this sample code to update delivery block..
DATA: BAPISDH1X LIKE BAPISDH1X.
DATA: BAPISDH1 LIKE BAPISDH1.
PARAMETERS: P_VBELN LIKE VBAK-VBELN OBLIGATORY.
PARAMETERS: P_LIFSK LIKE VBAK-LIFSK OBLIGATORY.
* Header
BAPISDH1-DLV_BLOCK = p_lifsk. " Delivery block
* header X
BAPISDH1X-DLV_BLOCK = 'X'. " Delivery block
BAPISDH1X-UPDATEFLAG = 'U'.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = P_VBELN
order_header_in = BAPISDH1
order_header_inx = BAPISDH1X
tables
return = T_RETURN
LOOP AT T_RETURN WHERE TYPE = 'E' OR TYPE = 'A'.
EXIT.
ENDLOOP.
* Check for error messages.
IF SY-SUBRC = 0.
WRITE: / 'Sales order not updated', T_RETURN-MESSAGE.
ELSE.
* Successfully updated
WRITE: / 'Sales order updated'.
ENDIF.
COMMIT WORK.
Thanks
Naren -
Delivery split using function modules or BAPI
Dear All,
I have a requirement that i need to split deliveries with reference to sales order using any function modules or BAPIs. If there are any BAPIs or FMs, let me know the sample coding also. Kindly help me in this regard as soon as possible.
Thks in advance,
Nagarajan
Edited by: abapnag on Jul 1, 2009 10:06 AM
Edited by: abapnag on Jul 1, 2009 10:07 AMCheck BAPI_OUTB_DELIVERY_SPLIT_DEC
Check the Function Module DOC_INPUT_SHP_OBDLV_SPLIT_DEC
and also chk
Re: BAPI
Kanagaraja L
Edited by: Kanagaraja Lokanathan on Jul 1, 2009 10:32 AM -
Function Module or BAPI for Deliveries
I need to interface the Deliveries from a flat file into APO. Can someone tell me the function module or BAPI that is used to create the Delivery (ATP Category BR) in APO DRP?
Thanks.
SandyHi Sandy - I think this is only availbale in 5.0 which I don't have. Try going to SE37, typing BAPI_APS and then F4. Look for DRP or SPP related descriptions for function groups. Also look in BOR in transaction SWO4 - there should be a DRP and/or SPP section under Advanced Planning and Optimization. Let me know if you find something. I don't think you would want to use something outside of DRP/SPP because that may cause transactional inconsistencies.
Andy -
Function Module or BAPI to update Short text for sales order item(vl02n)
Hi All,
I need to update the Short text for sales order item in vl02n transaction from an internal table with Delivery number and other relevant details .
Does any body know any Function Module or BAPI which can accomplish this purpose .
Or else writing BDC is the only option I have got ? .
Please clarify .
Thanking you in advance .
With Regards,
Suriya .Hi
You can try using BAPI_SALESORDER_CHANGE if you want to change sales order
Regards
MD -
Any function module or bapi to get sales order number and invoice number?
hi all,
with delivery order number provided, do we have any function module or bapi to get sales order number
and invoice number?
thanks.Hi,
Check
BAPI_SALESORDER_CREATEFROMDAT1
BAPI_REMUREQSLISTA_CREATEMULT Agency Business: BAPI Create Invoice Lists from Vendor Billing Documents
BAPI_REMUREQSLISTB_CREATEMULT Agency Business: BAPI Create Invoice Lists from Payment Documents
BAPI_REMUREQSLISTC_CREATEMULT Agency Business: BAPI Create Invoice Lists from Posting Lists
BAPI_REMUREQSLIST_CHANGEMULT Agency Business: Change Invoice List Documents BAPI
BAPI_REMUREQSLIST_GETLIST Agency Business: BAPI Determine Detailed Data for Invoice List Documents
BAPI_REMUREQSLIST_RELEASE Agency Business: BAPI Release Invoice List Documents to FI
Edited by: Neenu Jose on Nov 26, 2008 8:53 AM -
URGENT: Function modules or BAPIs
Hi Experts,
I need function modules or BAPI to get the open items and cleared items G/L Account wise.
Useful replies will be surely awarded.Hi Chakradhar,
Check tcode : BAPI
u will get all bapis there.
Regards,
Hemant -
Function modules or BAPI for posting plan costs for WBS Element
Hi all,
Does anyone know, whether there exists a function module or BAPI for posting plan costs to a WBS Element? K_COSTS_PLAN_PS does not work, because RKP1 is not allowed.
Greetingscheck
BAPI_COSTACTPLN_POSTACTINPUT Activity Input Planning: Posting
BAPI_COSTACTPLN_POSTACTOUTPUT Activity/Price Planning: Posting
BAPI_COSTACTPLN_POSTKEYFIGURE Stat. Key Figure Planning: Postings
BAPI_COSTACTPLN_POSTPRIMCOST Primary Cost Planning: Postings
BAPI_PDTRANSCO_POSTPRIMCOST Transfer of Planning Data: Post Primary Costs
K40C CO Actual Postings, Manual
BAPI_ACC_PRIMARY_COSTS_POST Accounting: Post Primary Costs
BAPI_COPAACTUALS_POSTCOSTDATA BAPI Operating Concern: Post Costing-Based Actua
BAPI_PRIM_COST_CHECK_AND_POST Primary Costs: Formal Parameter Check
S@meer -
Function Modules or BAPI for CK91N transaction Please
Hi,
To upate CK91N transaction , Is there any function module or BAPI exist?
Thanks,
KrishnaHi
go to se80 ->package->type CKMLMV as package name.
This package has multiple programs and function modules which update the transaction. You can choose from them according to your requirement.
Hope this helps!
Viquar Iqbal -
Function modules or BAPI for deleting plan costs on a cost center
Hi all,
I search for a function module or bapi to delete plan costs / activity on a cost center.
At the moment I update the planning with 0, but that cause a mass of needles entries on the cost centers.
For check and posting I use the function group 6026 - BAPI_COSTACTPLN_* ,
but there is no function for deleting.
Has anyone an idea?
Thx for help - points as reward !check
BAPI_COSTACTPLN_POSTACTINPUT Activity Input Planning: Posting
BAPI_COSTACTPLN_POSTACTOUTPUT Activity/Price Planning: Posting
BAPI_COSTACTPLN_POSTKEYFIGURE Stat. Key Figure Planning: Postings
BAPI_COSTACTPLN_POSTPRIMCOST Primary Cost Planning: Postings
BAPI_PDTRANSCO_POSTPRIMCOST Transfer of Planning Data: Post Primary Costs
K40C CO Actual Postings, Manual
BAPI_ACC_PRIMARY_COSTS_POST Accounting: Post Primary Costs
BAPI_COPAACTUALS_POSTCOSTDATA BAPI Operating Concern: Post Costing-Based Actua
BAPI_PRIM_COST_CHECK_AND_POST Primary Costs: Formal Parameter Check
S@meer -
Required help on Function Modules and Bapis
Web portal publishing of ERS invoice letters. This involves modification in the BAPI screens to show the invoice PDF instead of printing??
can anyone help me in fixing this issue.hi Anjaneyulu,
open the t-code --> and go to menu system->status-->select the program and open the program-->
selct the tree structure----in the left side the includes screen and function module everthing will show..
or
open the t-code --> and go to menu system->status-->select the program and open the program-->
go to attributes and select the Package..
next----
go to se80--> enter the package --> and dispalay it shows the list of Program , include transaction function modules and bapi's under the pakage
Regards,
Prabhudas -
Any Function module or BAPIs are available to get scheme name for the inter
I have internal order no value in table AUFK-AUFNR , and the internal order corresponding Scheme value is available in IMPR-PRNAM . Now I want to inner join both the tables to extract the data , but there is no common field . Is there any Function module or BAPIs are available to get scheme name for the internal orders?
look at DB-VIEW "V_IVP_OR".
Regards,
Laurent -
Is there any function modules or BAPI's
Is there any function modules or BAPI's that would delete the original partner and then add a new partner.Iam using BAP
bapi_alm_notif_data_modify
But iam not able to change partner in notification header
Please give your input for sovling itDear Rama,
In the bapi_alm_notif_data_modify, there are 2 structure
NOTIFPARTNR STRUCTURE BAPI2080_NOTPARTNRI OPTIONAL
NOTIFPARTNR_X STRUCTURE BAPI2080_NOTPARTNRI_X OPTIONAL
Pass yr partner value in NOTIFPARTNR, and against the value make it "X" in the NOTIFPARTNR_X , then u can change the partner value.
Give point if helpfull
Thanks -
Function modules and BAPIs for a transactio code
Hi friends,
How i can find the List of function modules and BAPIs being used for a particular transaction code?
for example: I would like to find List function modules and BAPIs being used for the Transaction code
"FBRA"(Reset cleared items)?
Any sort of help on this will be helpful.
Thanks,
Punjaalahi Anjaneyulu,
open the t-code --> and go to menu system->status-->select the program and open the program-->
selct the tree structure----in the left side the includes screen and function module everthing will show..
or
open the t-code --> and go to menu system->status-->select the program and open the program-->
go to attributes and select the Package..
next----
go to se80--> enter the package --> and dispalay it shows the list of Program , include transaction function modules and bapi's under the pakage
Regards,
Prabhudas
Maybe you are looking for
-
Why can't i remove unwanted apps from my launchpad?
I updated from Snow Leopard to Lion and i have never been happy with Launchpad. I can´t remove any apps i don´t want to have in there exept the ones i have from appstore (when i hold down and all the apps start to shake they have the x to remove) is
-
Hello, i wrote a report to extract HR Data. I#m looking for a way to extract the information about the corrsponding SAP user which is configured in infotype 0105 (sy-name). I defined the following passage in my coding, but that's the way to extract t
-
Error starting ORMI-Server. Uable to bind socket
Hi, I get the following error whenever I start my Application Server on Linux machine. If I deploy the EJB application onto a OC4J instance, the server is refusing the connection by throwing Connection Refused error. Any insight about this issue will
-
How to restore OracleVm Manager XE database
Experts, I had a failed upgrade of OracleVM Manager to 2.1.5 so I re-installed OracleVM Manager software, in which I choose existing XE database thinking it will use another user to create schema for OracleVM machine/templates/resource. Now installat
-
Lion on old Macbook Pro?
I have an older Macbook Pro and was wondering: would it handle Lion well? Here are the specs: Model identifier: 3,1 2.2 ghz core duo 4 MB on-chip shared L2 cache 160 GB drive with about 35 gigs free Any help would be appreciated. Thanks!