SD-FI generate more then one post in FI

Hi all.
Does someone know if it is possible to generate, using enhacement or user-exit or costumizing (V/08) , more than one post in FI ?
Thanks,
Nuno

Hi Sudhir, thanks for anwser.
The point is:
with one shot (one item of a billing document) we need to generate two posts.
Ex. item with 1200u20AC, we need to do the following posts:
1- debit 1200 (conciliantion account) - This is done in Tcode OV64
2- credit 1200 (revenue account) - This is done in Tcode VKOA
3- debit 1200 (conciliantion account)
4- credit 1200 (conciliantion account)
The first and second posts are OK. For the third and fourth post the system does not do the post.
Thanks,
Nuno

Similar Messages

  • How to use 'BAPI_GOODSMVT_CREATE'  for more then one row selected ???

    Hi,
    I am using bapi , BAPI_GOODSMVT_CREATE  ,  my requirement is that first perform ALV display with check boxes & then user can selsct any number of rows  & then on clicking execute button  this bapi is triggered , now my ques is that  if i am selecting rows one by one & executing , then am able to post data successfully, but if am selecting  more then one row at a time then its giving me error
    " exactly one serial no must be selected  (instead of more then two / three ) ."
    plz help me .
    this is how i am filling data in BAPi & bapi call
    FORM FILL_BAPIDATA .
      wa_GOODSMVT_HEADER-PSTNG_DATE = sy-datum.
      wa_GOODSMVT_HEADER-doc_DATE = sy-datum.
      wa_goodsmvt_code-gm_code = c_gmcode.
      LOOP AT it_final INTO wa_final.
        wa_GOODSMVT_ITEM-MOVE_TYPE = c_movtype.                 " '313'.
        wa_GOODSMVT_ITEM-material =  WA_final-MATNR.
        wa_GOODSMVT_ITEM-ENTRY_QNT = wa_final-verme.
        wa_GOODSMVT_ITEM-plant =  WA_final-WERKS.               "'DB10'.
        wa_GOODSMVT_ITEM-STGE_LOC =  WA_final-LGORT.
        wa_GOODSMVT_ITEM-BATCH = WA_final-CHARG.
    wa_GOODSMVT_ITEM-BATCH = l_charg.
        append wa_GOODSMVT_ITEM to IT_GOODSMVT_ITEM.
        clear: wa_GOODSMVT_ITEM.
      ENDLOOP.
      LOOP AT it_final INTO wa_final.
        wa_serialnumber-SERIALNO = wa_final-sernr.
        APPEND wa_serialnumber to it_serialnumber.
        CLEAR wa_serialnumber.
      ENDLOOP.
      LOOP AT it_position2 INTO wa_position2.
        wa_serialnumber-MATDOC_ITM = wa_position2-wepos .
        MODIFY it_serialnumber INDEX sy-tabix from wa_serialnumber TRANSPORTING MATDOC_ITM .
      ENDLOOP.,
    data: begin of mthead.
            include structure bapi2017_gm_head_ret.
    data: end of mthead.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          GOODSMVT_HEADER               = wa_GOODSMVT_HEADER
          GOODSMVT_CODE                 = wa_GOODSMVT_CODE
       IMPORTING
          GOODSMVT_HEADRET              = mthead
        MATERIALDOCUMENT              = w_MATERIALDOCUMENT
        MATDOCUMENTYEAR               = w_MATDOCUMENTYEAR
        TABLES
          GOODSMVT_ITEM                 = IT_GOODSMVT_ITEM
          GOODSMVT_SERIALNUMBER         = IT_SERIALNUMBER
          RETURN                        = IT_RETURN
      GOODSMVT_SERV_PART_DATA       =
      EXTENSIONIN                   =
    APPEND w_MATERIALDOCUMENT to it_GOODSMVT1 .
    IF sy-subrc = 0 .
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    *MESSAGE text-016 TYPE 'I'.
    PERFORM msg_log  .
    ENDIF.

    Hi,
    Did u check the serial numbers table before calling the BAPI. Might be the case tht same serial number is assigned for all items, in this case the goods movement may be possible with same serial number for all items.
    Reagrds,
    Aditya
    Edited by: aditya on Aug 11, 2009 11:46 AM

  • Insert more then one animation into dreamweaver

    how do I insert more then one adobe edge animation into dreamweaver via html code?

    Hi, bullydog2009-
    You should be able to insert multiple iframes into your HTML document.  Try this post for syntax:
    http://forums.adobe.com/message/4741310
    Hope that helps!
    -Elaine

  • I have a mac book pro and when I turned on iChat it would not let me video chat with more then one person even though I was able to in the past. It only showed an icon to video chat with one person. Please help!!

    I have a mac book pro and when I turned on iChat it would not let me video chat with more then one person even though I was able to in the past. It only showed an icon to video chat with one person. Please help!!!! ASAP

    Hi,
    Check the iChat Menu > Preferences > Video Section > Bandwidth setting.
    iChat needs to see a Minimum of 128kbps to do 1-1 chats in Video
    For 3 and 4 way chats it needs 384kbps
    Set the Bandwidth to 500kbps if it is set lower.
    Also check the speed you are getting from your Internet supplier.
    9:28 PM      Thursday; February 23, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Using more then one null in a Set

    Hello Friends,
    Can any one throw some lights for using the null values in Set.
    Can a set cantains more then one null values? It worls fine if there is only one null element alone but throwing exception if there are any other element with one null.
    Thank you.
    Roshan

    So when you read the documentation for TreeSet.add(), which you obviously did because it's so obvious that you should read the relevant documentation before posting questions, what did you not understand?
    Adds the specified element to this set if it is not already present. More formally, adds the specified element e to this set if the set contains no element e2 such that (e==null ? e2==null : e.equals(e2)). If this set already contains the element, the call leaves the set unchanged and returns false.
    Throws:
    NullPointerException - if the specified element is null and this set uses natural ordering, or its comparator does not permit null elements
    Edit: By the way, there was a recent thread about the fact that it appears that Java 5 had a bug in which when you add the first null, it didn't throw an NPE, but in Java 6 it did. That may be relevant information depending on what JRE you're using.
    Edited by: endasil on 9-Dec-2009 1:31 PM
    Edit 2: Here's a (or the) bug report: [http://bugs.sun.com/view_bug.do?bug_id=5045147]
    Edited by: endasil on 9-Dec-2009 1:34 PM

  • How to handle more then one transaction in bdc

    how to handle more then one transaction in bdc

    Hi vinod,
    Call one BDC after the another, Like if u want to create a sales order and then correspondingly display it as well, u can capture the sales order created afer ur first BDC theu the messages mostly in SYMSGV1 and using this u can do a call txn skip first screne of VA03.
    If u are talking about session, get 2 session names and move them to different sessions or if both txn are dependant on each other, move it one after the other thru call txn. It is the same, howmany ever trx u wabnt to post thru BDC.
    Award points if this helps.

  • Deceptive Shipping pratices for orders of more then one phone

    Verizon basically cheated anyone if they bought more then one phone. I had the issue associated with the discounts, so I was unable to get my order though till 2:45 central. I ordered 2 phones one sliver 16gb 6 and one gold 16gb 6+. They Sliver 6 said deliver on 9/19 and the 6+ was 10/15. I was upset that it would be delayed cause of the errors on Verizon end but still wanted to save my place in line so I ordered. I considered splitting the order but didn't want to be delayed again. What I'm most upset about is even after confirming with Verizon that I would still receive my 6 on 9/19 I did not. I'm now being told that they can not separate the order and they have to be shipped together. This is a very deceptive practice and it basically gave them another iPhone to sell on opening day. Imagine waiting in line to buy two phones but them selling one of the phones you wanted to someone in line behind you cause they didn't have the other in stock. I fully understand that this was an extremely popular phone but to not have the most basically shipping practices is unacceptable. It is also not right that I was lied to about the shipping practices before launch day. I'm hoping that Verizon will be willing to do something to make this right but I expect a canned answer directing me to the order status page.

    unfortunately, there is no option or feature yet in Skype which allow users to login in one computer or device only at a time.
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • More then one Iframe per page?

    Hi, is there any possibility to show more then one iframe per page.Beacuse when I put two html regions on my page with this content, only one is shown?
    <IFRAME src="f?p=&APP_ID.:1610:&SESSION.::&DEBUG.:1600:P1600_ID:20"
    style="width:400px;height:400px"
    name="details"
    scrolling="yes" marginwidth="3" marginheight="3"
    frameborder="2" vspace="2" hspace="2" />

    Hello,
    Should be possible. Can you see both iframes in the generated HTML code? Aren't they just overlapping each other?
    Otherwise try to embed both iframes in a DIV and position that DIV where you want it (one left, the other one right for instance).
    Greetings,
    Roel
    http://roelhartman.blogspot.com/

  • XML Publisher with more then one VO

    Hi;
    I have a requirement to show a custom PDF report on click of a button in a custom OAF page. so with the help of [http://apps2fusion.com/at/ps/260-integrating-xml-publisher-and-oa-framework|http://apps2fusion.com/at/ps/260-integrating-xml-publisher-and-oa-framework] I am able to prepare a xml publisher PDF report with single VO(select query) where as in my requirement I required to write more then one VO(select querys). Can anybody give some ideas how to proceed?
    GsrC.

    hi;
    i have multiple viewObject and i did what you said and i generated the XML file
    but the problem i have that
    the generated xml file was
    <Msat>
    <MasterVO>
    <MasterVORow>
         <BidValidUntil></BidValidUntil>
         <AdvancePayment>5051</AdvancePayment>
         <Duration>99</Duration>
         <PaymentType>%</PaymentType>
         <GroupName></GroupName>
    </MasterVORow>
    </MasterVO>
    *<SupplierNameVO>*
    *<SupplierNameVORow>*
    *<Segment1></Segment1>*
    *<VendorName></VendorName>*
    *<VendorId></VendorId>*
    *</SupplierNameVORow>*
    *</SupplierNameVO>*
    </Msat>
    but i want to be in this form
    <MSat>
    <MasterVO>
    <MasterVORow>
         <BidValidUntil></BidValidUntil>
         <AdvancePayment>5051</AdvancePayment>
         <Duration>99</Duration>
         <PaymentType>%</PaymentType>
         <GroupName></GroupName>
    *<SupplierNameVO>*
    *<SupplierNameVORow>*
    *<Segment1></Segment1>*
    *<VendorName></VendorName>*
    *<VendorId></VendorId>*
    *</SupplierNameVORow>*
    *</SupplierNameVO>* </MasterVORow>
    </MasterVO>
    </MSat>
    how can i do that if each <suuplier>and <master>are from differnt views and when i tried to use XML>appendChild()
    it gave me this error message
    oracle.xml.parser.v2.XMLDOMException: cannot add a node belonging to a different document
    do any one know the solution for this problem
    thx

  • How to invoke more then one service from single button click

    Hi,
    I have created web service data control which contains more then one services.
    Now my problem is when I press button, it should take data from my input component and needs to set into multiple services and response of those services should be display to my binding component on the screen.
    Regards,
    DevangD

    See : 9.11 Overriding Built-in Framework Methods
    here: http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcservices.htm#sm0222
    You can have the code that was generated modified to invoke an additional action - you'll need to add the binding to that action to your page.

  • Installing more then one HP All in One networked printer on one computer

    I want to be able to install more then one networked all-in-one printer on a single computer.
    This is need to be able to move from home office with one all-in-one to a client's location
    with another all-in-one but a different model.
    I have been told in the past that I can connect one via network connection and one via USB
    but this is not an acceptable solution because the printers are networked and used buy more then one system
    at a time.
    I don't think this is a unique situation for consultants or moble workers.
    Is there a way to do this with networked HP all-in-ones printers?

    What are the printer models and your operating system.  I am using both the Photosmart 2610 and Officejet 7410 networked here and have additional drivers installed for a K60 that is at another location I occasionally visit.  Typically you would install the most recent driver and install the printer, then run the installer again and specify "Add printer".
    Regards,
    Bob Headrick, Microsoft MVP Printing/Imaging
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How to retrieve more then one record from database

    I am doing a SELECT FROM WHERE SQL statement on a database which returns more then one record. I want to retrieve certain column values from the selected records. How do I do that? If only one record is returned, I know I can do a data operation with operation set to 'Get-Retrieve Values from Record' and Record to operate on set to 'Current-Use current record'. I need to find out how to configure to data operation window in the case more then one record is returned by the preceding SQL statement. Depending on the number of records returned, I can dynamically create array variables to store the 'to be retrieved' column values, just dont know how to retrieve them.
    Any help will be greatly appreciated.
    Thanks
    Anuj

    I apologize for not being clear in explaining my problem, perhaps I should have posted an example. Anyways, I was able to figure out the solution. I was doing an 'Open SQL' statement which was selecting multiple records (rows) from a table in the dB. I was storing the number of records returned in a local variable. Then, I wanted to retrieve certain columns of all the selected rows (records). In the "Data operation", I was choosing the 'Record to operate on' as 'Current-Use Current Record'. Changing this field to 'Next-Fetch next record' fixed the problem. I then retrieved the values of those columns into a dynamically created array variable whose dimensions came from the local variable which stored the number of records returned in the SELECT SQL statement. 
    Thanks
    Anuj

  • Can a .jsp contain more then one jsp:forward page

    Can a .jsp contain more then one jsp:forward page if it's conditional.
    ie. if condition true
    forward to pageA
    else
    forward to pageB?
    Thank you.

    gimbal2,
    Thanks for the response. I did try it and I got a
    compile error. I just realized that the error was
    regarding a different issue.
    JJIn that case, it would have been appropriate to post the actual problem.

  • How do I get the text to flow throughout more then one page.

    Hello,
    I am currently using LiveCycke Designer to create a scholarship for my company. I created fields for the form and I would like to insert a text to describe the scholarship. When I insert the text, it doesn't flow onto the next page. I've tried creating a subform and clicking "flowed" and "allow page breaks within content". I also clicked auto-fit for the height, but it just makes a line. For the text box, I've clicked "Expand to fit on the height". It is also a dynamic XML Form. Is there anything else I should be doing?
    I could always send the file to someone to see if they can figure it out.
    Thank you,
    Natalie

    Thank you so much !
    but the link doesn't seem to work. It says that the URL is not in the correct format for an Acrobat.com document link.
    Natalie
    Date: Wed, 12 May 2010 07:53:12 -0600
    From: [email protected]
    To: [email protected]
    Subject: How do I get the text to flow throughout more then one page.
    Here is the corrected form..Even you you set the Subform type to "Flowed" to the subform where the Text box resides, you did not set the Page1 to Flowed (which is the key)..But when I make the Page1 type to "Flowed", all your fields above the Scholrship text boxes' Subform will go one below another.. To fix this, first I have select all the fields and wrap them into a subform and then set the Page1 to Flowed..
    https://acrobat.com/#d=XQ1yfV8fCk85M7sRLD*-gg
    Thanks
    Srini
    >

  • How can I restrict more then one user to access the table?

    Hi !
    I have a problem and two solutions and I am a bit confused as to
    which one is the best one and/or can there be any better way of
    handling the problem ?
    Problem : I have to update a key field of a table when I update
    it in the form 5.0 screen. I am basically doing a maintenance of
    a table and if a certain field is updated then the change has to
    be reflected in two more tables. But the issue is that the field
    is a part of the key in those two tables. So all I can think of
    is that I need to insert new set or rows for that new value of
    the field and delete the old set of records for old values of
    the field.
    There are two ways of doing it;
    1.One option can be to explicitely define two cursors separately
    and fetch the values in them one by one and then insert the new
    records and then delete the old records in both the tables. This
    I feel will be a cumbersome process both in terms of processing
    time and the coding.
    2.Second option I was thinking can be to create two flat tables
    (without keys) and insert the values in them and update the
    changed field there and then insert the rows in the respective
    tables. Delete the old records in the main tables and delets the
    records in these flat tables. This is a bit more faster and
    easier to predict and code. This seems to be a better option for
    me.
    Any comments on these ?
    In both the cases I was thinking of making some provision so
    that more then one person can't update the table simultaneously.
    Since if there are more then one persons doing the processing
    then some inconsistency might creep into the whole process.
    This is easier to do in the second process as if I check the
    data in the flat tables and if there is some data then I can
    presume that some one is doing the processing and I can ask the
    other person to hold for a while. But in this case how can I
    stop more then two people to simultaneously check for the empty
    table and start inserting the record ?
    I was just thinking of having a sepatare table having only one
    field and this will be a key field and as the process begins the
    process will insert a fix value say 'Y' in the key field and at
    the end of the process the record will be deleted and this way
    we can restrict the user to access the process more then one at
    a time..? Since you can't have same value of the key in a table
    more then once.
    Any better way of handling it will be deeply appreciated.
    How about locking the table at the begining and releasing the
    lock at the end ? Will there be any issue in that? since I am
    inserting and deleting the rows in the same transaction.
    Comments welcome,
    Shobhit
    null

    How about performing the update IN the database using a stored
    procedure?
    By using non-database fields on your form to get the
    information, you can then call the procedure in the database to
    perform the updates. If an error occurs in the procedure you
    rollback, if necessary, and send a message or status back to the
    form. If it succeeds you might wish to commit and then re-
    execute the form's query -- using either the original key values
    or the new key values...
    null

Maybe you are looking for