To populate Segment data to Order item level in additional tab B

Hi Experts,
I am working on Inbound interface using IDoc (ORDERS05); during Idoc process IDOC_ORDERS_INPUT; i have to take segment value and need to populate at order items level; in custom field  (in additional tab B).
For that i am using FM (Customer exits) :
  Step 1-  EXIT_SAPLVEDA_001 (Getting segment value and passing to XVBAP-Zfield).
  Step 2- EXIT_SAPLVEDA_002 (Passing Value to respective screen using BDCDATA table).
Due to unable to find where i have to set flag and how ?;                                                                                To avoid multiple record to append ; BDCDATA Table with same screen.
As mention in this link for Header level additional tab B : http://www.sapfans.com/forums/viewtopic.php?f=21&t=62945#p1025880.
They are using my_flag to avoid ,issue as i mention in above step.
Step 3 - At last they are deleting my_flag in FM : EXIT_SAPLVEDA_003. (find in above link)
Thanks in Advance
Regards
Vinay

you need to use a flag of type vbap-posnr .
and your check statement will become
check my_flag NE XVBAP-POSNR. (or the ZZXVBAP-POSNR).
and setting the flag
my_flag = XVBAP-POSNR.
so for same posnr it wont repeat the append.. hope this can help

Similar Messages

  • Adding new field in ME21N items level NO ADDITIONAL TAB or SUBSCREEN

    Hello Gurus!!
    I have a requirement where I am just trying to add a new field ZZ*** at Item level in ME21N (and no new tabs please)
    I got the modification key and now wat i see is that in screen 1211 SAP has some field mappings with metadata.
    Refer to Include LMEMFSF0T.
    Can you please help me how sud i proceed or  wat can be an alternate way out to solve.
    regards,
    Prasenjit Singh Bist

    Hi,
         Another way of doing the same is to use screen-exits for the transaction. You can use the standard enhancement MM06E005 in SMOD for the Purchasing related custom fields. You can add the fields in the screens 0101, 0111 of program SAPLXM06 to get the fields in the tab 'Customer Data' at header level and item level for ME* transactions.
    EXIT_SAPMM06E_006 
    EXIT_SAPMM06E_007 
    EXIT_SAPMM06E_008 
                        are the function modules where u need to do the coding.
    and the fields u have added need to be included in the  includes
    CI_EKKODB
    CI_EKPODB
    of EKKO and EKPO for header level and item level respectively.
    Regards,
    Vishnu Priya
    Message was edited by:
            Vishnu priya
    Message was edited by:
            Vishnu priya

  • FM for Updating Installation date in Contracts + sales orders Item level

    Hi
    Plesae give any FM for Updating Installation date in Contracts + sales orders Item level for contracts tab.
    Thanks and Regards,
    Vishnuvardhan....

    Have used the billing transaction to set a Default Billing date at time of blling.

  • Sales Order Item level Configuration data

    I need sales order item level configuration data. I use following function modules to get, But my issue some of configuration DON"T have value only description available. I needs configuration with values or without values ( menas all)
    But function modules not giving complete results.
    CE_I_GET_CONFIGURATION
    VC_I_GET_CONFIGURATION_IBASE
    VC_I_GET_CONFIGURATION
    CUD0_GET_VAL_FROM_INSTANCE
    Any info ?

    Tried could not find why the function moudle not considering entries don't have values
    But in sales order config  screen if i press page (list) its showing values that don't have values

  • WBS element for Sales Order Item level

    Hi gurus,
    I am trying to create an inbound idoc for sales order ' VA01'. I need to populate WBS element in the item level under Account Assignment Tab. I am using ORDERS05 basic type. Please help to find which segment to use for WBS element. Waiting for your reply. Please help.
    Regards,
    Satyajit
    Edited by: Satyajit Saha on Feb 22, 2008 1:24 AM

    Hi gurus,
    I am trying to create an inbound idoc for sales order ' VA01'. I need to populate WBS element in the item level under Account Assignment Tab. I am using ORDERS05 basic type. Please help to find which segment to use for WBS element. Waiting for your reply. Please help.
    Regards,
    Satyajit
    Edited by: Satyajit Saha on Feb 22, 2008 1:24 AM

  • Mandatory partner function at sales order item level

    Hi all,
    I'm customizing partner schema at item level for sales order. I have created a custom partner function, I put it in a new sales order item partner procedure and i set this partner function as mandatory (I want that system show me a message if this function is missing at item level in sales order). This partner function is defined only at sales order item level (not at header level or customer master).
    If i create and save a sales order with an item type that use the item partner procedure I have created, system don't show me any message for the item custom partner function missing, else if it is set as mandatory in sales order item partner procedure.
    I have read some posts in these forums about this functionality, but it seems a different situation.
    Someone had a similar type of problem?
    Thank you in advance for any possible suggestion.
    Regards
    Gianpaolo

    Hi,
    First you have to create a new partner function.
    Then assign that partner function to the account group.
    Then assign that partner function to partner determination procedure for the item category.
    Over here click on the mandatory button also.
    Then assign that partner determination procedure to item category.
    Then to XD02 and give your customer number and in the partner tab maintain the data for that partner function.
    Now go to VA01 and create your sales order you will see you partner function.
    If you wont have maintained it in the customer master then it will prompt an error.
    Regards
    Raj.

  • Incompletion procedure -Sales order Item level.

    Hi
    I want to add the field "MATERIAL SALES TEXT" in Incompletion procedure -Sales order Item level.
    The Table that i need to enter in procedure is VBAP.
    But what should be the "Field Name" and  Screen for creating missing data?
    Plz Help....
    Regards
    Subhasish

    Field ARKTX refers to 'Description' of material in sales order and not to 'material item text'.
    'Material sales text' flows into sales order from the text you maintained in customer master record or Material master record.
    Of course, you could also maintain sales text at sales order stage also.
    Incompletion process inspects specific fields in order to see if data has been maintained in these fields. Should data not be maintained in these specified fields, the system is told how to respond, that is, whether or not to give a warning message and to what extent does it allow further processing of the document.
    Material sales text is not a field.
    So, you cannot add material sales text at incompletion procedure.
    Please reward points for good answers as this would help increase the total donation that SAP will make to the United Nations World Food Programme.

  • "Payment Terms(VBKD-ZTERM)"  Modification at Order item Level

    Hi,
    I want to modify Payment terms(VBKD-ZTERM) at Order Item Level when user hit "SAVE" button while creating(VA01) OR changing(VA02) the Order.
    I am using User Exit "MOVE_FIELD_TO_VBKD" for the same.
    Has anybody worked on the same requirement before.
    can anybody help me out in this regard.
    thanks in advance.
    Nitin

    Hi Anji Reddy,
    I had similar problem and i coded like below but it is not working ...so can u provide any sample code related to this or please correct me in the below code ..where exactly i am doing mistake...
    The requirements is as like below and please guide me where i am doing mistake in below coiding.
    If sales order required delivery date (VBAK-VDATU) is LT Document create date7days(SY-DATUM7) and next condition is
    item required delivery date (VBEP-EDATU) is LT the Document create date 7days(SY-DATUM7)
    then we need to move '0001' TO VBKD-ZTERM(Payment terms)
    ELSE move the payments terms as in the customer master (kurgv-zterm).
    now i am getting the error as :
    Header business data does not apply ti item 000020.
    Please find the code below and guide me where i am doing mistake.
    Ihad coded in program : MV45AFZZ ---> FORM USEREXIT_MOVE_FIELD_TO_VBKD.
    DATA: chk_date  TYPE vbep-edatu.
        CLEAR chk_date.
        chk_date = sy-datum + 7.
        CHECK : NOT vbak-vdatu IS INITIAL.
        IF vbak-vdatu < chk_date.
           CHECK : NOT vbap-posnr IS INITIAL.
           CHECK : NOT vbep-edatu IS INITIAL.
           IF vbep-edatu < chk_date.
              vbkd-zterm = '0001'.
           ELSE.
              vbkd-zterm = kurgv-zterm.
           ENDIF.
        ENDIF.
    Thanks in advance
    Srinivas
    Edited by: Srinivas on Aug 21, 2008 12:57 AM

  • Purchase order at item level in Invoice Tab 'GR-Bsd IV' want default

    Dear Friends
    While making Purchase order at item level in Invoice Tab 'GR-Bsd IV' should be came by default . what is its configuration setting.
    Regards,
    Mahes

    Hi Mahesh  try ME21N t-code

  • No organizational data exists on item level (error message)

    Hello everybody,
    I still have this error message when try to create a shopping cart : 'No organizational data exists on item level'
    Following a lengthy discussion with SAP Support, SAP recommended that I remove the reference of the Purchasing Organization and Purchasing Group to the backend system (R/3).
    After removing the reference I was able to complete the SC creation process, but I got an error at the PO creation process, where I am unable to release the PO since it is not linked to a backend (R/3) Purchasing Organization/Group.
    I am currently using SRM 4.0 with EBP 5.0 in Extended Classic Scenario.
    I need an Urgent help on this issue !!
    Thanks,
    Lina

    Hi,
    If You have own PO document type (ZCS) then don't hange it.
    in SYS attrib add a local EBP system
    If you don't use local categories, You don't need to add product cat. * for local system.
    in my ppoma_bbp company have two purch orgs.
    -for local (fields with purch org and system id is empty)
    -for backend (fields with purch org is filled from backend system.)
    Example:
    Company (function with company code PW01\R3100)
    - Purch org local (function purch. org. checked but not filled)
    - Purch group local (function purch. group checked bud not filled)
    - Purch org backend (function purch. org. checked with values PZ1\R3100)
    - Purch group backend (function purch. group checked with values PZZ\R3100)
    Regards,
    Marcin Gajewski

  • Sale Order Item Level Text Field which table and field

    Hi,
    Thanks for your prompt reply and best solution.
    Can you please tell me one more thing, in sale order at item level the TEXT Field maintaining by user at transaction level now they want that field in one of the report, so can you please tell what is the table and field where i will get this sale order item level text details.

    Hello,
    is this going to work for item level text as well.
    can you tell how to proceed with this functional module
    or is there any other thing required.Please elaborate to
    understand better way.
    You can check out two table in respect to Sales TEXT i.e. STXH (STXD SAPscript text file header) and STXL(SAPscript text file lines).
    The best approach of tracing out the Text in respect to Sales Order would be to use the Function module READ_TEXT and put this FM in SE37 and execute with the following parameter.
    Client
    Text ID of text to be read
    Language of text to be read
    Name of text to be read
    Object of text to be read
    Archive handle
    Text catalog local
    When you are essentially looking to read item level Text with respect to Sales Order then your Text OBject would be VBBP.
    Regards,
    Sarthak

  • Amount showing zero in Sales Order item level

    Hi experts,
    I have a sales order where the amount column in sales line items is zero.
    Only for one particular material I am getting this problem.Else usually the Amount gets copied to the Net value too.
    The validity period in VK13 is correct with amount value entered with Calculation TYpe as C per qty.
    Could you please tell me what could be the reason and how to fix it?
    I could only see 1 similar posting but without final answer to it.
    Regards,
    Pri

    Hi,
    Check the Key combination you have selected for VK11..?
    & also in the Sales order go to the item level & in condition Tab ..click the Analysis tab..Check whats the message the for each condition type.
    Regards,
    Amit Khedkar

  • Update Purchase order number in Sales order item level from inbound ORDCHG iDoc

    Hi Gurus,
    I want to update purchase order number from the iDoc 'ORDCHG' to sales order item level (sold to party purchase order number) i.e, VBAK-BSTKD.
    Which exit I need to use?  where to update?  Can you please help.
    Thank you in advance.
    Regards,
    San

    Finally Resolved the problem by writing 2 exits.
    one exit 'EXIT_SAPLVEDB_007'  for identify correct item in the sales order by updating the customer purchase order item number i.e., VBAP-POSEX.  if we update the POSEX field then it wont create new item instead, it will update the item which it is referring to .
    2nd exit for updating the purchase order number. 
    I have tried to pass the program name, screen number, field name, field value etc to bdcdata in the exit 'EXIT_SAPLVEDB_002'. but I observed that it is not going to that screen in the debugging.
    when I try E1EDP02 with QUALF '044' it will update ship-to party's purchase order number.  so to update ship-to party's purchase order number it is going to that screen. 
    so I have used that thing to update purchase order number in sold-to party's purchase order number.
    so when it is going that screen iam changing the field name 'VBKD-BSTKD_E' to 'VBKD-BSTKD' in bdcdata.  Then it is worked.
    This is the solution I found in my time.
    Any way it is solved.  Hope it will be helpful for others who will get this problem.

  • Sales order costing - tracking of actual costs at sales order item level

    Hi
    We are going with sales order costing for services
    Service material is non-valuated hence the scenario is non-valuated sales order stock
    PP module is not implemented.
    I am having following questions
    1. How to track the actual costs at sales order item level? Is Internal order/CO production order is required to be created for the same?
    2. Can I do activity confirmations directly from cost center to sales order item.
    3. Can Raw material is issued directly against sales order item.
    4. Is Sales order is a real or statistical account assignment object?

    dear friend,
    please look here:
    http://help.sap.com/saphelp_47x200/helpdata/EN/42/d7248ab27111d19e9a080009b0db33/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/EN/90/ba6cfb446711d189420000e829fbbd/frameset.htm
    reagrds,

  • How to change material discription at sales order item level ?

    Dear Gurus,
            We have some requirement need to change material description at sales order item level , but in system it is in disable mode how to change that  into change mode in sales order item level?
    Thanks in advance
    Regards
    Venkat

    Not possible in SAP Standard.
    Instead why not create a Customer Material Info Record in T-Code - VD51?
    Alternatively it the requirement to change the Description is only for few Sales Order then create a Text ID & Enter the Description in Text Feild. Then in Smartform program wrie a code which will check for Material Description in the Text first & if not found then take from normal material Description in Sales Order.
    But Customer Material info Record seems to be the best solution.
    Hope this helps,
    Thanks,
    Jignesh Mehta

Maybe you are looking for

  • [SOLVED] Can't make Akonadi server / Nepomuk service run

    I'm currently running KDE SC 4.9 on Arch Linux x86_64, system fully up to date. My laptop's HD went dead some days ago so I had to restore my system from a 2-weeks old backup; I usually use fsarchiver to backup root partition and 7z to compress ~/.kd

  • File Content Conversion - Creating Mulitple structured Flat Files

    Hello,        I am trying to create a flat file using File content Conversion.For simple XML strcutures like <Header> </Header>    <Item>    </Item> <Trailer> </Trailer> the file content conversion works fine. But whe the XML structure gets complicat

  • Magic mouse freezes

    magic mouse freezes and freezes apps and the whole computer. another keyboard and mouse work fine. yes, I changed to new batteries on both. is it mechanical or a softwear problem? I have a newish imac and 10.7.3

  • Palm Centro Sync

    Three hours later, I'm turning to you.  Centro on Windows XP.  "Synchronized datebook gets to 2 of 12" and then freezes.  Have downloaded and the sync will connect and complete,  but Not update.  Then after making a change the second sync will freeze

  • ITunes "Problem" msg&closes WHAT TO DO???

    Hello invisible Helpers! I open iTunes, and it immediately says "iTunes has encountered a Problem and needs to close" I'm using version 4.7.1.30 - Was told by friend to download another copy of iTunes and then it will transfer all files onto new vers