Help needed in Message Control - very urgent

Hi Experts,
I have one requirement where in the customer wants to stop creation of IDOC which posts Invoice using message control and message control status should be changed to RED color and also the message should be populated in the processing log saying 'IDOC processing failed, External customer numbers not maintained'.
Could you please let me know any user exits or customer exits available for this purpose.
I have searched all the possibilities.
I have chanked the program RSNAST00 which picks up the data from table NAST and looks into table TNAPR to get the processing porgram for th selected output and also this program checks the partner profile and gets the process code which creates an inoice IDOC. I searched for user exits and customer exits to popolate the required messages and stop IDOC creation.
I am an ABAPER and i know i need to write code to do validation, but could not find the exact place where to write? I any ABAPERS looking at this post, please reply me.
Can anyone please advise me how to go about solving this issue?
Thanks
Srinath

Hi,
   I am sending the requirement.
  Please send me the solution.
Requirements:
1.     EDI Invoice requires populating bottle UPC number not case UPC in IDOC and also populates customer PO number when invoice billing type is a credit.  These changes need to be reflected on EDI invoice (Idoc INVOIC02).
Investigation:
Requirement 1. EDI invoices are populating segment E1EDP19 qualifier 003 based on the unit of measure in the line item.  If shipment unit is CSE then it populates CSE upc, if shipment unit is EA then it populates Bottle UPC. 
a.     It was found that the UPC populated on the EDI invoice was being read from material master – Additional data tab.  (Field SMEINH-EAN11).  For the EDI invoice, the customers expect the bottle UPC on this column.
Requirement 2.  Need to always populate Segment E1EDK02 Qualifier 001 (customer PO) on the INVOIC02 idoc.  Standard SAP populates this information only when the billing type is F2 (regular invoice) and if the customer PO was entered in the Sales Order.
                            a) Premier requires this information to be populated in the idoc if the billing type is G2, RE, L2 also.
Solution:
Requirement 1.
       IDOC_OUTPUT_INVOIC function module needs to be changed to always populate the UPC number for the bottle UPC in segment E1EDP19 qualifier 003, field IDTNR.  This number is found on the material master – Basic data 1 view.  Field name is MARA-EAN11.   Please see screenshot of where in the material master to find the bottle UPC. 
     a. This change applies to all billing types (F2, G2, L2, RE etc).
       Requirement 2.
             Change IDOC_OUTPUT_INVOIC function module to always populate customer PO information in Segment E1EDK02 qualifier 001, field BELNR.
If billing type is equal to G2, L2, RE and VBRK-XBLNR not equal blanks then make BELNR = VBRK-XBLNR.
Segment:  E1EDK02
                              Field:  QUAL = 001
                              Field:  BELNR = VBRK-XBLNR
Please help me how to move a step ahead.
Waiting for your immediate response.
Thanks,
Chandra.

Similar Messages

  • Help needed in Extending HeaderVO -VERY URGENT!!

    Hello,
    I need a urgent help.
    Actually I am trying to modify the exisiting Print Quote Document which is actually getting called from a template cald ASOPRINTQUOTE.xsl
    This particular xsl uses HeaderVO, LinesVO and PromptVO and hence I had to modify these xml and in turn the .java files.
    I customized it by adding the new columns thru JDeveloper and extending the VO's and substituting them
    In the process while extending the respective VO's comes a step wherein I need to specify(Thru JDeveloper) Application Short Name and Responsibility Key.
    Now the issue is this particular Quote dicument can be accessed from 2 different respons. called
    Oracle HTML Order Quoting Sales Agent(Its a OA framework with application top as QOT)
    & Quoting Sales Agent.(Its form based with Application top as ASO)
    I chose ASO as the top as all my .class files and .xml files are present in
    oracle/apps/aso/print/server
    Now then after extending the VO's and importing it etc . when I log in thru the reponsibilty
    Oracle HTML Order Quoting Sales Agent , it gets me a error of stmt exception.
    wheras
    it runs via the respon Quoting Sales Agent and reproduces a PDF output without any data??
    There are few questions I am looking out for an answer desperately.
    1) My HeaderVO, LinesVO and PromptVO are extended, so do i need to extend the links present in that in my new extended VO' s as well.
    2) My xsl stylesheet has a statement as
    select values of:....../HeaderVO/HeaderRow/....etc etc
    do i need to replace the above line to my new extended VO i.e
    select values of:....../CustHeaderVO/HeaderRow/...etc etc
    Kindly reply to me asap as I am in a development scenario..
    Do let me kow if u need more clarity on this?
    Regards,
    Ajit

    Oracle quoting is not in OAF, only the print functionality uses these VOs as data source , and are used in the xsl, for XML publisher to generate the quote print .
    1) My HeaderVO, LinesVO and PromptVO are extended, so do i need to extend the links present in that in my new extended VO' s as well.
    Please explain this , what do you mean by extending links ?2) My xsl stylesheet has a statement as
    select values of:....../HeaderVO/HeaderRow/....etc etc
    do i need to replace the above line to my new extended VO i.e
    select values of:....../CustHeaderVO/HeaderRow/...etc etc
    YesThanks
    Tapash

  • A little help needed in message mapping

    a little help needed in message mapping
    I have to map one of the idoc header segments as many times as it occurs to each Idoc when using the split message funcionality
    let us say we have the segment seg1 and there is a QUALF in it
    <seg1>
    <qualf>001</qualf>
    </seg1>
    <seg1>
    <qualf>002</qualf>
    </seg1>
    then we use the vbeln to split the idoc into 2.
    so if we have
    <vbeln> 1 </vbeln>
    and
    <vbeln>2 </vbeln>
    then 2 Idocs should be created like this
    <Idoc>
    <vbeln> 1 </vbeln>
    <seg1>
    <qualf>001</qualf>
    </seg1>
    <seg1>
    <qualf>002</qualf>
    </seg1>
    </Idoc>
    <Idoc>
    <vbeln> 2 </vbeln>
    <seg1>
    <qualf>001</qualf>
    </seg1>
    <seg1>
    <qualf>002</qualf>
    </seg1>
    </Idoc>
    it is easy to create the segment by using createif with the QUALF field but my problem how to map the qualf twice for each idoc
    Thanks.

    UseOneAsMany is the function you need to use.
    It takes three parameters:
    1 --- The node you want to duplicated
    2 --- How many times you want to duplicated
    3 --- The context you want to place for it.
    Regards
    Liang

  • Need help, MMC tree got deleted, very urgent.

    Hi,
    My sap MMC tree, got deleted in the server. I have been trying to restore since 2 days and couldnt succeed, please help me.
    1) i have uncared the sapmmc.sar from   Kernal\NT\I386\MMC\sapmmc.sar file
    2) i got about 7 files, in which there is one sapmmc file i have tried to double click it, n check but no go.
    3) i also tried to run the Sapstartsrv.exe file and fill in up the values in pop up window. & filled up the following values :-
                        SID: DEV
                        NR: 00
                        StartProfile:  (entire start profile path given)
                        user: devadm
                        passwd; (given)
    - but it says "the account name is invalid or does not exist or the password is invalid for account name specified"/
    - no go in both the cases.
    Please need help very urgent.
    Regards,
    Satish.

    siva,
    I am getting same error since 2 days
    SID: DEV
    NR: 00
    Start Profile: (entire start profile path)
    User: <hostname>/devadm
    passwd: ****
    Error:
    cannot install service
    create service failed:421
    The account name is invalid or doesnot exist, or the passwd is invalid for the account name specified.
    Edited by: satish c on Jun 4, 2008 11:12 AM

  • Help Needed in using the FM-URGENT

    Hi ALL,
    Can anybody throw some light on how the following FM's are used , a sample program if any .
    RKE_CREATE_CO_ITEM_PLANNING
    RKE_POST_CO_ITEM_PLANNING.
    Actually I could not come to any conclusion on using one of them for posting my Planning data across my Control area to a specific Cost center.
    If there is any other better way to achive this other than posting directly to transactions through BDC, Please let me know.
    Boss its very Urgent. Please help me.
    Regards
    Sunil Kumar P

    I have never ran the DocCheck from the command prompt, so I really don't know how to do it, but I do run it succesfully using ant (build tool from apache - jakarta, if you use tomcat you already have it installed).
    So.. if you do use ant.. this will help:
    <target name="doccheck" depends="prepare">
         <javadoc
              packagenames="${packages}"
                    destdir="${doccheck.home}"
              doclet="com.sun.tools.doclets.doccheck.DocCheck"
              docletpath="${doccheck.path}" >
              <classpath refid="project.classpath"/>
              <sourcepath refid="project.classpath"/>
         </javadoc>
    </target>If you don't use it.. I guess I was of no help, sorry.
    Ylan

  • Regarding error message.. very urgent

    HI guys,
    I am using an information message if any error..
    IF sy-subrc <> 0.
        MESSAGE i002 WITH iv_path.
    ELSE.
    iv_path contains the file path.. '//pmiasfvdev.aap.com/pmiasfvdev/sign_apo/SCIPIO/outbound/fplp1234.csv'
    and message no002 = "The file '&' you are trying to write is open. Please close the file!!."
    but when the error occured I am getting the information error as
    <b>The file ''//pmiasfvdev.aap.com/pmiasfvdev/sign_apo/
               SCIP' you are trying to write is open. Please close the file!!."</b>
    But I need to get the full path in the information message..
    <b>The file ''//pmiasfvdev.aap.com/pmiasfvdev/sign_apo/SCIPIO/outbound/fplp1234.csv'
              you are trying to write is open. Please close the file!!."</b>
    How can I do that,,its very urgent
    Points will be rewarded..
    thanks in advance!!
    regards,
    nazeer

    Hi Nazeer ,
    It is quite simple.Your problem is with the message qualifier .
    Try this.
    IF sy-subrc <> 0.
    MESSAGE i002 WITH iv_path1 iv_path2
    ELSE.
    in the above statements no change.
    change the message in 002 as
    002 = "The file '&&' you are trying to write is open. Please close the file!!."
    --Split your messages(iv_path) into 40char each as iv_path1 and iv_path2..
    could be enough in your case but to satisfy all cases
    002 = "The file '&&&&' you are trying to write is open. Please close the file!!."
    Regards,
    Raghav

  • Error message display - very urgent

    Hi Workflow Experts,
    I have one req with Error message dispaly.
    requirment with when ever User accessed work items in business workplace in R/3 System then Error Message should display.
    when ever work items for portal access then user can access.
    for the above requirment what i need to do?
    Please respond to this ... very urgent

    Well as it has been more than 2 hours since you asked your question I don't think it will do you any good if I give an answer now as your question is very urgent.
    But I will give an hint: authorizations.
    Regards,
    Martin

  • Help needed to write control file.

    Hi Guys,
    i need to write one control file to upload data from .txt file to oracle table.
    .txt file data contains like this
    2006041110:40:22
    2006041111:30:42
    2006041210:40:22
    i need to upload this data into date column in oracle table.
    please help me to write control file for this requirement.
    Thanks for your help and time

        data1        "to_date(:data1, 'YYYYMMDDHH24:MI:SS')"

  • Help with text messages and calls--urgent and annoying :-/

    Hello: I have an 8350i on the Sprint/Nextel network. Latest issues include what seems to be a dump of my text messages--yesterday received a batch at 5:38pm that had been sent at 9:49am, 10am, 11:27am, noon, 2pm, 2:15pm and then another batch last night at 9:08pm that had been sent at 7:31pm, 8:47pm, and again this morning a batch that arrived at just before 7am that had been sent about 2 hours before. And it's not all the time, or just certain messages. Very frustrating.
    Second issue is that I discoverd that neither my husband or I am able to call my office landline. Colleagues seem to have no trouble.
    Any thoughts out there? Thanks!

    Text message delays are a carrier issue, I would contact sprint and see if there was maintenance in the area or other outages.  Quick fix, you can try to pull the battery out while the device is still on and time it for 2 minutes.  This refreshes your connection and it may work properly after that.  Also, calling other numbers is a carrier issue also.

  • Help Needed Regarding Messaging URGENT

    hello everyone, i am new to this discussion ...can any one help me? i want a nokia handset with the message memory of 20 thousand sms.... because i recieve lots of messages and i dont want to delete them.. kindly help me out...
    thanks
    regards
    UNIMAN

    Keeping so many messages is going to cause a phone to be very slow and potentially unstable whilst using the messaging app.
    The only nokia's that have a chance of doing it are recent smartphones like the N82, N95, N78, N79, N85, N96, E51, E63, E66, E71 & E90. You will need to set the phone to store the messages on a memory card, not the phone memory.
    The only limitation I can see is that you are limited to 999 for the number of sent messages that you can keep. Received is unlimited if you have a lot of free space from what i've seen.
    The most sensible option would be to transfer your messages to a PC for permanent storage & archiving.

  • Need help to filter invalid chars very urgent

    Hi,
    In data load some records are invald chars,its not filtering,those chars are special symbol here are the hex values for that invalid char
    0012
    0016
    0005
    0013
    so all these values are below 20,we can't copy and paste.
    if any one knows abt sap constant values for these hex values please provide me ASAP,its very urgent

    Goto transaction code RSKC...Enter value <b>ALL_CAPITAL</b>
    Take a look at these threads...
    /message/2876063#2876063 [original link is broken]
    Value '# ' (hex. '23 ') of characteristic 0CUST_GRP1 Contains invalid Char

  • Need HELP to burn 35 DVDs very URGENT !!!

    I have created a 16/9 screen DVD, size 451 Mo.
    Problem 1:
    When I register it as Disk image, I cannot open it on my HD to preview before burn it. When I click on the icon, it says "specify application", so I put iDVD, but it doesn't open. So I burn my project directly from iDVD. It takes time. I need to burn 35!!! Is there is possibility to fixe it, or I have to encoder every time I have to burn the same DVD?
    Problem 2:
    When I burn my project to DVD-R x16 Verbatim, using "Optimal quality" or "Optimal performances", my quality image is suffering. Pixels are becoming too big (like 1mmx1mm mosaique), so it is difficult to read text and to see pictures. My original project is perfect. I thought I was DVD quality, because I was using DVD+R x16 verbatim. But it seems to be iDVD problem.
    Thank to all who know anything about and can help. I have to deliver the project by the end of this week.

    Problem 1 Follow these directions:
    Suggest you create a disc image and then burn the DVD. File/Save As Disc Image...
    http://docs.info.apple.com/article.html?artnum=164927
    This will isolate any encoding/burning issues you may encounter. Once the disc image is created, double-click the .img and burn the virtual disc that should appear on your desktop, using Toast to burn the DVD. Disk Utility to burn the .img file. Usually, you can select a burning speed in Disk Utility.
    There are variations to this process based on which OS X you are using...
    Open Disk Utility (in Utilities folder in Applications folder), click on the virtual disc (maybe the .img) in the left-hand window. Click the Burn icon. A new window should drop down and your SuperDrive tray will open after clicking the Burn icon. Insert a recordable DVD. (Verbatim DVD-R preferred by me.) Click the Close button. Wait. Select a burn speed. Then click the Burn button.
    -->If the virtual disk selection won't allow you to click the Burn icon, use the .img file instead. This may have changed in 10.3.9 and did change in Tiger.
    Also, you can use DVD Player to play the virtual disk to check your iDVD project before burning to DVD. Launch DVD Player. File/Open VIDEO_TS (Open DVD Media... in Player 4.6). Find the VIDEO_TS folder and open that. (The audio folder is for DVD-Audio disks.)
    http://docs.info.apple.com/article.html?artnum=93006
    Problem 2 Burn the disk image with Disk Utility and select a speed 4X or slower from the speed pop-up.
    G4 DP 1.25 GHz 2GB RAM 4 Drives 770GB   Mac OS X (10.4.6)   2 SuperDrives (SL 8X & DL 16X)

  • Reg: XI_CMS Transports. I need this forum reply very urgent. Please help me

    Hi! Gurus,
         This is Amar Srinivas Eli.I am workig on Production Support project. Herehave one doubt regarding CMS Servers
    Actually according to my knowledge XI Content aca be transfered from DEV>QA>PROD XI servers using CMS transports right?
    But for this Actually one CMS Server is enogh right? that means here XI DEV Server is X42
                          QA                X44
                          PROD           X46
    For cms server link is [http://sapr3001.geips.ge.com:54200/webdynpro/dispatcher/sap.com/tcSLCMS~WebUI/Cms]
    but client is asking why we a re not able to access this
    http://sapr3001.geips.ge.com_:54400_/webdynpro/dispatcher/sap.com/tcSLCMS~WebUI/Cms  for transporting XI content
    I think he is thinking that like XI portals for CMS also there will be 3 individual cms links are there right?
    But is it wrong or my argument is righ? at which my arguement is only one CMS Sever is enough that means one link is enough right?
    NOTE::
    Please provide exact CMS transport link procedure other that the linnk contaning "How To Transport XI Content Using CMS
    Version 1.00 – October 2005"?
    here in this only one procedure is there I want an exact procedure of how to transfer SLD systems means business and logcal and software components from all DEV>QA>PROD?
    I need entire produre of transfering Business systems?
    Please Kindly guide me in step by step procedure regarding this with Screen shots so that it may be helpful to me.
    Regards::
    Amar Srinivas Eli.

    Hi,
    Only one CMS is required as correctly said by Raj.
    For more information please refer the below links:
    CMS transport method:
    http://help.sap.com/saphelp_nw04/helpdata/en/a8/5e56006c17e748a68bb3843ed5aab8/frameset.htm
    •     CMS for SAP Exchange Infrastructure:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b8d8f7b2-0701-0010-b09a-cda4cca2c98e
    •     How to handle Xi with CMS:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/43f5d790-0201-0010-2984-ff72d822b109
    •     Configuration of CMS in Central NWDI & SLD to transport XI objects:
    /people/praveen.mayalur/blog/2007/05/31/configuration-of-cms-in-central-nwdi-sld-to-transport-xi-objects
    •     XI Software Logistics Solution III: CMS:
    /people/sap.india5/blog/2005/11/28/xi-software-logistics-solution-iii-cms
    Thnx
    Chirag

  • Need help in writin a trigger---Very Urgent

    Help me in creating the trigger with below specifications.
    "We want to reject record deletions where DATE_APPROVED_PROV is not null or NLA_PROV_DONE is not null
    We want to reject updates where (DATE_APPROVED_PROV is not null or NLA_PROV_DONE is not null)
    and
    (any of CAPEX or RFS or ALLOCATIONS or DEPR_START_DATE is different before update than it would be after update)"
    Defination of Table is below :
    CREATE TABLE ir_data
    (record_id NUMBER(12,0) NOT NULL,
    request_title VARCHAR2(255),
    cio VARCHAR2(30),
    host_country VARCHAR2(20),
    ben_project_name VARCHAR2(255),
    application VARCHAR2(80),
    req_summary VARCHAR2(500),
    external_ref VARCHAR2(255),
    submitted_by VARCHAR2(60),
    approved_by_prov VARCHAR2(60),
    date_approved_prov DATE,
    approved_by_final VARCHAR2(60),
    date_approved_final DATE,
    nla_prov_done DATE,
    nla_final_done DATE,
    cost_alloc_method VARCHAR2(255),
    capex NUMBER(12,0) DEFAULT 0,
    allocations NUMBER(12,0) DEFAULT 0,
    rfs NUMBER(12,0) DEFAULT 0,
    ben_budget_id VARCHAR2(20),
    delete_flag VARCHAR2(1),
    amortisation NUMBER(12,0) DEFAULT 0
    depr_start_date DATE,
    fy_allocations NUMBER(12,0),
    wusys VARCHAR2(1))

    Help me in creating the trigger with below
    specifications.
    "We want to reject record deletions where
    DATE_APPROVED_PROV is not null or NLA_PROV_DONE is
    not null
    We want to reject updates where (DATE_APPROVED_PROV
    is not null or NLA_PROV_DONE is not null)
    and
    (any of CAPEX or RFS or ALLOCATIONS or
    DEPR_START_DATE is different before update than it
    would be after update)"
    Defination of Table is below :
    CREATE TABLE ir_data
    (record_id NUMBER(12,0) NOT
    NULL,
    request_title VARCHAR2(255),
    cio VARCHAR2(30),
    host_country VARCHAR2(20),
    ben_project_name VARCHAR2(255),
    application VARCHAR2(80),
    req_summary VARCHAR2(500),
    external_ref VARCHAR2(255),
    submitted_by VARCHAR2(60),
    approved_by_prov VARCHAR2(60),
    date_approved_prov DATE,
    approved_by_final VARCHAR2(60),
    date_approved_final DATE,
    nla_prov_done DATE,
    nla_final_done DATE,
    cost_alloc_method VARCHAR2(255),
    capex NUMBER(12,0) DEFAULT
    0,
    allocations NUMBER(12,0)
    DEFAULT 0,
    rfs NUMBER(12,0)
    DEFAULT 0,
    ben_budget_id VARCHAR2(20),
    delete_flag VARCHAR2(1),
    amortisation NUMBER(12,0)
    DEFAULT 0
    depr_start_date DATE,
    fy_allocations NUMBER(12,0),
    wusys VARCHAR2(1))(any of CAPEX or RFS or ALLOCATIONS or DEPR_START_DATE is different before update than it would be after update)
    I think if any of these change during an update do something. Not sure what. Probably reject, because that is what the other 2 requirements are.
    Is this for an homework assignment?
    Jim P.

  • Urgent help needed: RFC messages from R3 system are not arriving to the XI

    Hello,
    We have a RFC to RFC scenario in which when we execute a function module it sends a message to XI through a sender RFC communication channel but the message is not coming to XI.
    I checked the TCP IP connection between R3 and XI the test connection is working fine.
    This scenario was working fine so far but since yesterday we are facing this problem.

    Hi Rajeev,
    in r/3 in transaction sm58 see the entries and see what error is happening to your RFC entries.
    in XI in RWB in comm channel monitoring, just check your sender RFC adapter......i think your sender rfc comm channel is in error.........rectify this comm chnnel error in ID...........save and activate everything..............then from r/3 reexucute your SM58 entry for RFC.
    Regards,
    Rajeev Gupta

Maybe you are looking for

  • Good Image Browser

    Hi all, Can anyone recommend an Image Browser for OS 9.x that works as well as ACDSee for the PC? Unfortunately, the version of ACDSee available for Mac is old and very limited. I'd like to be able to quickly flip through all the images in a folder a

  • Macbook Pro early 2009 connect to apple tv

    How can I connect my macbook pro (early 2009) to my apple tv?? I have no problem connecting my ipad 2 or iphone...any help or suggesting greatly appreciated...thanks

  • Entry Channel setup for multiple company codes

    Hello, I have a question regarding the entry channel setup (for external requirements in the Plan-Driven Procurement scenario) In previous implementations, I 've created an entry channel below each company code (as the documentation says it should be

  • Saving all projects and events to external hard drive

    I finished an iMovie project last night and published it to YouTube. Then, in order to free up space on my Hard Drive, I moved some of the events to a USB external drive because I figured I was finished with them as far as making my movie was concern

  • Where to find material for XI

    Can any body send me the links/docs for SAP XI Learning material like TBIT40 etc to my email [email protected] Thanks in advance.