Question regarding fields triggering delta on ECC side

Hi gurus
I wonder does any field change on ECC side triggers delta queue? If not how can I know what fields do trigger deltas?
For example I use FI_AR_4 extractor, one of the extraction structure fields comes from BSEG.SGTXT. It is long text field. Then it is being changed it doesn't impact any amounts or other key information. Will BSEG.SGTXT field change trigger the delta queue if any other field of the record wasn't changed?

But this timestamp field is posted then some fields have been changed, i guess...

Similar Messages

  • Design/Architecture questions regarding streams, triggers, JMS, XML

    I need to devise a way to enable an application that I am currently developing to act upon a change to a database table and to generate a message to notify an external system of the change.
    The scenario I envisage is:
    - A 3rd party (a user or a batch job) modifies (INSERT, DELETE, UPDATE) a row in a given table.
    - There is a trigger that is fired by the modification which would put a message onto a Stream (thus the notification would be persistent if the database were to go down).
    - A Java server process would be running that continually checks the Stream (referenced above) for a message . When the message has been dropped in the queue by the trigger the Java server process would read the message and determine what had changed, and then it would generate an XML message that it would pass onto the external system to notify the change. NOTE : The external system would not have access to the database so the outbound XML message would contain all of the information that describes what has changed.
    This sounds simple enough to me, but there is a fair bit of "hand waving" around how this would actually work in practice!
    Can anyone provide any assistance with any Oracle infrastructure that I might be able to use to ease any of this? My main area of concern is how the trigger should indicate what has changed when a modification occurs. I could create the trigger to write a message in a simple (but proprietary format - or potentially XML) to the Stream queue, and then the Java server process could read the message (via OJMS) and parse the message and using JDBC determine what modification actually ocurred, but this could be quite a bit of work... Is there a smarter way to do this?
    Perhaps I could use XMLDB to allow the trigger to immediately render the change into XML format which would slightly ease the parsing that the Java server process has to do.
    Any help would be greatly appreciated!
    Thanks,
    James

    I need to devise a way to enable an application that I am currently developing to act upon a change to a database table and to generate a message to notify an external system of the change.
    The scenario I envisage is:
    - A 3rd party (a user or a batch job) modifies (INSERT, DELETE, UPDATE) a row in a given table.
    - There is a trigger that is fired by the modification which would put a message onto a Stream (thus the notification would be persistent if the database were to go down).
    - A Java server process would be running that continually checks the Stream (referenced above) for a message . When the message has been dropped in the queue by the trigger the Java server process would read the message and determine what had changed, and then it would generate an XML message that it would pass onto the external system to notify the change. NOTE : The external system would not have access to the database so the outbound XML message would contain all of the information that describes what has changed.
    This sounds simple enough to me, but there is a fair bit of "hand waving" around how this would actually work in practice!
    Can anyone provide any assistance with any Oracle infrastructure that I might be able to use to ease any of this? My main area of concern is how the trigger should indicate what has changed when a modification occurs. I could create the trigger to write a message in a simple (but proprietary format - or potentially XML) to the Stream queue, and then the Java server process could read the message (via OJMS) and parse the message and using JDBC determine what modification actually ocurred, but this could be quite a bit of work... Is there a smarter way to do this?
    Perhaps I could use XMLDB to allow the trigger to immediately render the change into XML format which would slightly ease the parsing that the Java server process has to do.
    Any help would be greatly appreciated!
    Thanks,
    James

  • Question regarding extension fields.

    Hello Experts,
    I created an extension field (Setup -> Configuration -> Extension Definition) in ESO 5.1, and managed to add this field to the vendor registration form. So far so good.
    However, when vendor submits the form and the Vendor Manager receives the notification to approve, the newly created field does not appear.
    Can you guide me as to how this field can be available in the Supplier Registration/Modification requests that the Vendor Manager receives? Also, what do I need to do in order for the field to be available for mapping to PI?
    Your help is appreciated. Thanks!

    Hello Devesh,
    Thanks for your response.
    However, the extension field is defined with "Buy-side and Sell-side" visibility, and still the vendor manager cannot see this field when the vendor submits the registration form.
    Field is defined as follows (substitute <company> with any company name):
    Inactive(Status) = unchecked
    Use as collection member = unchecked
    Attribute Internal Name: <company>_TEST_EXTENSION
    Attribute Display Name: Foreign Business
    Attribute Description: doc$extension.<company>.context.id.vendormgmt.vendor_registration.<company>_test_extension.desc
    Pre-Text: <blank>
    Post-Text: <blank>
    Display After: CTERMS$CTERM.NON_PROFIT
        Required = unchecked
        ReadOnly
    Visibility: Buy-side and Sell-Side
    Data Type: Boolean
    Your help is much appreciated. Thanks!

  • Transferring field "Unloading Point" from ECC to SRM

    Hello Everybody,
    I need to pass the field "Unloading Point" from the ECC side to the SRM side. Currently, SAP doesn't transfer this field when we execute the program BBP_EXTREQ_TRANSFER.
    The field Unloading Point has been enabled in the SRM and is displayed properly for any Shopping Cart created there.
    In order to pass the field, I have explored the BADI - BBP_BADI_EXTREQ_OUT, but there is no field in this BADI which can be used for passing the Unloading Point.
    One solution that I have is to create a custom field in the BADI structure and then move the Unloading Point in this custom field. But then again, a question arises, how will SRM know that this is the Unloading Point field.
    Also, will any of the following BADI's do the trick?
    BBP_CREATE_REQ_BACK
    BBP_TARGET_OBJECTS
    BBP_CREATE_BE_RQ_NEW  
    BBP_GROUP_LOC_PO
    Please let me know if there is any solution for this problem.
    Thanks & Regards,
    Nikhil.

    Hi Disha,
    Thank you for your prompt reply.
    As per your recommendation, I looked at the BADI "BBP_DOC_CHANGE_BADI", but it seems that the BADI is triggered when we order or hold the shopping cart and not when we transfer Purchase Requisitions from ECC.
    Also, I had seen the thread previously, but it wasn't helpful to me.
    I will be just creating the PR in the ECC side, and won't be having any SC in the SRM before I execute the program BBP_EXTREQ_TRANSFER. I want the field Unloading Point to be moved for every PR created whenever the program is executed.
    If I have missed your point somewhere, do correct me.
    Thanks!
    Nikhil.

  • How to use 2 date field as delta control in generic extractor.

    Hi colleagues:
    I have developed a generic extractor to extract logistic data: Purchase Orders and Invoice. In order to do that, I have defined a view joining EKBE, EKKO, EKPO, EKET tables on R/3. By this approach, the delta mechanism is supposed to be controlled by the EKBE-BUDAT field and also by the EKPO-AEDAT field. Both fields are available on the view used to create the Datasource. However, the Datasource creation allows us to define just one field as delta control.
    I have a few questions regarding to this scenario:
    <b>1 - Is it possible to define 2 fields as delta control field on Generic Datasource?</b>
    <b>2 - How about creating two similar Datasouces, one having AEDAT as delta control, the other having BUDAT as delta control, and then connect those Datasources to an unique Infosource on the bw side?</b>
    Best regards
    Waldemar

    hi,
    1 - as far as I know it is not possible to define 2 fields
    2 - this workaround is used often in cases like yours.
    Just remember about order of extracting: first you extract new documents then changed
    Regards,
    Andrzej

  • What is the use of delta in BW side when we have delta in R/3

    Hi,
    what is the use of delta in BW side when we are already using delta in R/3 side?
    Like,
    Generic extraction:-
    with different delta extractions (Time stamp, Calendar day, Numeric pointer).
    Lo-Cockpit extraction with change log method.
    Co/Pa extraction with time stamp method.
    So from this delta activation first time full data will be loaded and after that only changed data will be loaded because of these deltas in R/3 side.
    So now my question is what is the exact use of delta in BW side with ODS/DSO because data already reached to BW with delta activation right.
    Can you please explain me what is the exact use of BW delta?
    Thanks in advance.
    Points to be added.
    Regards,
    Shyam.

    The purpose of Delta Queue is same in R/3 and BW.
    In BW, Delta Queue is used to capture changes made to objects within BW. (for Eg: BW Statastics)or Update data from one BW system to another BW system (if you have multiple BW systems).
    Message was edited by:
            Praveen Vujjini

  • Struck up with R3AD_* Queues in SMQ1(Outbound Queue in ECC Side)

    Hi ,
    I am using CRM Middleware for replicating business partner(BP) from CRM to ECC
    and material from ECC to CRM.
    BP and Materials are replicating well.
    My Issue is,
    while checking queues in SMQ1 (Outbound Queue in ECC Side), i am getting many queues are pending also
    status as "SYSFAIL".
    QUEUE Names are R3AD_000000123,R3AD_000000139,R3AD_000000141... R3AD_*,etc..
    I tried to unlock the queues and activated, afterthat also queue status is "SYSFAIL". Then i checked in CRM side
    Transaction Code SMW01,
    BDOC Details:
    BDOC State Description: Information no processing.
    BDOC Type :BUS_TRANS_MSG.
    ERROR Message:
       a.Processing of document with GUID 4E57E4A5108162A7E10000000A0BE02A is canceled.
      b.Business transaction type ZEQQ does not exist.
      c.Validation error occurred: Module CRM_DOWNLOAD_BTMBDOC_VAL, BDoc type BUS_TRANS_MSG.
    Thanks and Regards,
    Ravi A

    Maintain a filter in ECC go to Tcode SM30 , then go to table/view and enter CRMRFCPAR click maintain and enter
    User CRM
    Object Name SALESDOCUMENT
    Destination xxxxxxxxxxxx
    Load Type delta download
    Queue Name
    Queue Name
    BAPINAME
    INFO
    InQueue Flag X
    Send XML
    CRM Release 700
    Logical system xxxxxxxxxxx
    this will stop the flow of ecc sales documents to crm
    this will also stop Bdcos in SMW01
    Please let me know if this helped

  • Question regarding the installation of a J2EE 6.40 Add-in

    Hi all,
    I would like to install a J2EE engine on a test instance of ECC 5.0 and have a few questions regarding the installation...
    Do I have to use the MASTER CD to first install the J2EE engine (Support Package 0) and then apply the latest support packages found on the SAP Marketplace?
    Or should be able to directly install the J2EE Add-In by using the latest support packages found on the SAP Marketplace?
    Best regards,
    Xavier Vermaut

    Thanks Bhavik for your reply,
    That's what I actually thought but I get the following problem... Here's what I wrote into my customer message... I am still waiting for an answer and would like to get this solved ASAP
    Dear SAP,
    We would like to install the J2EE 6.40 Add-In on our ECC 5.0 instance
    (TST) but get the following error message at the very beginning of the
    installation
    > Cannot find an installed ABAP system, which is a prerequisite for a
    > J2EE Add-In installation. The installation cannot continue.
    We checked the installation logs (sapinst_dev.log) and found the
    following :
    > Found these instances:
    > sid: MGR, number: 00, name: DVEBMGS00, host: erpqs1a
    > sid: TST, number: 10, name: DVEBMGS10, host: erpqs1a
    Why does the installation say that it can not find any ABAP systems when
    having previously found the 2 different instances running on this
    server?
    Would this problem be related to the fact that we have two instances on
    this server?
    Please find hereunder the way we performed this installation :
    01) Download of the 4 different parts of SAP J2EE Engine 6.40 SP 10
         (Solaris 10 - Oracle)
         Part I   : SAPINST10_0-20000121.SAR         (Solaris 64)
         Part II  : CTRLORA10_0-20000121.SAR         (Solaris 64)
         Part III : J2EERTOS10_0-20000121.SAR        (Solaris 64)
         Part IV  : J2EERT10_0-10001982.SAR          (OS Independant)
    02) Extract these 4 archives into /install/J2EE_640
    03) Check Java Version and Environment Variables
    04) Check Solaris Pre-Requisites
    05) Adapt "product.xml" as specified in OSS Note 697535 (IGS)
    06) Log in as 'root'
    07) Set DISPLAY environment Variable
    08) Move to the Installation directory
          ( /install/J2EE_640/SAPINST-CD/SAPINST/UNIX/SUNOS_64 )
    09) ./sapinst
    10) In the 'Welcome to Netweaver Installation' screen, select
          => Dialog Instance Finalization
    Any idea how to get this solved?
    Best regards,
    Xavier Vermaut
    Message was edited by: Xavier Vermaut

  • Adding feild to CIF_MATLOC on ECC side which is available on APO side

    Hi All,
    In the structure CIF_MATLOC in the ECC side I need to add a field (RELDT- replenishment lead time) which is available in the /SAPAPO/MATLOC table in the APO side.
    Please tell me the procedure, how to proceed with this requirement.
    Thanks in Advance.
    Regards,
    SriLalitha.

    Hi Venu/Himadri,
    I receive the same issue "Error: Extension 'ZDELVRY01' is unknown" in XI while trying to send the ASN from SUS to MM.
    Can you please explian how you were able to over come this issue.
    I use process code - DELS. Message type - DESADV
    Thanks,
    -Devi Swain

  • Question Regarding MIDI and Sample Accuracy

    Hi,
    I have 2 questions regarding MIDI.
    1. MIDI is moved by ticks. In the arrange window however, you can move a region by samples. When doing this, you can move within values of the ticks (which you can see on your position box that pops up) Now, will this MIDI note actually be played back at that specific sample point, or will it round the event to the closest tick? (example, if I have a MIDI note directly on 1.1.1.1, and I move the REGION in the arrange... will that MIDI note now fall on the sample that I have moved the region to, or will it be rounded to the closest tick?)
    2. When making a midi template from an audio region, will the MIDI information land exactly on the sample of the transient, or will it be rounded to the closest tick?
    I've looked through the manual, and couldn't find any specific answer to these questions.
    Thanks!
    Message was edited by: Matthew Usnick

    Ok, I've done some experimenting, and here are my results.
    I believe those numbers ARE samples. I came to this conclusion by counting (for some reason it starts on 11) and cutting a region to be 33 samples long (so, minus 11, is 22 actual samples). I then went to the Audio Bin window, and chose to view region length as samples. And there it said it: 22 samples. So, you can in fact move MIDI regions by samples!
    Second, I wanted to see if the MIDI notes in the region itself would be quantized to the nearest tick. I cut a piece of audio, so it had a 1 sample attack (zoomed in asa far as I could in the sample editor, selected the smallest portion, and faded in, and made the start point, the region start position). I saved the region as a new audio file, and loaded it up in the exs sampler.
    I then made a MIDI region, with and triggered the sample on beat 1 (quantized, on the money). I then went into the arrange window, made a fixed cycle length, and bounced the audio. I then moved the MIDI region by one sample to the right. I did this 22 times (which is the number of samples in a tick, at 120, apparently). After bouncing all of these (cycle position remained fixed, only the MIDI region was moving) I imported all the audio into the arrange on new tracks, and YES!!! The sample start was cascaded by a sample each time!
    SO.
    Not only can you move MIDI regions by sample, but the positions are NOT quantized to Logics ticks!
    This is very good news, and glad I worked this out!
    (if anyone thinks this sounds wrong, please correct me, but I'm pretty sure I proved it, in my test)
    Message was edited by: Matthew Usnick

  • Question regarding ONT connection via Ethernet and Cable cards

    Hi,
    We recently upgraded to Fios Quation 150Mbps/65  plan. We are not getting the advertised speeds (we only get like 5mbps upload) so verizon is sending a tech to switch the ONT connection from coax to ethernet.
    I have 2 questions regarding this new setup:
    1. If the ONT communicates with the Fios Actiontect router via ethernet instead of coax from now on, How will the set top boxes and Tivo-esque cable card powered device I currently have connected to coax, talk to the verizon system from now on, if coax is taken out of the equation? Will fios signal still flow through the internal coax wiring of the house? And moreover, I was under the impression that coax was the way set top boxes communicated and derived independent ip addresses from the Fios router, for on deman purposes and what not. How will this work from now on?
    Quiestion 2.
    Right next to the wall where the ONT sits, theres's a basement office where we have a PC that connects to the Fios system  via an Actiontect MoCa adapter (ECB2500C) which I assume derives it internet connection from the Fios Actiontec router which sits upstairs in the living room. 
    Again, with the Coax about to be disabled next Friday in favor of ethernet connection from the ONT, I assume this PC will be left without internet because of the lack of internet signal in the coax? Is this correct? 
    Question 2.5 If my above assumption is correct, since this office is right on the other side of the wall where the ONT sits outside the house, would it be possible to run an ethernet wire through the wall that connects straight from the ONT to an ethernet switch inside the office, from which I would derive a connection for this basement PC (properly firewalled of course) and then, from said switch, continue running the ethernet wire that would ultimately reach the Actiontec Fios router upstairs from which the rest of the house derives it's internet?  and would this setup affect in any way the propper functioning of the cable boxes in the house?
    I'd appreciate your input and any help you can provide so I can have a ballpark idea of what to tell the Fios guy to do when he comes on Friday.
    Cheers.
    Solved!
    Go to Solution.

    It's not valid to have two devices connected to the ONT, PC and VZ Router.  Must be a single device. The ONT locks onto the MAC Address of the first device it sees. Since you have TV you should have the VZ router as the internet facing router.
    Other options:
    1.  Have the VZ Router located next to the PC in the basement and then use Wireless for all other PC's.
    2.  Have the VZ Router located next to the PC in the basement but run one wire upstairs and connect a switch where other PCs and devices can connect via a wire.
    Hope that helps.

  • Questions regarding how I pay my Line Rental Bill ...

    Hi BT,  I'm currently a BE Broadband customer,  I was a BT Broadband customer back in the days when you had BT Home Hub 1.0 and 8mb packages which i was only getting like 5-6mb, 0.3mb upload and constant speed caps on my connection to 1mb.  You guys didn't have true unlimited usage back then so being a gamer and someone that frequently downloads I changed to BE broadband.  They gave me a steady 11mb connection with 1.3mb upload speed which I've been satisfied with.   But now BE Broadband has been sold off to Sky which I don't think I want to be apart of as I've heard a lot of bad feedback and I really do not want to be forced into paying their line rental if I where to switch to Sky Unlimited.  
    So now I'm considering coming back to BT Broadband,  knowing that you've probably improved over the years.  I hope so.  I know you have this whole BT Infinity going now but my area doesn't support fibre optic broadband and probably never will because I've looked on the BT Openreach website and it says there are no plans for my area to be installed with fibre optics which I would of wanted to have but oh well.  What are the chances of my internet speed being the same as it is now with BE Broadband?   I don't see why it would go any slower.   Are your upload speeds around the same?
    Also I have a question regarding the payment methods of your BT Line rental.  I'm currently already on the BT line rental on the anytime calling plan.   I pay the bill quarterly every 3 months, which I'm comfortable with.  What confuses me is when I select the package to order BT Unlimited + Calls I only have the option to select Monthly Line Rental or Line Rental Saver.   Why am I able to pay my phone every 3 months if those are the only two options?   I'd prefrably want to stick to how I pay my phone bill.   So further more how should I go about ordering BT Unlimited broadband without it interfering with my currrent BT line rental?  I just want BT Broadband unlimited along side my current BT line rental method of pay.  Would I still be eligible for the 6 months free and the gift card.  Is the BT Home Hub 4 that comes with it free also?  Also one more question, I'd need my MAC code from BE Broadband right?  

    This is a community forum.  The people on here are other BT customers.
    The speeds have certainly improved but only if BT's equipment at your exchange supports ADSL2/2+.  If not, you'll get what you had before.  While the speeds have improved, the same can't be said for the customer service.  Upload on ADSL2+ can be up to about 1.2M.  On ADSLMax, it's still capped at 448K.
    BT like to combine broadband and phone on one bill.  So if you get line rental and broadband, they will send you one monthly bill for both.  You might be able to get them separately, but not through the web site.  Try sales on 0800 800 150.

  • BP Custom Field replication - CRM to ECC

    Hello Developers,
    I have added custom fields to the CRM BUT000 (Business Partner) table, using AET.  Now,  I need to replicate these custom fiields to ECC.  We have configured, and are successfully replicating the standard BP fields from CRM to ECC.  However, the new AET custom fields are not replicating. 
    Can you please help me by identifying BADIs, Enhancements, or User Exits where I can insert the required code in order to accomplish this custom field replication, on both the CRM and ECC sides of this replication?  Is there a document that describes what is required? 
    We are running ECC 6.0, and CRM 7.0. 
    Thanks for your help!
    Duane

    Hi Brian,
    Thanks for your help.  I have resolved this, and the information that you provided was helpfutul.
    I had to create a function module in ECC, modeled after the SAP provided sample FM SAMPLE_INTERFACE_DE_BALE.   In addition to this, I had to configure entries in the standard SAP tables TBE24 and TBE34 (event DE_BALE), so that my new function module  would be  called. 
    Duane.

  • What are the steps to send sales order custom field from CRM to ECC

    Hi Xperts,
      We have created a custom field in sales order [ VBAK] and successfully replicate its value from ECC to CRM. But while doing the enhancement to replicate the field value from CRM to ECC [ When the SO is created in CRM ] we are not able to do so.
    We used a FM in CRM0_300, but while replicating the SO from CRM to R/3 it is not getting called.
    Please help us by providing the steps to do the full enhancement to replicate the custom field of SO from CRM to ECC.
    Thanks in Advance.

    Hi Anjaneyulu,
    We are faced with a similar situation as you.
    Here is our scenario with the steps that we performed so far:
    1.  We have added a few custom fields in CRM 7.0 (Ehp1) using AET.
         The BDoc BUS_TRANS_MSG has been automatically extended with these custom fields.
    2.  On ECC side also, same custom fields have been added to VBAK and VBAP, using APPEND STRUCTURE. Fields were added to ADDITIONAL DATA TAB B in VA01 / VA02 transactions.
    3. Extended BAPI structures BAPISDITM and BAPISDITMX in both CRM and R/3 Side.
    4. As mentioned in the note 1053817, we have implemented BADI CRM_DATAEXCHG_BADI -> Method CRM_DATAEXCH_AFTER_BAPI_FILL in CRM (mapped fields from BDOC to BAPI structures)
    5. In the above note, for R/3 BAPI to R/3 API they have given to implement user exit USEREXIT_MOVE_FIELD_TO_VBAP which we found in MV45AFZZ. But in this we are unable to find BAPI Structure to map.
    Our issue is, when a sales order is created in CRM, it is getting replicated on ECC. But, only standard fields are getting replicated. The custom fields that we have added are remaining empty on ECC side.
    In CRM --> txn SMW01, we can see that the BDOC is populated with custom fields also.
    Could you let us know if your issue is solved completely. Are you able to see the value of custom field, in ECC? Did you use AET to add fields in CRM.
    Could you please give us the steps that you have done.

  • Questions regarding creation of vendor in different purchase organisation

    Hi abap gurus .
    i have few questions regarding data transfers .
    1) while creating vendor , vendor is specific to company code and vendor can be present in different purchasing organisations within the same company code if the purchasing organisation is present at plant level .my client has vendor in different purchasing org. how the handle the above situatuion .
    2) i had few error records while uploading MM01 , how to download error records , i was using lsmw with predefined programmes .
    3) For few applications there are no predefined programmes , no i will have to chose either predefined BAPI or IDOCS . which is better to go with . i found that BAPI and IDOCS have same predefined structures , so what is the difference between both of them  .

    Hi,
    1. Create a BDC program with Pur orgn as a Parameter on the selection screen
        so run the same BDC program for different Put organisations so that the vendors
        are created in different Pur orgns.
    2. Check the Action Log in LSMW and see
    3.see the doc
    BAPI - BAPIs (Business Application Programming Interfaces) are the standard SAP interfaces. They play an important role in the technical integration and in the exchange of business data between SAP components, and between SAP and non-SAP components. BAPIs enable you to integrate these components and are therefore an important part of developing integration scenarios where multiple components are connected to each other, either on a local network or on the Internet.
    BAPIs allow integration at the business level, not the technical level. This provides for greater stability of the linkage and independence from the underlying communication technology.
    LSMW- No ABAP effort are required for the SAP data migration. However, effort are required to map the data into the structure according to the pre-determined format as specified by the pre-written ABAP upload program of the LSMW.
    The Legacy System Migration Workbench (LSMW) is a tool recommended by SAP that you can use to transfer data once only or periodically from legacy systems into an R/3 System.
    More and more medium-sized firms are implementing SAP solutions, and many of them have their legacy data in desktop programs. In this case, the data is exported in a format that can be read by PC spreadsheet systems. As a result, the data transfer is mere child's play: Simply enter the field names in the first line of the table, and the LSM Workbench's import routine automatically generates the input file for your conversion program.
    The LSM Workbench lets you check the data for migration against the current settings of your customizing. The check is performed after the data migration, but before the update in your database.
    So although it was designed for uploading of legacy data it is not restricted to this use.
    We use it for mass changes, i.e. uploading new/replacement data and it is great, but there are limits on its functionality, depending on the complexity of the transaction you are trying to replicate.
    The SAP transaction code is 'LSMW' for SAP version 4.6x.
    Check your procedure using this Links.
    BAPI with LSMW
    http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI
    For document on using BAPI with LSMW, I suggest you to visit:
    http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
    http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
    http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt
    <b>Reward points for useful Answers</b>
    Regards
    Anji

Maybe you are looking for