BAPI to update LIKP and LIPS
Is there a BAPI to update LIKP and LIPS?
Thanks
Please close your post "Updating Address changes" if your question is answered in there.
This is related to the same issue you entered there, and again I don't see how you can achieve that. You can only update these tables through the business object associated with them, which is the delivery. If you are not changing the delivery, but want to change the contents of these two tables, direct update is the only option.
I, once again try to convince you not to do these updates directly to the tables. SAP is not database application like Oracle. This is a business application and the tables are updated through transactions. Please try to talk to your users about the problems with such updates and give them the alternative of reversing the document. Any reasonable business will understand the ramifications if they are presented with the alternatives.
Please close the posts and reward as they are answered. You don't have to post different messages if they are related to the same problem.
Thanks,
Srinivas
Similar Messages
-
Is there any BAPI for Goods receipt that uses LIKP and LIPS tables?
Hi experts
I want to pull info for a given delivery note(DN) by joining LIKP and LIPS tables. Is there any existing BAPI that can give my info by using the two tables?
Please help
Thanks
GopalCheck the above link and reward points if helpful
http://help.sap.com/saphelp_nw04/helpdata/en/b0/dad2b40b3611d2a55a0060087832f8/content.htm -
BAPI/FM to update LIKP and VTTK tables
Hi All,
I need to update certain fields in the delivery tables LIKP and VTTK. Can anyone suggest how can I do that . I think i need to use certain BAPI or FM.
Thanks in advance,Hi,
check out this :
CSO_P_DLVRY_GOODS_ISSUE_CREATE,
MAP2I_BAPISHIPMENTDLVITEM_LIPS,
MAP2I_BAPISHIPMENTDLVHDR_LIKP.
'SD_SHIPMENT_POST_GOODS_ISSUE'
BAPI_SHIPMENT_CHANGE
BBP_INB_DELIVERY_CREATE
RV_DELIVERY_CREATE
BAPI_INB_DELIVERY_SAVEREPLICA
<b>*Reward points</b>
Regards,
Message was edited by:
skk
Message was edited by:
skk
null -
Need FM or BAPI to update LIKP-BEROT
After the second transfer order is created with source storage type as 200 and destination storage type as 916, populate the field LIKP-BEROT with value 200. This is required for the business to identify the deliveries that are ready for 2nd step picking confirmation.
I need a fm or bapi to update for a perticular field berot.
Pls help.
MadhaviCheck this function module.
CHANGEDOCUMENT_PREPARE_POS
Thanks,
Srinivas -
PGI delay posting records in LIKP and LIPS
Hi
We are facing problem with PGI, When we are process PGI entries with SAP_ALL profile user ID. System process records in Seconds.
When we are processing PGI entries with all required authorisation for PGI. System takes more time in posting records in LIPS and LIKP as well as Locks material.
We could not able to find why system behave differently.
Thanks,
YogeshYes I should elaborate a little more. And also add some info.
There are two entries in CO09 as "total records". One for customer orders and the other for delivery. If you double click in both they do not "unfold" into the detailed view, as rthe correct "total records do".
We are using APO, but not for availability check as far as I understand. I do not know how to check this in customiz. but when debugging PERFORM AVAILABILITY_CHECK_R3 is used inside LATPCU05 source code.
and inside SAPLATPC / LATPCF0A the CALL FUNCTION 'AVAILABILITY_CHECK_SERVER' function is called with a dest. that is the R3 name...
The information displayed in CO09 correspond to a delivery and order that are not pending. I know only because it fits in quantities, not because tehre is any information that tells me so. The delivery was deleted and the order served with another delivery.
No other order is pending in the system at the moment.
Some trace of my debugging:
For what I see, funnction module CALL FUNCTION 'STOCK_RECEIPT_ISSUE_READ' in SAPLATP0 / LATP0U04 table S_ATPKXI is felt with the wrong data
inside that function module:
read sales requirements: individual records
PERFORM vbbe_read.
and after then this little piece of code:
SB_READ VBBE.
(a DEFINE I am not so maliar with..)
and we get to
IMPORT P_ATPMX FROM SHARED BUFFER ATPSB(AC) ID P_ATPBI. in SAPLATP2 / LATP2FMA
That id contains data that corresopnds to the material. I am not very familiar with this, but I guess it is a sort of buffer normally to avoid extra DB access. If I could just..."delete" that ID....well...just a wild idea.
I hope that helps you to help me. -
Our requirement is to set staging lane ( LGBZO ) and Shipping door ( LGTOR ) for an entire delivery group. For this the VBSK table is appended with the above fields.
A new program is to be created where in the user assigns staging lane and shipping door to a delivey group. At the same time the fields(LIKP-LGBZO) and (LIKP-LGTOR) are to be updated for the deliveries contained within that group.
Are there any function modules to update these tables (LIKP,VBSK)with the values of LGBZO AND LGTOR.
Please reply ASAP.hey saquib,
The function module dat you suggested gives us the existing values of LGBZO and LGTOR but i'm looking for a function module which would overwrite the existing values
thanks,
Arun. -
BAPI to update data in KNA1 and ADR* tables
Hi,
I have to change customer data via BAPI.
I'm searching for a BAPI that updates KNA1 and ADR* tables.
(so that data will be coherent).
I found BAPI_CUSTOMER_CHANGEFROMDATA1 but it seems to only update KNA1
and BAPI_ADDRESSORG_CHANGE that only updates ADR* tables.
Can you help me ?
Thanks,
Sandrine.I came accross such a requirement but couldn't find a single function module.
I think try using both the FM's else BDC is the only option left.
you can use the FM "DEBITOR_BDCDATA" to get the BDC data for vendor and then edit it to add the address fields required. -
Relation between LIKP and VEKP
Hello Friends,
I want to know the relation between LIKP and VEKP tables.
Please help me in this regard.
Regards,
ShreekantHi
LIKP and LIPS are delivery Header and Item tables
<b>VEKP and VEPO</b> are HU header and Item tables linked with Key fields
You can't link LIKP and VEKP directly
Link <b>LIKP-VBELN to VEPO-VBELN </b> and take the HU number and with that link VEPO and VEKP
<b>Reward points for useful Answers</b>
Regards
Anji -
BAPI for updating Maintain Duration in Transportation and Delivery scheduling
Hi all,
Iam looking for a BAPI to update the Duration Times in Transportation and Delivery scheduling. I reluctant to use recording on SM30 Table maintenance T code and use it in LSMW. Is there a BAPI or Standard i/p Program to load these details. I have more than 200000 records to input.
A list of all BAPI's in Transportation Management module would be great as well.
Regards,
AviHi,
@praveen: I tried the solution provided by you and it worked for me in this context. But it seems this BADI gets triggered every time the delivery is getting saved. So for my test purposes, I'm triggering this BADI in a program, but in actual scenario, the BADI would be called on every sy-ucomm = 'SICH_T' i.e. SAVE. hence, I can't separate my piece of code using this condition.
I'm trying to call my FM(update module in collective run mode) inside this BADI in backgrnd task as a separate unit but this doesn't seem to work.
Any more suggestions?
Thanks
Ashish -
BAPI To Update Profit Center And Profit center group
HI All,
We have requirement scenario in which MDM Will Syndicate the PC and PCG And We have to update the PC and PCG in R3.
Do we have a Standard BAPI For Profit center and Profit Center Group Update?
Thanks In Advance!!!!!
Moderator message : Search for available information, duplicate post locked. Continue with original thread.
Edited by: Vinod Kumar on Oct 17, 2011 1:59 PMHi
Try This BAPI...
BAPI_PROFITCENTER_CHANGE
Regards
Ajit -
What is the link between LIKP or LIPS and EQUI?
Hi Masters,
Based on the Delivery Number (LIKP or LIPS), how we can fetch the data from EQUI table, EQUI-EQUNR (Equipment Number) and other fields?
LIKP or LIPS to EQUI, What is the link?
Thanks In advance.Have a look at below link, it might help you.
[Tables|http://www.erpgenie.com/abap/tables.htm]
I hope it helps.
Best Regards,
Vibha
Please mark all the helpful answers -
BAPI or FM to update IBAN and email of a customer
Hi,
I am creating a RFC function module where I need to update the IBAN (International Bank Account Number) of a customer in XD02 or table KNBK.
In the FM I am importing customer number, IBAN and email . The value of IBAN which I am giving as input must get updated against that customer(importing) in table KNBK or XD02.
But my problem is I am not getting any FM that will update the IBAN against that particular customer in XD02.
I have used few FM like CONVERT_IBAN_2_BANK_ACCOUNT, CONVERT_BANK_ACCOUNT_2_IBAN, BAPI_IBAN_CHANGE and many more but none is updating the value with the new input value.
Same problem is with email address when I am trying to update. No FM I have found to update email.
So plz can u help me as how to update IBAN and EMAIL.
Thanks
PPFirst convert IBAN to account with CONVERT_IBAN_2_BANK_ACCOUNT
Then update vendor with class VMD_EI_API method MAINTAIN_BAPI (*) or BDC.
Regards,
Raymond
(*) Account and IBAN are in VENDORS ->CENTRAL_DATA -> BANKDETAILS -> DATA[X] parameter of the method. -
Update LIKP table while saving the output type in VT02N transaction
Hi All,
I have a requirement where i have to update Delivery Priority(LPRIO) field in LIKP table while saving the output type in VT02N transaction. I am not able to use the BAPI "BAPI_OUTB_DELIVERY_CHANGE" or FM "WS_DELIVERY_UPDATE" because, when we save the output type the programs that are configured in NACE are triggered in update mode and hence i will get a roll back error.
Let me know other ways of updating the table at the time of saving output type for shipment transaction VT02N.This could be a result of one of the following reasons:
1: Incorrect smart form/routine assigned in the output configuration (NACE)
2: Serial number range of the delivery expired
3: The default settings of the user (SU01) processing the delivery is missing the default printer name.
Hope this is helpful
Manish -
Req Help to Update LIKP-LIFSK,Delivery Header block through custom program.
Hi everyone,
Can you please suggest a FM or BAPI to update the delivery header block field, LIFSK, in LIKP table through FM or a BAPI.
I tried using 'BAPI_OUTB_DELIVERY_CHANGE' as below to update the LIKP-LIFSK, but it is not working.
DATA : ls_likp TYPE likpvb,
ls_dlv_header TYPE bapiobdlvhdrchg,
lt_dlv_items_control TYPE STANDARD TABLE OF bapiobdlvitemctrlchg,
ls_dlv_item_control TYPE bapiobdlvitemctrlchg.
DATA : ls_dlv_hdr_control TYPE bapiobdlvhdrctrlchg,
ls_dlv_techn_control TYPE bapidlvcontrol,
lt_bapireturn TYPE STANDARD TABLE OF bapiret2,
ls_bapireturn TYPE bapiret2,
lt_bapiext2 TYPE STANDARD TABLE OF bapiext,
ls_bapiext2 TYPE bapiext.
DATA : BEGIN OF ls_mns_of_del,
vbeln TYPE likp-vbeln, "delivery number
lifsk TYPE likp-lifsk, "means of transport
END OF ls_mns_of_del.
CONSTANTS : lc_del_blck TYPE bapiext-param VALUE 'LIKP-LIFSK'.
PARAMETERS : p_dlv TYPE likp-vbeln OBLIGATORY." OBLIGATORY.
SELECT SINGLE *
FROM likp
INTO ls_likp
WHERE vbeln = p_dlv.
CHECK sy-subrc = 0.
CLEAR : ls_bapiext2.
ls_mns_of_del-vbeln = ls_likp-vbeln.
ls_mns_of_del-lifsk = 'BX'.
ls_bapiext2-param = lc_del_blck .
ls_bapiext2-value = ls_mns_of_del.
APPEND ls_bapiext2 TO lt_bapiext2.
CALL FUNCTION 'MAP2E_LIKPVB_TO_BAPIOBDLVHDRCH'
EXPORTING
likpvb = ls_likp
CHANGING
bapiobdlvhdrchg = ls_dlv_header.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
EXPORTING
header_data = ls_dlv_header
header_control = ls_dlv_hdr_control
delivery = ls_likp-vbeln
techn_control = ls_dlv_techn_control
TABLES
extension2 = lt_bapiext2[]
return = lt_bapireturn[]
EXCEPTIONS
communication_failure = 1
system_failure = 2
OTHERS = 3.
IF lt_bapireturn[] IS INITIAL.
COMMIT WORK AND WAIT.
MESSAGE 'Success' TYPE 'I' DISPLAY LIKE 'S'.
LEAVE LIST-PROCESSING.
ELSE.
MESSAGE 'Error' TYPE 'I' DISPLAY LIKE 'E'.
LEAVE LIST-PROCESSING.
ENDIF.Hi ,
After seeing your code, you are not passing any parameters to header control data. once check the below code, it might useful.
DATA: h_data like bapiobdlvhdrchg,
h_control like bapiobdlvhdrctrlchg,
delivery like bapiobdlvhdrchg-deliv_numb,
item_data like bapiobdlvitemchg occurs 0 with header line,
item_control like bapiobdlvitemctrlchg occurs 0 with header line,
return like bapiret2 occurs 0 with header line.
CLEAR: h_data, h_control, delivery, item_data, item_control,
return.
REFRESH: item_data, item_control, return.
h_data-deliv_numb = gst_alv_table-c6_vbeln.
h_data-dlv_block = p_new_del_blck. "the new delivery block
h_control-deliv_numb = gst_alv_table-c6_vbeln.
h_control-dlv_block_flg = 'X'.
delivery = gst_alv_table-c6_vbeln.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
EXPORTING
header_data = h_data
header_control = h_control
delivery = delivery
TABLES
return = return .
"Check if return table got an error.
READ TABLE return WITH KEY type = 'E'.
IF NOT sy-subrc IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ELSE.
ROLLBACK WORK.
ENDIF.
Regards,
Parupelly -
BAPI to update a single characteristic in IE02
Hi,
I am trying to update a single characteristic in IE02.I am able to do that with the BAPI "BAPI_OBJCL_CHANGE",but this BAPI is updating only 1 characteristic and is initializing all the remaining characteristcs.
Any pointers on this is highly appreciable.
NavinHi,
the documentation of the bapi says:
Caution
This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
You can only use this BAPI for objects that are not classes!
This BAPI only processes assigned values for classification - not for configuration
so i guess you have to pass all information you do not want to lose.
i´ve found this as well:
http://www.sapfans.com/forums/viewtopic.php?t=125320
Best regards.
Edited by: Pablo Casamayor on Jan 2, 2009 7:08 PM
Maybe you are looking for
-
How do I create a mottled texture like in this poster?
Hello, I am trying to figure out how to create this mottled texture used in the poster below? Looks like a noise filter of some kind. Would I be better using Photoshop or Illustrator for this? I am using the texture in the context of a book, repeatin
-
Integrating Systinet Registry with the XI/PI
Does anyone have experience integrating Systinet Registry with the XI/PI Integration Repository? For example, is it possible to push XI design objects from the Integration Repository to Systinet and maintain synchronization?
-
How do you make the strip silence window larger!!
How can I adjust the strip silence window to make the wave files larger so I can see my adjustments better.... Right now they're so small I can't tell what I'm doing.. Thanks RD
-
Unable to connect to JDBC Persistent Store
- There are two managed server in a cluster on a WLS 9.2 MP2 and the version of database is 9..2.0.8 - Trying to start managed server but getting java.lang.Assertion error. - Application also does not work. - Managed server 1 is not starting and thro
-
I downloaded Create Adobe PDF for Mac OS 7.6.1. I attempted to install it and from what I can see, the only item that installed was the "Read Me" (kind of strange getting installation instructions after you've attempted to install). I do not seem