To obtain TDID for different Sales Document

Hi all,
I must run READ_TEXT Function to obtain comments with VBBP (Position) VBBK (Header) of document I've created by VA01 transaction.
From this transaction I can create different types of document and parameter TDID of the function changes in according with ducument type I've created; so I need to obtain the correct TDID.
For example:
CLIENT                      100
ID                              ZTE4
LANGUAGE              IT
NAME                        0179000320
OBJECT                     VBBK
ZTE4 is the correct parameter for one kind of document but is not ever the same.
Someone know the way?
Thank You

Hi,
Refer to customizing tables for your requirement
For header text ids (VBBK) do the following
Get the tax determination procedure of sales document type from TVAK.(tvak-txtgr).
Get the text ids from the table TTXERN by passing
text id = VBBK and Text determination procedure = tvak-txtgr (previous step)
Use appropriate text id from the above list for READ_TEXT
For item text ids (VBBP) do the following
Get the tax determination procedure of sales document type from TVAP.(tvap-txtgr).
Pass item category as input parameter
Get the text ids from the table TTXERN by passing
text id = VBBP and Text determination procedure = tvap-txtgr (previous step)
Use appropriate text id from the above list for READ_TEXT
Regards
Vinod

Similar Messages

  • Two different billing document types for 1 sales document type.

    Hi Gurus,
    I have a requirement , wherein our client is having counter  sale.
    He is using one sales doc type , and while creating a order , he is manually adding payment terms.
    Requirement is , if the payment terms are cash, billing doc type created later on should be one , else during credit sales , billing document type should be different.
    As per my understanding this is not possible.
    Want to know if anyone has some different thought on this.
    Thanks in advance
    Nilesh.

    Dear Nilesh,
    There two options you can look in to
    One option is
    1.You can define different sales document types for cash and credit.
    2. You can define two different billing documents.
    3.Do the copy control settings for each combination
    Cash sales order >Delivery>Cash invoice
    Credit sales order >Delivery>Credit invoice
    Second option is
    1. You can maintain single sales document for both the processes.
    2.Define two different billing types then do the copy control settings for both billing types.
    But in this option user need to select the billing type manually based on the process while creating billing document.
    I hope this will help you,
    Regards,
    Murali.

  • How can I get the correct Ship To (KNVP-KUNNR2) for a Sales Document?

    I am trying to generate a report that will (among other things) display the Ship To ID and Name for a given Sales Document.  I know the following information:
    VBAK-VBELN - Sales Document
    VBAK-VKORG - Sales Org
    VBAK-VTWEG - Distribution Channel
    VBAK-SPART - Division
    VBAK-KUNNR - Sold To Party
    I know that the table KNVP will return a list of Ship-To Customer numbers (KUNNR2) for a Sold-To Customer (VBAK-KUNNR) if I also filter by VKORG, VTWEG, and SPART (using SE16N).  What I don't know is which one of the returned values is being used in a particular Sales Document.  The customer in question has 29 Ship-To locations.  How do I find out which Partner Counter (KNVP-PARZA) the Sales Document uses? I don't know where that value would come from.  Once I can get the correct Ship-To Customer Number, I should be able to search the table KNA1 by WHERE KUNNR = KNVP-KUNNR2 and return KNA1-NAME1 for the Name of the Ship-To location.

    For a sales document?  Use VBPA with PARVW = 'WE'.  Also, use the ADRDA field to determine whether the address on the document has been manually changed.  In any case, you can use one of the many address management functions or just ADRC directly to get the name, address, etc., using the ADRNR field from VBPA or if the address is from the customer master, KNA1.

  • In f110, the DMEs for different payment documents have been combined

    Hi,
    In f110, the DMEs for different payment documents have been combined.
    Two DMEs are created but they are not in separate lines.
    Kindly help.
    Thanks

    Contd ....
    Example 2 -  the following is an example of multiple payment documents against each invoice
    FH 13062008T1.001 13/06/2008 14:22:27 #
    H 10000002 13/06/2008 HSP04 NEFT-S 002-434132-908 INR INR ABNBK A.B.ENTERPRISE 999999
    L 10000002 13/06/2008 HSP04 NEFT-S 1900007628 NM             4000.00           4000.00
    H 20000003 13/06/2008 HSP04 TRFR-S 002-434132-908 INR INR ABNBK A.B.ENTERPRISE 999999
    L 20000003 13/06/2008 HSP04 TRFR-S 1900007629 NM             5000.00           5000.00
    H 30000003 13/06/2008 HSP04 RTGS-S 002-434132-908 INR INR ABNBK A.B.ENTERPRISE 999999
    L 30000003 13/06/2008 HSP04 RTGS-S 1900007630 NM             6000.00           6000.00
    Z ZOF #                                                                               
    Example 3 - This is one payment document against multiple invoices
    FH 14032008.001 14/03/2008 10:11:49 #
    H 700013 14/03/2008 HSP01 TRFR 072020779001 INR INR HSP01 Srinivas 464646 154   Ba
    L 700013 14/03/2008 HSP01 TRFR 0100000836 NM           200000.00         200000.00
    L 700013 14/03/2008 HSP01 TRFR 0100082351 NM              100.00            100.00
    L 700013 14/03/2008 HSP01 TRFR 1900106433 NM            10000.00          10000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106552 NM            25000.00          25000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106613 NM           120000.00         120000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106617 NM           120000.00         120000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106620 NM           120000.00         120000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106621 NM           120000.00         120000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106622 NM            12000.00          12000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106677 NM            50000.00          50000.00
    L 700013 14/03/2008 HSP01 TRFR 1900106701 NM             1000.00           1000.00
    Z ZOF #                                                                               
    Hope this helps.
    Thanks and Regards,
    Anit
    Edited by: Anit Mangat on Aug 6, 2009 11:41 AM

  • Error in e-commerece The text for the sales document TA RU lacking in langu

    Hi GUYS,
    I am having a e commerce scenario.
    I have done all the settings related to it. When I login with a user in EN language, and try creating a sales order ,I am able to create in e commerce.
    I have created another user with login in russian language.When I try to create a order in front end I am getting the error:
    The text for the sales document TA RU lacking in language.
    Please suggest if I have to maintain any setting specific to RU language in R/3.
    Thanks and regards,
    Nilesh

    Hi
    Please maintain the language for that sales document type using the following path...
    IMG(SPRO) - Sales and Distribution - Sales - Sales Documents - Sales Document Header - Convert Language for each Sales document type - execute and maintain the entries using 'New Entries' tab.
    Thanks,
    Ravi

  • Extending material master for different sales org/plant combination

    hi ,
    1 ) a material can be sold from one plant by many sales organisations. so we map this scenario in enterprise structure by the config step "assign sales org--dist channel--
    plant ". (let's say sales org A and B  selling from plant 1 and also sales org A selling from plant 2)
    when we have defined the above config step, then why we need to have material master extended for different combination of sales org and plant as in stpe 1 ?. we can just create one material master with one plant and sales org combination and based on config as in step one, we can sell material from any sales org from a plant  ?
    2) we can extend  material master for any combination of sales org/plant .....is it also possible to extend material master to different storage locations !
    regds
    pamela
    Edited by: Pamela79 on Feb 15, 2011 11:02 AM

    There are several reasons why you should extend the materails to different sales organizations and plants.
    a. The materials are normally valuated at the plant level. So, you can have different valuations at different plants.
    b. You can have different quantity stored in different plants. How do you know which plant has what quantity.
    c. You can have materail not to be sold from one plant, but you can have the same materail sold from the other, how do you block it? at the plant and materail combination, you can do it.
    d. For different sales organizations, you may want the cost and the price to be posted to different GL accounts. You can control it at sales org level of the materail.
    e. You may just want the material to be purchased but not sold, then you may not even create a sales org view for the material. But say, in future you will like to only purchase a materail from a plant and consume it for some other purpose but not sales (which u did previously), then you can block it at sales org and dbr level.
    So, these are a few reasons. But there could be many. You can have a look at the fields in the material master at sales org level and plant level and you can find it for yourself howmany parameters are there to control...
    Hope this helps...
    Regards,
    Mukund S

  • Billing block for a sales document

    hi
    how can we assign automatic billing block for a particular sales document.
    Thank you

    Hi srinivas
    go to  VOV8 ,  and assign to that particular sales document type., in the billing tab automatically it will affect in the sales order for that sales documents. but if you  want to go only for a particular sales document you have to either enter manually and save it
    bcoz if you assign to a particular sales doc  type , it will block all sales documents created with that sales doc  type and it will affect the other modules also.
    if the billing block has to be triggered automatically , in your sales order without affecting your sales doc type then you need to use USER EXITS
    reward if useful
    Regards
    Srinath

  • User-Exit for changing Sales Document Number - Urgent

    Hi Experts ,
                     Please suggest me the <b>User Exit for changing Sales Document Number.</b>
    thanks,
    Jayesh<b></b>

    hi jayesh,
    chech this exit-----EXIT_SAPFV45S_002.
    this exit's description says " Change Sales Document Using Configuration".
    Other available exits are
    SDAPO001            Activating Sourcing Subitem Quantity Propagation
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    Enter these exits name in SMOD transaction and select components. u can find all the user exits available for this exit name.
    Reward me if useful..........
    Harimanjesh AN

  • Different number range for different  sales area but same order type

    i have 2 different sales area but i have assigned same sales order type for 2 different sales area,
    but i need the number range different for different sales area for that same sales doc type,
    is that there is any user exists for number range? if so how can i find the user exists

    Hi,
    You can surely have a different number range per Sales Area. For this you will have to make use of a User Exit (which would surpass the standard SAP functionality). Try USEREXIT_NUMBER_RANGE.
    Maintain the desired range in VN01 with the respective Range Keys.
    Make a custom table comprising of Sales Area and Number Range keys (same keys which you maintained in VN01).
    Now everytime, the system will check which sales area is used and accordingly, it will fetch the Number Range Key~Sales Area combination from the custom table, and will pick up the number range from VN01.
    Coding should done by a good technical guy to make this work nicely.
    Hope this helps you.
    Regards,
    Vivek

  • Common Features for all SAles Documents

    Hi gurus,
                I like to share a piece of information regarding the common features for all Sales Documents;
    They are
    !) The incompletion Log
    2) Fast Change Option..
    Any new views can be discussed for the above.
    Regards,
    Sarosh

    Hi refer the link it may help u out
    http://72.14.235.104/search?q=cache:p6G8tXimQ2UJ:homepages.wmich.edu/~s4senapt/bus%2520project%25204.htmSAPSDcommonfeaturesforallSalesDocuments&hl=en&ct=clnk&cd=16
    Message was edited by:
            SHESAGIRI GEDILA

  • Different billing document for Same Sales document

    Hi guru's
    I have scenario like this
    Sales document is ZZOR for all countries but billing document will be different from country to country
    Could you please light on this
    Thanks and Regards
    Srinivas Kapuganti

    Hi,
    Now, as your requirement goes I can suggest you something on this as below:
    Presuming you are doing delivery related billing as of now, then you need to maintain copy control between your delivery type to different billing types. Then while doing VF01 you need to manually select the billing type depending upon your country. Same thing will be applicable for order related billing as well.
    Hrishi

  • Two different Incompletion log in item level for one sales document type

    Hi All,
    we are using one sales document type for 5 different sales org, now we are implemented new sales org.
    pervious all 5 sales org we have setup incompletion log at item level 5 fileds.now for new sales org we need to setup out 5 fields we need to setup 3 field.
    how to maintain same sales document type 2 different incompletion log.
    i have checked in forum i found out below link.but is not matching for my requirement.
    http://forums.sdn.sap.com/thread.jspa?threadID=1433420
    Thanks,
    Kumar

    Hi ,
    Thanks for your responds.
    i will check with my ABAP  person if any thing is required i will come back to you.
    Thanks,
    kumar

  • Different sales document for cash sale & credit sale

    Dear SAP GURUS,
    I have range of finish goods. I am selling that on cash and also on credit. I want different sales order type for the cash sale & for credit sale even though the FG is same and the customer is also same.
    How can I resolve this issue.
    Thanks
    CHEERS

    Hi Nitin
    you have  standard SAP-docs for this  kind of  process  , for cash sales - doc  type -CS,  for credit sales you can use the  same standard : OR -doc type   , nothing need to be configured here
    note- you can create  your own set of doc by copying the standard docs but it  need alot of configuration  ,so now you understand  it
    regards
    venkat
    Edited by: K.Venkata Chalapathi on Feb 24, 2010 7:24 AM

  • Multiple Partner Functions for a Sales document Item

    Hi,
    Can you please advise on modeling scenario for showing multiple partner functions for a given sales document in BI Report ..
    Because Key figure values should not be distributed for multiple records just becos of multiple partner functions but users want to see them in the reports along with sales doc and key figure
    I am explaining bit more clearly...
    I can achieve above requirement by having below model ..
    SDOC     ITEM  PF1  PF2  PF3  AMOUNT
    1000       10      AB    CD   EF    50000
    PF : Partner Function
    but as I feel it is a complicated task  to add more and more columns fro partner functions as and when new partner functions have been added or requested to show by users at sales doc level...
    So Can you please advise a better solution to meet the same requirement.
    Thanks & Regards,
    BRK
    Please advise me on this scenario
    Thanks & Regards,
    BRK
    Edited by: BRK on Jul 22, 2008 9:19 AM
    Edited by: BRK on Jul 22, 2008 9:29 AM

    SalesDoc______Item_______PartnerFunction________Amount
    80000_________10_____________A1_______________$1000
    80000_________10_____________A2_______________$1000
    80000_________10_____________A3_______________$1000
    This will be the normal display in the cube if there is only one Partner Function.
    But what we need is
    SalesDoc______Item_______PartnerFunction________Amount
    80000_________10_____________A1_______________$1000
    80000_________10_____________A2_________________' '
    80000_________10_____________A3_________________' '
    The Amount (KF) should be populated only for the first record for a SalesDoc / Item combo.
    You load data from source to the ODS, say delta.
    Suppose that the below record is already available in the ODS.
    SalesDoc______Item_______PartnerFunction________Amount
    80000_________10_____________A1_______________$1000
    And you get the following data as DELTA in the Data_Package from the source.
    SalesDoc______Item_______PartnerFunction________Amount
    80000_________10_____________A2_______________$1000
    80000_________10_____________A3_______________$1000
    If you populate the Amount again for these 2 records, then the total would sum to $3000, which is wrong.
    So what we do is,
    Write a Select stmt for ALL ENTRIES in Data_Package and fetch the records from the target ODS. Have it in an Internal table, say t_ODS1
    Take the SalesDoc / Item from the Data_Package and chk if it is present in the internal table t_ODS1.
    If it is present, then populate the Amount as ' ' (Blank)
    Else populate the Amount as $1000.
    Say, you are getting 3 new records, which is not present in the ODS1.
    In that case, your internal table t_ODS1 will be blank.
    Now again, we need to populate the Amount only for the first record among the 3 records.
    So, here comes the "Flag".
    Set the Flag as X, when we populate the Amount.
    Everytime chk the Flag <> X.
    Only if it is <> X, populate the Amount.
    Else Leave it Balnk.
    Hope I have explained in detail
    Regards,
    Balaji V

  • No authorization for a sales document

    Hello,
    We are facing a strange issue. We have some sales orders. When user is trying to Access VA02 and modify a contract, We are getting an error as "No authorization to change this sales document". We could change some sales orders. We have observed two things here,
    A) if a sales order has items in it,--> "No authorization to changes this sales document"
    B) if a sales orders has no items in it --> "No problem with the authorization, we can modify the order".
    Document type used for this sales order is ZC02. We have given ZC02 in role and 01,02,03,43,C1 and C2 activities in the roles along with proper Org values. still we are not able to open the sales order with change mode.
    Could you please  help me resolve this issue??

    That is a custom authorization object and not a standard SAP one, right? My guess, in that case, is that the code that implements that auth object, presumably in a user exit or BAdI in VA02, is incorrect. That must be your code - time to speak to the person that wrote it?
    Steve.

Maybe you are looking for

  • How do I use CreateBookmarksFromGroupTree and NOT get a "temp_" for my top level?

    I have a report that I have created that uses uses groups and I wanted export a PDF using the CreateBookmarksFromGroupTree option. While that works, I get an ugly top level bookmark name that starts with "temp_" then followed by two GUIDs "temp_13fef

  • 6500A ios7 AirPrint

    Hello, I have an OfficeJet 6500A (E710N-z) which the HP support site says should be compatible and able to print via AirPrint. however, as of a week or so back, the printer no longer shows up as available. We have several IOS7 devices, and we are no

  • In Outbound Delivery, PGI to be allowed only to the Current Date(System dt)

    Dear Friends, Kindly provide me the options to check that the PGI to be done only for the Current date ( System Date ) in Outbound Delivery. Thanks & Regards T.Arulvanan

  • Software update check on apple website

    is there a way i check in apple website for software update or release available  rather than doing software update everytime to check on for any update

  • 4s phone app is freezing?

    I am having a issue when I open phone app of my iPhone 4s it is extremely slow and or freezing?  Want to know if anyone knows of a fix for this.  All other apps and features of the phone are working fine and hoping to get phone to last till next mode